aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/x509/ocsp.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2018-09-09 21:57:21 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2018-09-09 22:57:21 -0400
commit09403100de2f6f1cdd0d484dcb8e620f1c335c8f (patch)
treef128b1a1c5ad82e4c372091758fa65b6d6f1ed3b /src/cryptography/x509/ocsp.py
parent15827f1fcb7459aac7dbe43c373a826f69a09c0c (diff)
downloadcryptography-09403100de2f6f1cdd0d484dcb8e620f1c335c8f.tar.gz
cryptography-09403100de2f6f1cdd0d484dcb8e620f1c335c8f.tar.bz2
cryptography-09403100de2f6f1cdd0d484dcb8e620f1c335c8f.zip
OCSP request extension parsing (#4464)
* add OCSP request parsing support with OCSPNonce * add docs * reprs man * make extensions a cached property
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 95e7f35b..7535a0b3 100644
--- a/src/cryptography/x509/ocsp.py
+++ b/src/cryptography/x509/ocsp.py
@@ -108,6 +108,12 @@ class OCSPRequest(object):
Serializes the request to DER
"""
+ @abc.abstractproperty
+ def extensions(self):
+ """
+ The list of request extensions. Not single request extensions.
+ """
+
@six.add_metaclass(abc.ABCMeta)
class OCSPResponse(object):