aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/hazmat/backends/multibackend.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-08-06 12:37:10 +0100
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-08-06 12:38:40 +0100
commit1ae7653fcb027ddc0b201d50a011678c93186b11 (patch)
tree8a5d14ee9c1e43e873c035d66d97c07a9d375732 /src/cryptography/hazmat/backends/multibackend.py
parent304d9386d4a6e92325a0952b356f30e34562b446 (diff)
downloadcryptography-1ae7653fcb027ddc0b201d50a011678c93186b11.tar.gz
cryptography-1ae7653fcb027ddc0b201d50a011678c93186b11.tar.bz2
cryptography-1ae7653fcb027ddc0b201d50a011678c93186b11.zip
rename sign_x509_certificate backend method to create_x509_certificate
Diffstat (limited to 'src/cryptography/hazmat/backends/multibackend.py')
-rw-r--r--src/cryptography/hazmat/backends/multibackend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptography/hazmat/backends/multibackend.py b/src/cryptography/hazmat/backends/multibackend.py
index 8008989e..9db32aa5 100644
--- a/src/cryptography/hazmat/backends/multibackend.py
+++ b/src/cryptography/hazmat/backends/multibackend.py
@@ -352,9 +352,9 @@ class MultiBackend(object):
_Reasons.UNSUPPORTED_X509
)
- def sign_x509_certificate(self, builder, private_key, algorithm):
+ def create_x509_certificate(self, builder, private_key, algorithm):
for b in self._filtered_backends(X509Backend):
- return b.sign_x509_certificate(builder, private_key, algorithm)
+ return b.create_x509_certificate(builder, private_key, algorithm)
raise UnsupportedAlgorithm(
"This backend does not support X.509.",