File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/_internal/algorithms Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 22# Copyright (c) Microsoft Corporation.
33# Licensed under the MIT License.
44# ------------------------------------
5- import abc
6- import sys
7-
85from cryptography .hazmat .primitives import hashes
96from cryptography .hazmat .primitives .asymmetric import ec
107from cryptography .hazmat .primitives .asymmetric import utils
1310from ..transform import SignatureTransform
1411from ..._enums import SignatureAlgorithm as KeyVaultSignatureAlgorithm
1512
16- if sys .version_info < (3 , 3 ):
17- abstractproperty = abc .abstractproperty
18- else : # abc.abstractproperty is deprecated as of 3.3
19- import functools
20-
21- abstractproperty = functools .partial (property , abc .abstractmethod )
22-
2313
2414class _EcdsaSignatureTransform (SignatureTransform ):
2515 def __init__ (self , key , hash_algorithm ):
@@ -39,10 +29,6 @@ class _Ecdsa(SignatureAlgorithm):
3929 def create_signature_transform (self , key ):
4030 return _EcdsaSignatureTransform (key , self .default_hash_algorithm )
4131
42- @abstractproperty
43- def coordinate_length (self ):
44- pass
45-
4632
4733class Ecdsa256 (_Ecdsa ):
4834 _name = KeyVaultSignatureAlgorithm .es256_k
You can’t perform that action at this time.
0 commit comments