mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Add defaults to GCM.__init__ arguments (#6207)
This commit is contained in:
@@ -12,7 +12,6 @@ cryptography.hazmat.primitives.asymmetric.dsa.AsymmetricVerificationContext
|
||||
cryptography.hazmat.primitives.asymmetric.ec.AsymmetricVerificationContext
|
||||
cryptography.hazmat.primitives.asymmetric.rsa.AsymmetricVerificationContext
|
||||
cryptography.hazmat.primitives.ciphers.aead.AESCCM.__init__
|
||||
cryptography.hazmat.primitives.ciphers.modes.GCM.__init__
|
||||
cryptography.hazmat.primitives.cmac.CMAC.__init__
|
||||
cryptography.hazmat.primitives.hashes.BLAKE2b.__init__
|
||||
cryptography.hazmat.primitives.hashes.BLAKE2s.__init__
|
||||
|
||||
@@ -67,7 +67,7 @@ class ECB(Mode):
|
||||
def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: ...
|
||||
|
||||
class GCM(Mode, ModeWithInitializationVector, ModeWithAuthenticationTag):
|
||||
def __init__(self, initialization_vector: bytes, tag: bytes | None, min_tag_length: int | None) -> None: ...
|
||||
def __init__(self, initialization_vector: bytes, tag: bytes | None = ..., min_tag_length: int | None = ...) -> None: ...
|
||||
@property
|
||||
def initialization_vector(self) -> bytes: ...
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user