From a84c5cdab80730bfe708379d29a2e357541cc00b Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sat, 1 Dec 2018 12:26:54 +0800 Subject: allow multi-valued RDNs (#4616) RDNs can have multiple values. This allows them in FreshestCRL and upcoming IssuingDistributionPoint encoding support. --- tests/x509/test_x509.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'tests/x509') diff --git a/tests/x509/test_x509.py b/tests/x509/test_x509.py index 4ce4d958..15cfe43d 100644 --- a/tests/x509/test_x509.py +++ b/tests/x509/test_x509.py @@ -2598,6 +2598,23 @@ class TestCertificateBuilder(object): crl_issuer=None, ) ]), + x509.FreshestCRL([ + x509.DistributionPoint( + full_name=None, + relative_name=x509.RelativeDistinguishedName([ + x509.NameAttribute( + NameOID.COMMON_NAME, + u"indirect CRL for indirectCRL CA3" + ), + x509.NameAttribute( + NameOID.COUNTRY_NAME, + u"US" + ), + ]), + reasons=None, + crl_issuer=None, + ) + ]), ] ) def test_ext(self, add_ext, backend): -- cgit v1.2.3