mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 04:34:33 +08:00
cryptography: fix signature of ECDSA (#4049)
This commit is contained in:
1 parent
d11da2c5d1
commit
960c4eb42d
1 file changed
+1
-1
@@ -183,7 +183,7 @@ class EllipticCurveSignatureAlgorithm(metaclass=ABCMeta):
|
||||
class ECDH(object): ...
|
||||
|
||||
class ECDSA(EllipticCurveSignatureAlgorithm):
|
||||
def __init__(self, algorithm: HashAlgorithm): ...
|
||||
def __init__(self, algorithm: Union[HashAlgorithm, Prehashed]): ...
|
||||
@property
|
||||
def algorithm(self) -> Union[HashAlgorithm, Prehashed]: ...
|
||||
|
||||
|
||||
Reference in new issue
Block a user