aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/x509/ocsp.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2018-10-07 03:44:30 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2018-10-06 15:44:30 -0400
commitb8db66811158ea2222c866173dd6c772f93c74f1 (patch)
treedaf72b3ebe0731179e7de8d57ab3dc7be2a591f5 /src/cryptography/x509/ocsp.py
parent55c33109b92b0e8ec38e4d19f3f2c6c203a0694e (diff)
downloadcryptography-b8db66811158ea2222c866173dd6c772f93c74f1.tar.gz
cryptography-b8db66811158ea2222c866173dd6c772f93c74f1.tar.bz2
cryptography-b8db66811158ea2222c866173dd6c772f93c74f1.zip
add OCSP basic response extension parsing (#4479)
* add OCSP basic response extension parsing Just nonce for now. This does not support SINGLERESP extension parsing. * also raises on extensions for non-successful * empty commit
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 7907bcae..fbf11336 100644
--- a/src/cryptography/x509/ocsp.py
+++ b/src/cryptography/x509/ocsp.py
@@ -232,3 +232,9 @@ class OCSPResponse(object):
"""
The serial number of the cert whose status is being checked
"""
+
+ @abc.abstractproperty
+ def extensions(self):
+ """
+ The list of response extensions. Not single response extensions.
+ """