diff options
4 files changed, 64 insertions, 0 deletions
diff --git a/docs/development/test-vectors.rst b/docs/development/test-vectors.rst index 40331f89..3d49801d 100644 --- a/docs/development/test-vectors.rst +++ b/docs/development/test-vectors.rst @@ -184,6 +184,14 @@ Custom X.509 Vectors ``cRLIssuer``, and ``reasons`` data. * ``cdp_crl_issuer.pem`` - An RSA 1024 bit certificate containing a CRL distribution points extension with ``cRLIssuer`` data. +* ``cp_user_notice_with_notice_reference.pem`` - An RSA 2048 bit self-signed + certificate containing a certificate policies extension with a + notice reference in the user notice. +* ``cp_user_notice_with_explicit_text.pem`` - An RSA 2048 bit self-signed + certificate containing a certificate policies extension with explicit + text and no notice reference. +* ``cp_cps_uri.pem`` - An RSA 2048 bit self-signed certificate containing a + certificate policies extension with a CPS URI and no user notice. Custom X.509 Request Vectors ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/vectors/cryptography_vectors/x509/custom/cp_cps_uri.pem b/vectors/cryptography_vectors/x509/custom/cp_cps_uri.pem new file mode 100644 index 00000000..b8120080 --- /dev/null +++ b/vectors/cryptography_vectors/x509/custom/cp_cps_uri.pem @@ -0,0 +1,18 @@ +-----BEGIN CERTIFICATE----- +MIIC8TCCAdmgAwIBAgITBmsoYWX1PCELRmm8qB2WJ2QdDjANBgkqhkiG9w0BAQUF +ADASMRAwDgYDVQQDDAdQeUNBIENBMB4XDTE1MDUxMTE4NTc0NVoXDTE2MDUxMDE4 +NTc0NVowEjEQMA4GA1UEAwwHUHlDQSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEP +ADCCAQoCggEBAK3FTRITEY4b/Y1Uv4CtH61Y19TPxK2+H/XuqHwtYlPRyD35LLFE +S0wykf0V2m1DUmf9jQa9R63jBZxzCgJ/oIJzV28PgSg9P/Nn417fNASDduY2GPvY +uwwKXcLY2fBBFjBrz7z/5tyXCADjLDkzoUTzQlYPbhOrFU5QwaqlckXBgt/48GRD +ujoHy4RSMEDNjLUDgwx7Z/JK2ujbGJDguLRuBsHirk2h6xXEmSWxquKDXw4Nnakw +Bqp8kKhQ2xTSWXxabNps8FCBM4sC78gKgONy3lbYdHFt/2BU4yAMyowJwtDEYHCq +e1g4sVsB839Ol0SXb6vleXQ6dx+zbi8UzTsCAwEAAaNAMD4wPAYDVR0gBDUwMzAx +BgtghkgB4DkBAgMEATAiMCAGCCsGAQUFBwIBFhRodHRwOi8vb3RoZXIuY29tL2Nw +czANBgkqhkiG9w0BAQUFAAOCAQEADpZIjHvu02euPNI8nzzDufRXEnjrF09xc9pu +dxTjWU2mSVApXPmTDyWzOD+2HmsNKHRE6sWjca5qPDeDbGq4JOw+TzYq9eoqwK2S +h0QHUpg5ZaAmIJ1qe5/sNETH5RFlXrlzW9S0rwViLgUaJp6MreTdGZbxdpNsfdku +Nd+STz0MA/3ScbdUcj6uwQQ4JxQiTuPwD35pKwxfUzHjeTmqIEHDuCk17KqIRORd +beD3vFx0R5IQ3mQ69zSGY2AGB0A9oS0qQ2/Mh59A6xyjbPH3Rr7g5MW58PPTWp2F +SXkloy7Ze+doQ7wXE6PVmaeKz5qA9OGaCHIiC2iG9UcqWxfeWw== +-----END CERTIFICATE----- diff --git a/vectors/cryptography_vectors/x509/custom/cp_user_notice_with_explicit_text.pem b/vectors/cryptography_vectors/x509/custom/cp_user_notice_with_explicit_text.pem new file mode 100644 index 00000000..5c554d22 --- /dev/null +++ b/vectors/cryptography_vectors/x509/custom/cp_user_notice_with_explicit_text.pem @@ -0,0 +1,18 @@ +-----BEGIN CERTIFICATE----- +MIIC5DCCAcygAwIBAgITBmsoXdMU1JQ6vRGJby5SNWZ/cTANBgkqhkiG9w0BAQUF +ADASMRAwDgYDVQQDDAdQeUNBIENBMB4XDTE1MDUxMTE4NTY1N1oXDTE2MDUxMDE4 +NTY1N1owEjEQMA4GA1UEAwwHUHlDQSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEP +ADCCAQoCggEBAK3FTRITEY4b/Y1Uv4CtH61Y19TPxK2+H/XuqHwtYlPRyD35LLFE +S0wykf0V2m1DUmf9jQa9R63jBZxzCgJ/oIJzV28PgSg9P/Nn417fNASDduY2GPvY +uwwKXcLY2fBBFjBrz7z/5tyXCADjLDkzoUTzQlYPbhOrFU5QwaqlckXBgt/48GRD +ujoHy4RSMEDNjLUDgwx7Z/JK2ujbGJDguLRuBsHirk2h6xXEmSWxquKDXw4Nnakw +Bqp8kKhQ2xTSWXxabNps8FCBM4sC78gKgONy3lbYdHFt/2BU4yAMyowJwtDEYHCq +e1g4sVsB839Ol0SXb6vleXQ6dx+zbi8UzTsCAwEAAaMzMDEwLwYDVR0gBCgwJjAk +BgtghkgB4DkBAgMEATAVMBMGCCsGAQUFBwICMAcaBXRoaW5nMA0GCSqGSIb3DQEB +BQUAA4IBAQBryvzKUwmTCwvHomy1u73lG7fiQLYb5rSSUq0ungYMTuqP5qLuRQ2N +2JxqCTgbQX/GfyGx2X1dKDQOFkSFkArtnBxhxLodJhL2CGdZ9SwgH0ANu0oMz081 +zA4WvI6WUz00ni07vGtRHIFktVYvoo9oTneLBXeNfSUj4bnJ2ggI/luONnhOval2 +XBFwK7p7lFsgNKRYKptoTPMesRLDdlTEwG/1qEbaQ5rJg208oeIpPn1eG8OPeRL0 +wYQxjC8yxAvalAv4DrDFvl6N8v8DDgIz9aVPR4d4yBQq7BBQLx0+AoMZPUTnxSG8 +ngP92zj0Nma2+XfHV/h+Z9ffMhc8d7mQ +-----END CERTIFICATE----- diff --git a/vectors/cryptography_vectors/x509/custom/cp_user_notice_with_notice_reference.pem b/vectors/cryptography_vectors/x509/custom/cp_user_notice_with_notice_reference.pem new file mode 100644 index 00000000..7c9ae35e --- /dev/null +++ b/vectors/cryptography_vectors/x509/custom/cp_user_notice_with_notice_reference.pem @@ -0,0 +1,20 @@ +-----BEGIN CERTIFICATE----- +MIIDSDCCAjCgAwIBAgITBmsoTdhbDlV/BM8MX5MoDgxUQjANBgkqhkiG9w0BAQUF +ADASMRAwDgYDVQQDDAdQeUNBIENBMB4XDTE1MDUx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