diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-04-02 19:32:45 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-04-02 19:32:45 -0500 |
commit | c88bce554a2d8d3ef2d8ad951bb9a4305ce45400 (patch) | |
tree | 596d6f5cbcb0df57f85d2f56e63fc5b77de07205 | |
parent | c053129791404f5f03df2c2243878f08352fb88d (diff) | |
download | cryptography-c88bce554a2d8d3ef2d8ad951bb9a4305ce45400.tar.gz cryptography-c88bce554a2d8d3ef2d8ad951bb9a4305ce45400.tar.bz2 cryptography-c88bce554a2d8d3ef2d8ad951bb9a4305ce45400.zip |
add key usage vector with all 9 purposes set to true
-rw-r--r-- | docs/development/test-vectors.rst | 2 | ||||
-rw-r--r-- | vectors/cryptography_vectors/x509/custom/all_key_usages.pem | 18 |
2 files changed, 20 insertions, 0 deletions
diff --git a/docs/development/test-vectors.rst b/docs/development/test-vectors.rst index e2b621c3..5353b1d2 100644 --- a/docs/development/test-vectors.rst +++ b/docs/development/test-vectors.rst @@ -132,6 +132,8 @@ Custom X.509 Vectors a subject alternative name extension with the ``otherName`` general name. * ``san_registered_id.pem`` - An RSA 1024 bit certificate containing a subject alternative name extension with the ``registeredID`` general name. +* ``all_key_usages.pem`` - An RSA 2048 bit self-signed certificate containing + a key usage extension with all nine purposes set to true. Custom X.509 Request Vectors ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/vectors/cryptography_vectors/x509/custom/all_key_usages.pem b/vectors/cryptography_vectors/x509/custom/all_key_usages.pem new file mode 100644 index 00000000..e24caf28 --- /dev/null +++ b/vectors/cryptography_vectors/x509/custom/all_key_usages.pem @@ -0,0 +1,18 @@ +-----BEGIN CERTIFICATE----- +MIIC6TCCAdGgAwIBAgITBmdJiX54UcRwde48tbHzferkszANBgkqhkiG9w0BAQUF +ADAmMRUwEwYDVQQDDAxjcnlwdG9ncmFwaHkxDTALBgNVBAoMBFB5Q0EwHhcNMTUw +NDAyMTg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