mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-03 01:53:24 +08:00
cryptography: fix signature of ECDSA (#4049)
This commit is contained in:
@@ -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