From 8c234d10b712de3b72df168c19cd06f246415091 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Fri, 15 May 2015 09:27:22 -0700 Subject: add extensions to the interface for Certificate --- src/cryptography/x509.py | 6 ++++++ 1 file changed, 6 insertions(+) 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): """ -- cgit v1.2.3