diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-08-01 20:45:08 +0100 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-08-01 20:45:08 +0100 |
commit | 0f984369c0f58f0d5db5cb1a6927b550afc89027 (patch) | |
tree | 38423c8d9b7c8dcace1b92a2520348ba4b3f17f1 | |
parent | 0cfb17936ebb9bbfcb9a13e21f2437da4112176f (diff) | |
download | cryptography-0f984369c0f58f0d5db5cb1a6927b550afc89027.tar.gz cryptography-0f984369c0f58f0d5db5cb1a6927b550afc89027.tar.bz2 cryptography-0f984369c0f58f0d5db5cb1a6927b550afc89027.zip |
add test vector from #2183
-rw-r--r-- | docs/development/test-vectors.rst | 2 | ||||
-rw-r--r-- | vectors/cryptography_vectors/x509/custom/cp_invalid.pem | 16 |
2 files changed, 18 insertions, 0 deletions
diff --git a/docs/development/test-vectors.rst b/docs/development/test-vectors.rst index ea44a46c..d400e662 100644 --- a/docs/development/test-vectors.rst +++ b/docs/development/test-vectors.rst @@ -233,6 +233,8 @@ Custom X.509 Vectors * ``cp_user_notice_no_explicit_text.pem`` - An RSA 2048 bit self-signed certificate containing a certificate policies extension with a user notice with no explicit text. +* ``cp_invalid.pem`` - An RSA 2048 bit self-signed certificate containing a + certificate policies extension with invalid data. * ``ian_uri.pem`` - An RSA 2048 bit certificate containing an issuer alternative name extension with a ``URI`` general name. * ``ocsp_nocheck.pem`` - An RSA 2048 bit self-signed certificate containing diff --git a/vectors/cryptography_vectors/x509/custom/cp_invalid.pem b/vectors/cryptography_vectors/x509/custom/cp_invalid.pem new file mode 100644 index 00000000..b7bcc079 --- /dev/null +++ b/vectors/cryptography_vectors/x509/custom/cp_invalid.pem @@ -0,0 +1,16 @@ +-----BEGIN CERTIFICATE----- +MIIC8TCCAdmgAwIBAgITBmsoYWX1PCELRmm8qB2WJ2QdDjANBgkqhkiG9w0BAQUFADASMRAwDgYD +VQQDDAdQeUNBIENBMB4XDTE1MDUxMTE4NTc0NVo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