💾 Archived View for tris.fyi › pydoc › cryptography.hazmat.primitives.asymmetric.dsa captured on 2023-01-29 at 04:20:54. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-07-16)
-=-=-=-=-=-=-
cryptography.hazmat.primitives.asymmetric
cryptography.hazmat.primitives
This module has no docstring.
parameters(self, backend: Any = None) -> cryptography.hazmat.primitives.asymmetric.dsa.DSAParameters
g = <property object at 0x7f75e311f330>
p = <property object at 0x7f75e311f2e0>
q = <property object at 0x7f75e311f240>
generate_private_key(self) -> 'DSAPrivateKey' Generates and returns a DSAPrivateKey.
parameter_numbers(self) -> 'DSAParameterNumbers' Returns a DSAParameterNumbers.
generate_private_key(self) -> 'DSAPrivateKey' Generates and returns a DSAPrivateKey.
parameter_numbers(self) -> 'DSAParameterNumbers' Returns a DSAParameterNumbers.
parameters(self) -> cryptography.hazmat.primitives.asymmetric.dsa.DSAParameters The DSAParameters object associated with this private key.
private_bytes(self, encoding: cryptography.hazmat.primitives._serialization.Encoding, format: cryptography.hazmat.primitives._serialization.PrivateFormat, encryption_algorithm: cryptography.hazmat.primitives._serialization.KeySerializationEncryption) -> bytes Returns the key serialized as bytes.
private_numbers(self) -> 'DSAPrivateNumbers' Returns a DSAPrivateNumbers.
public_key(self) -> 'DSAPublicKey' The DSAPublicKey associated with this private key.
sign(self, data: bytes, algorithm: Union[cryptography.hazmat.primitives.asymmetric.utils.Prehashed, cryptography.hazmat.primitives.hashes.HashAlgorithm]) -> bytes Signs the data
key_size = <abc.abstractproperty object at 0x7f75e3119ea0> The bit length of the prime modulus.
parameters(self) -> cryptography.hazmat.primitives.asymmetric.dsa.DSAParameters The DSAParameters object associated with this private key.
private_bytes(self, encoding: cryptography.hazmat.primitives._serialization.Encoding, format: cryptography.hazmat.primitives._serialization.PrivateFormat, encryption_algorithm: cryptography.hazmat.primitives._serialization.KeySerializationEncryption) -> bytes Returns the key serialized as bytes.
private_numbers(self) -> 'DSAPrivateNumbers' Returns a DSAPrivateNumbers.
public_key(self) -> 'DSAPublicKey' The DSAPublicKey associated with this private key.
sign(self, data: bytes, algorithm: Union[cryptography.hazmat.primitives.asymmetric.utils.Prehashed, cryptography.hazmat.primitives.hashes.HashAlgorithm]) -> bytes Signs the data
key_size = <abc.abstractproperty object at 0x7f75e3119ea0> The bit length of the prime modulus.
private_key(self, backend: Any = None) -> cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey
public_numbers = <property object at 0x7f75e311f650>
x = <property object at 0x7f75e311f600>
parameters(self) -> cryptography.hazmat.primitives.asymmetric.dsa.DSAParameters The DSAParameters object associated with this public key.
public_bytes(self, encoding: cryptography.hazmat.primitives._serialization.Encoding, format: cryptography.hazmat.primitives._serialization.PublicFormat) -> bytes Returns the key serialized as bytes.
public_numbers(self) -> 'DSAPublicNumbers' Returns a DSAPublicNumbers.
verify(self, signature: bytes, data: bytes, algorithm: Union[cryptography.hazmat.primitives.asymmetric.utils.Prehashed, cryptography.hazmat.primitives.hashes.HashAlgorithm]) -> None Verifies the signature of the data.
key_size = <abc.abstractproperty object at 0x7f75e311a020> The bit length of the prime modulus.
parameters(self) -> cryptography.hazmat.primitives.asymmetric.dsa.DSAParameters The DSAParameters object associated with this public key.
public_bytes(self, encoding: cryptography.hazmat.primitives._serialization.Encoding, format: cryptography.hazmat.primitives._serialization.PublicFormat) -> bytes Returns the key serialized as bytes.
public_numbers(self) -> 'DSAPublicNumbers' Returns a DSAPublicNumbers.
verify(self, signature: bytes, data: bytes, algorithm: Union[cryptography.hazmat.primitives.asymmetric.utils.Prehashed, cryptography.hazmat.primitives.hashes.HashAlgorithm]) -> None Verifies the signature of the data.
key_size = <abc.abstractproperty object at 0x7f75e311a020> The bit length of the prime modulus.
public_key(self, backend: Any = None) -> cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey
parameter_numbers = <property object at 0x7f75e311f470>
y = <property object at 0x7f75e311f420>
generate_parameters(key_size: int, backend: Any = None) -> cryptography.hazmat.primitives.asymmetric.dsa.DSAParameters
generate_private_key(key_size: int, backend: Any = None) -> cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey