aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-11-24 17:13:59 -1000
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-11-24 17:13:59 -1000
commit8473df6d553a2e0bf790b613c2818beb4bd2f416 (patch)
treed3fb99652eaf589385da5eaa74c4547f912b81a1 /src
parentf0e05bb7711f3c04a96f3bc924588ecfa838d41d (diff)
downloadcryptography-8473df6d553a2e0bf790b613c2818beb4bd2f416.tar.gz
cryptography-8473df6d553a2e0bf790b613c2818beb4bd2f416.tar.bz2
cryptography-8473df6d553a2e0bf790b613c2818beb4bd2f416.zip
add load_der_x509_certificate X509Backend method
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/hazmat/backends/interfaces.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/backends/interfaces.py b/src/cryptography/hazmat/backends/interfaces.py
index dcdd1c39..8fc78309 100644
--- a/src/cryptography/hazmat/backends/interfaces.py
+++ b/src/cryptography/hazmat/backends/interfaces.py
@@ -259,3 +259,9 @@ class X509Backend(object):
"""
Load an X.509 certificate from PEM encoded data.
"""
+
+ @abc.abstractmethod
+ def load_der_x509_certificate(self, data):
+ """
+ Load an X.509 certificate from DER encoded data.
+ """