diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-05-15 14:01:38 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-05-15 14:01:38 -0400 |
commit | 706d2665449e08e59f8bdc600487fea09a9dfbf4 (patch) | |
tree | 578b1adad50ca4c63ecb92d0684e674b6fa01ed1 /src | |
parent | f9531ada2f09accdb42156bca7917af5266220c6 (diff) | |
parent | 8c234d10b712de3b72df168c19cd06f246415091 (diff) | |
download | cryptography-706d2665449e08e59f8bdc600487fea09a9dfbf4.tar.gz cryptography-706d2665449e08e59f8bdc600487fea09a9dfbf4.tar.bz2 cryptography-706d2665449e08e59f8bdc600487fea09a9dfbf4.zip |
Merge pull request #1960 from reaperhulk/x509-cert-interface-expansion
add extensions to the interface for Certificate
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptography/x509.py | 6 |
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): """ |