aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2019-11-11 13:40:11 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2019-11-11 00:40:11 -0500
commit2e86983a77d02a38ef0485ebe7ab05c1c98a7685 (patch)
treed871fb70f5313bbd3919fe2f594890dd183521f2 /docs
parentc7ba7be8fe67c099339fcbcd90012fc257308628 (diff)
downloadcryptography-2e86983a77d02a38ef0485ebe7ab05c1c98a7685.tar.gz
cryptography-2e86983a77d02a38ef0485ebe7ab05c1c98a7685.tar.bz2
cryptography-2e86983a77d02a38ef0485ebe7ab05c1c98a7685.zip
Parse single_extensions in OCSP responses (#5059)
* add single_extensions to OCSPResponse (#4753) * new vector, updateed docs, more stringent parser, changelog, etc * simplify PR (no SCT for now) * add a comment * finish pulling out the sct stuff so tests might actually run
Diffstat (limited to 'docs')
-rw-r--r--docs/development/test-vectors.rst2
-rw-r--r--docs/x509/ocsp.rst8
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/development/test-vectors.rst b/docs/development/test-vectors.rst
index 9976d138..5b20b827 100644
--- a/docs/development/test-vectors.rst
+++ b/docs/development/test-vectors.rst
@@ -517,6 +517,8 @@ X.509 OCSP Test Vectors
contains a revoked certificate and no ``nextUpdate`` value.
* ``x509/ocsp/resp-invalid-signature-oid.der`` - An OCSP response that was
modified to contain an MD2 signature algorithm object identifier.
+* ``x509/ocsp/resp-single-extension-reason.der`` - An OCSP response that
+ contains a ``CRLReason`` single extension.
Custom X.509 OCSP Test Vectors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/docs/x509/ocsp.rst b/docs/x509/ocsp.rst
index e28c05a7..80ff9908 100644
--- a/docs/x509/ocsp.rst
+++ b/docs/x509/ocsp.rst
@@ -601,6 +601,14 @@ Interfaces
The extensions encoded in the response.
+ .. attribute:: single_extensions
+
+ .. versionadded:: 2.9
+
+ :type: :class:`~cryptography.x509.Extensions`
+
+ The single extensions encoded in the response.
+
.. method:: public_bytes(encoding)
:param encoding: The encoding to use. Only