aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/x509.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/x509.py b/src/cryptography/x509.py
index b58166f6..6c9cd562 100644
--- a/src/cryptography/x509.py
+++ b/src/cryptography/x509.py
@@ -682,7 +682,7 @@ class SubjectKeyIdentifier(object):
self._digest = digest
@classmethod
- def create_from_public_key(cls, public_key):
+ def from_public_key(cls, public_key):
# This is a very slow way to do this.
serialized = public_key.public_bytes(
serialization.Encoding.DER,