diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-01-03 18:45:04 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-01-04 10:22:03 -0600 |
commit | 10831a042e384861da42f2d8a27f8e2e3d386788 (patch) | |
tree | e7e8277140dd3766123f140ece10d944f60c8a43 /docs | |
parent | fc89b5512782ce3beee64c039512991bba7e1e1c (diff) | |
download | cryptography-10831a042e384861da42f2d8a27f8e2e3d386788.tar.gz cryptography-10831a042e384861da42f2d8a27f8e2e3d386788.tar.bz2 cryptography-10831a042e384861da42f2d8a27f8e2e3d386788.zip |
add DER asymmetric keys
Diffstat (limited to 'docs')
-rw-r--r-- | docs/development/test-vectors.rst | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/docs/development/test-vectors.rst b/docs/development/test-vectors.rst index f59a3552..bdb20466 100644 --- a/docs/development/test-vectors.rst +++ b/docs/development/test-vectors.rst @@ -37,29 +37,40 @@ Asymmetric ciphers Custom Asymmetric Vectors ~~~~~~~~~~~~~~~~~~~~~~~~~ -* ``asymmetric/PEM_Serialization/ec_private_key.pem`` - Contains an Elliptic +* ``asymmetric/PEM_Serialization/ec_private_key.pem`` and + ``asymmetric/DER_Serialization/ec_private_key.der`` - Contains an Elliptic Curve key generated by OpenSSL from the curve ``secp256r1``. -* ``asymmetric/PEM_Serialization/ec_private_key_encrypted.pem`` - Contains the +* ``asymmetric/PEM_Serialization/ec_private_key_encrypted.pem`` and + ``asymmetric/DER_Serialization/ec_private_key_encrypted.der``- Contains the same Elliptic Curve key as ``ec_private_key.pem``, except that it is encrypted with AES-128 with the password "123456". -* ``asymmetric/PEM_Serialization/ec_public_key.pem`` - Contains the public key +* ``asymmetric/PEM_Serialization/ec_public_key.pem`` and + ``asymmetric/DER_Serialization/ec_public_key.der``- Contains the public key corresponding to ``ec_private_key.pem``, generated using OpenSSL. * ``asymmetric/PEM_Serialization/rsa_private_key.pem`` - Contains an RSA 2048 bit key generated using OpenSSL, protected by the secret "123456" with DES3 encryption. -* ``asymmetric/PEM_Serialization/rsa_public_key.pem`` - Contains an RSA 2048 +* ``asymmetric/PEM_Serialization/rsa_public_key.pem`` and + ``asymmetric/DER_Serialization/rsa_public_key.der``- Contains an RSA 2048 bit public generated using OpenSSL from ``rsa_private_key.pem``. * ``asymmetric/PEM_Serialization/dsaparam.pem`` - Contains 2048-bit DSA parameters generated using OpenSSL; contains no keys. * ``asymmetric/PEM_Serialization/dsa_private_key.pem`` - Contains a DSA 2048 bit key generated using OpenSSL from the parameters in ``dsaparam.pem``, protected by the secret "123456" with DES3 encryption. -* ``asymmetric/PEM_Serialization/dsa_public_key.pem`` - Contains a DSA 2048 bit +* ``asymmetric/PEM_Serialization/dsa_public_key.pem`` and + ``asymmetric/DER_Serialization/dsa_public_key.der`` - Contains a DSA 2048 bit key generated using OpenSSL from ``dsa_private_key.pem``. -* ``asymmetric/PEM_Serialization/unenc-dsa-pkcs8.pem`` - Contains a DSA 1024 +* ``asymmetric/PEM_Serialization/unenc-dsa-pkcs8.pem`` and + ``asymmetric/DER_Serialization/unenc-dsa-pkcs8.der`` - Contains a DSA 1024 bit key generated using OpenSSL. -* ``asymmetric/PEM_Serialization/unenc-dsa-pkcs8.pub.pem`` - Contains a DSA +* ``asymmetric/PEM_Serialization/unenc-dsa-pkcs8.pub.pem`` and + ``asymmetric/DER_Serialization/unenc-dsa-pkcs8.pub.der`` - Contains a DSA 2048 bit public key generated using OpenSSL from ``unenc-dsa-pkcs8.pem``. +* DER conversions of the `GnuTLS example keys`_ for DSA as well as the + `OpenSSL example key`_ for RSA. +* DER conversions of `enc-rsa-pkcs8.pem`_, `enc2-rsa-pkcs8.pem`_, and + `unenc-rsa-pkcs8.pem`_. X.509 |