aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-05-15 09:27:22 -0700
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-05-15 09:36:05 -0700
commit8c234d10b712de3b72df168c19cd06f246415091 (patch)
tree01f954fb2499a9daf24c739685360be9e9896b76
parenteb5efa92f814ac5eb7362f7be1cb373af9e59f0c (diff)
downloadcryptography-8c234d10b712de3b72df168c19cd06f246415091.tar.gz
cryptography-8c234d10b712de3b72df168c19cd06f246415091.tar.bz2
cryptography-8c234d10b712de3b72df168c19cd06f246415091.zip
add extensions to the interface for Certificate
-rw-r--r--src/cryptography/x509.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cryptography/x509.py b/src/cryptography/x509.py
index 71ba9042..ec2092bb 100644
--- a/src/cryptography/x509.py
+++ b/src/cryptography/x509.py
@@ -1125,6 +1125,12 @@ class Certificate(object):
in the certificate.
"""
+ @abc.abstractproperty
+ def extensions(self):
+ """
+ Returns an Extensions object.
+ """
+
@abc.abstractmethod
def __eq__(self, other):
"""