diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptography/hazmat/backends/openssl/dsa.py | 2 | ||||
-rw-r--r-- | src/cryptography/hazmat/primitives/interfaces/__init__.py | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/cryptography/hazmat/backends/openssl/dsa.py b/src/cryptography/hazmat/backends/openssl/dsa.py index 43c077dd..5d7ca38c 100644 --- a/src/cryptography/hazmat/backends/openssl/dsa.py +++ b/src/cryptography/hazmat/backends/openssl/dsa.py @@ -173,7 +173,7 @@ class _DSAPrivateKey(object): ) -@utils.register_interface(dsa.DSAPublicKeyWithNumbers) +@utils.register_interface(dsa.DSAPublicKeyWithSerialization) class _DSAPublicKey(object): def __init__(self, backend, dsa_cdata): self._backend = backend diff --git a/src/cryptography/hazmat/primitives/interfaces/__init__.py b/src/cryptography/hazmat/primitives/interfaces/__init__.py index 1e7b1215..c980e5a5 100644 --- a/src/cryptography/hazmat/primitives/interfaces/__init__.py +++ b/src/cryptography/hazmat/primitives/interfaces/__init__.py @@ -141,7 +141,7 @@ EllipticCurvePrivateKey = utils.deprecated( EllipticCurvePrivateKeyWithNumbers = utils.deprecated( - ec.EllipticCurvePrivateKeyWithNumbers, + ec.EllipticCurvePrivateKeyWithSerialization, __name__, ( "The EllipticCurvePrivateKeyWithNumbers interface has moved to the " @@ -163,7 +163,7 @@ EllipticCurvePublicKey = utils.deprecated( EllipticCurvePublicKeyWithNumbers = utils.deprecated( - ec.EllipticCurvePublicKeyWithNumbers, + ec.EllipticCurvePublicKeyWithSerialization, __name__, ( "The EllipticCurvePublicKeyWithNumbers interface has moved to the " @@ -215,7 +215,7 @@ DSAPrivateKey = utils.deprecated( ) DSAPrivateKeyWithNumbers = utils.deprecated( - dsa.DSAPrivateKeyWithNumbers, + dsa.DSAPrivateKeyWithSerialization, __name__, ( "The DSAPrivateKeyWithNumbers interface has moved to the " @@ -235,7 +235,7 @@ DSAPublicKey = utils.deprecated( ) DSAPublicKeyWithNumbers = utils.deprecated( - dsa.DSAPublicKeyWithNumbers, + dsa.DSAPublicKeyWithSerialization, __name__, ( "The DSAPublicKeyWithNumbers interface has moved to the " @@ -310,7 +310,7 @@ RSAPublicKey = utils.deprecated( ) RSAPublicKeyWithNumbers = utils.deprecated( - rsa.RSAPublicKeyWithNumbers, + rsa.RSAPublicKeyWithSerialization, __name__, ( "The RSAPublicKeyWithNumbers interface has moved to the " |