aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/x509/ocsp.py
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 /src/cryptography/x509/ocsp.py
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 'src/cryptography/x509/ocsp.py')
-rw-r--r--src/cryptography/x509/ocsp.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cryptography/x509/ocsp.py b/src/cryptography/x509/ocsp.py
index b15063d1..fb357334 100644
--- a/src/cryptography/x509/ocsp.py
+++ b/src/cryptography/x509/ocsp.py
@@ -427,3 +427,9 @@ class OCSPResponse(object):
"""
The list of response extensions. Not single response extensions.
"""
+
+ @abc.abstractproperty
+ def single_extensions(self):
+ """
+ The list of single response extensions. Not response extensions.
+ """