aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-06 20:47:06 -0430
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-06 20:47:06 -0430
commita372db375a34b57fe8efba331b548247a3c42d1a (patch)
tree44dfb9dde90db993f6ed31e9306be719dbefa28b /docs
parent40087ae7bde2b2455491f98a33c7fef580284ee5 (diff)
parentfbda8ce83d8aa774bbd5438dfd98def87585df3b (diff)
downloadcryptography-a372db375a34b57fe8efba331b548247a3c42d1a.tar.gz
cryptography-a372db375a34b57fe8efba331b548247a3c42d1a.tar.bz2
cryptography-a372db375a34b57fe8efba331b548247a3c42d1a.zip
Merge pull request #2670 from joernheissler/x509_req_verify
Add verify method on CertificateSigningRequest
Diffstat (limited to 'docs')
-rw-r--r--docs/development/test-vectors.rst6
-rw-r--r--docs/x509/reference.rst6
2 files changed, 10 insertions, 2 deletions
diff --git a/docs/development/test-vectors.rst b/docs/development/test-vectors.rst
index 4d284197..5bb4eefc 100644
--- a/docs/development/test-vectors.rst
+++ b/docs/development/test-vectors.rst
@@ -283,7 +283,7 @@ Custom X.509 Request Vectors
request using RSA and SHA1 with a subject alternative name extension
generated using OpenSSL.
* ``two_basic_constraints.pem`` - A certificate signing request
- for a RSA 2048 bit key containing two basic constraints extensions.
+ for an RSA 2048 bit key containing two basic constraints extensions.
* ``unsupported_extension.pem`` - A certificate signing request
for an RSA 2048 bit key containing containing an unsupported
extension type. The OID was encoded as "1.2.3.4" with an
@@ -292,9 +292,11 @@ Custom X.509 Request Vectors
request for an RSA 2048 bit key containing containing an unsupported
extension type marked critical. The OID was encoded as "1.2.3.4"
with an ``extnValue`` of "value".
-* ``basic_constraints.pem`` - A certificate signing request for a RSA
+* ``basic_constraints.pem`` - A certificate signing request for an RSA
2048 bit key containing a basic constraints extension marked as
critical.
+* ``invalid_signature.pem`` - A certificate signing request for an RSA
+ 1024 bit key containing an invalid signature with correct padding.
Custom X.509 Certificate Revocation List Vectors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index 529578ba..67427ddb 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -761,6 +761,12 @@ X.509 CSR (Certificate Signing Request) Object
key embedded in the CSR). This data may be used to validate the CSR
signature.
+ .. attribute:: is_signature_valid
+
+ .. versionadded:: 1.3
+
+ Returns True if the CSR signature is correct, False otherwise.
+
X.509 Certificate Revocation List Builder
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~