diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-02-12 18:22:50 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-02-12 18:22:50 -0500 |
commit | a9c131789609d0d4340624435ae6ca794f225203 (patch) | |
tree | 8f751453962206bb53b24f59e519e1b1fa729f59 /src | |
parent | b41c80b0cfa4fd9a14016c81557776cc01feedba (diff) | |
parent | 13b6aff79d8d776968e7613b962b36ac895750cd (diff) | |
download | cryptography-a9c131789609d0d4340624435ae6ca794f225203.tar.gz cryptography-a9c131789609d0d4340624435ae6ca794f225203.tar.bz2 cryptography-a9c131789609d0d4340624435ae6ca794f225203.zip |
Merge pull request #1655 from reaperhulk/x509-interface-what
remove unused X509 certificate interface
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptography/hazmat/primitives/interfaces/__init__.py | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/cryptography/hazmat/primitives/interfaces/__init__.py b/src/cryptography/hazmat/primitives/interfaces/__init__.py index 69593b4c..a2154df5 100644 --- a/src/cryptography/hazmat/primitives/interfaces/__init__.py +++ b/src/cryptography/hazmat/primitives/interfaces/__init__.py @@ -377,42 +377,3 @@ class MACContext(object): # DeprecatedIn07 CMACContext = MACContext - - -@six.add_metaclass(abc.ABCMeta) -class X509Certificate(object): - @abc.abstractmethod - def fingerprint(self, algorithm): - """ - Returns bytes using digest passed. - """ - - @abc.abstractproperty - def serial(self): - """ - Returns certificate serial number - """ - - @abc.abstractproperty - def version(self): - """ - Returns the certificate version - """ - - @abc.abstractmethod - def public_key(self): - """ - Returns the public key - """ - - @abc.abstractproperty - def not_valid_before(self): - """ - Not before time (represented as UTC datetime) - """ - - @abc.abstractproperty - def not_valid_after(self): - """ - Not after time (represented as UTC datetime) - """ |