From d4a7f062d7dc9330fb701086dd06ac81a5b1e3d5 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Wed, 5 Aug 2015 18:32:18 +0100 Subject: rename to classmethod to from_public_key --- src/cryptography/x509.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3