aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-03-30 15:15:00 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-03-30 15:15:00 -0500
commit89e4c95c5a51db905a5744f71e70969a249ea010 (patch)
tree21962c0c1b7da48728b066dd7bf1e3d2786d233a
parentdc257deba145ed0a1f109730e989113cc4ad6d65 (diff)
downloadcryptography-89e4c95c5a51db905a5744f71e70969a249ea010.tar.gz
cryptography-89e4c95c5a51db905a5744f71e70969a249ea010.tar.bz2
cryptography-89e4c95c5a51db905a5744f71e70969a249ea010.zip
add DER CSR vectors
-rw-r--r--docs/development/test-vectors.rst20
-rw-r--r--vectors/cryptography_vectors/x509/requests/dsa_sha1.derbin0 -> 604 bytes
-rw-r--r--vectors/cryptography_vectors/x509/requests/ec_sha256.derbin0 -> 339 bytes
-rw-r--r--vectors/cryptography_vectors/x509/requests/rsa_md4.derbin0 -> 672 bytes
-rw-r--r--vectors/cryptography_vectors/x509/requests/rsa_sha1.derbin0 -> 672 bytes
-rw-r--r--vectors/cryptography_vectors/x509/requests/rsa_sha256.derbin0 -> 672 bytes
6 files changed, 10 insertions, 10 deletions
diff --git a/docs/development/test-vectors.rst b/docs/development/test-vectors.rst
index ea6c95eb..9565e0ba 100644
--- a/docs/development/test-vectors.rst
+++ b/docs/development/test-vectors.rst
@@ -136,16 +136,16 @@ Custom X.509 Vectors
Custom X.509 Request Vectors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-* ``dsa_sha1.pem`` - Contains a certificate request using 1024-bit DSA
- parameters and SHA1 generated using OpenSSL.
-* ``rsa_md4.pem`` - Contains a certificate request using 2048 bit RSA and MD4
- generated using OpenSSL.
-* ``rsa_sha1.pem`` - Contains a certificate request using 2048 bit RSA and
- SHA1 generated using OpenSSL.
-* ``rsa_sha256.pem`` - Contains a certificate request using 2048 bit RSA and
- SHA256 generated using OpenSSL.
-* ``ec_sha256.pem`` - Contains a certificate request using EC (``secp384r1``)
- and SHA256 generated using OpenSSL.
+* ``dsa_sha1.pem`` and ``dsa_sha1.der`` - Contain a certificate request using
+ 1024-bit DSA parameters and SHA1 generated using OpenSSL.
+* ``rsa_md4.pem`` and ``rsa_md4.der`` - Contain a certificate request using
+ 2048 bit RSA and MD4 generated using OpenSSL.
+* ``rsa_sha1.pem`` and ``rsa_sha1.der`` - Contain a certificate request using
+ 2048 bit RSA and SHA1 generated using OpenSSL.
+* ``rsa_sha256.pem`` and ``rsa_sha256.der`` - Contain a certificate request
+ using 2048 bit RSA and SHA256 generated using OpenSSL.
+* ``ec_sha256.pem`` and ``ec_sha256.der`` - Contain a certificate request
+ using EC (``secp384r1``) and SHA256 generated using OpenSSL.
Hashes
~~~~~~
diff --git a/vectors/cryptography_vectors/x509/requests/dsa_sha1.der b/vectors/cryptography_vectors/x509/requests/dsa_sha1.der
new file mode 100644
index 00000000..35276d58
--- /dev/null
+++ b/vectors/cryptography_vectors/x509/requests/dsa_sha1.der
Binary files differ
diff --git a/vectors/cryptography_vectors/x509/requests/ec_sha256.der b/vectors/cryptography_vectors/x509/requests/ec_sha256.der
new file mode 100644
index 00000000..3a0cde2f
--- /dev/null
+++ b/vectors/cryptography_vectors/x509/requests/ec_sha256.der
Binary files differ
diff --git a/vectors/cryptography_vectors/x509/requests/rsa_md4.der b/vectors/cryptography_vectors/x509/requests/rsa_md4.der
new file mode 100644
index 00000000..e9a3e953
--- /dev/null
+++ b/vectors/cryptography_vectors/x509/requests/rsa_md4.der
Binary files differ
diff --git a/vectors/cryptography_vectors/x509/requests/rsa_sha1.der b/vectors/cryptography_vectors/x509/requests/rsa_sha1.der
new file mode 100644
index 00000000..5bd63147
--- /dev/null
+++ b/vectors/cryptography_vectors/x509/requests/rsa_sha1.der
Binary files differ
diff --git a/vectors/cryptography_vectors/x509/requests/rsa_sha256.der b/vectors/cryptography_vectors/x509/requests/rsa_sha256.der
new file mode 100644
index 00000000..5c197754
--- /dev/null
+++ b/vectors/cryptography_vectors/x509/requests/rsa_sha256.der
Binary files differ