aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-08-05 18:32:18 +0100
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-08-05 18:32:18 +0100
commitd4a7f062d7dc9330fb701086dd06ac81a5b1e3d5 (patch)
tree41881d81d4ec27a19e846d7af5c110a6c3eae651 /src
parentf22f61234470bd5c86c80ae409b2698d2a2da1a5 (diff)
downloadcryptography-d4a7f062d7dc9330fb701086dd06ac81a5b1e3d5.tar.gz
cryptography-d4a7f062d7dc9330fb701086dd06ac81a5b1e3d5.tar.bz2
cryptography-d4a7f062d7dc9330fb701086dd06ac81a5b1e3d5.zip
rename to classmethod to from_public_key
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,