cryptography.hazmat.primitives.asymmetric
cryptography.hazmat.primitives
This module has no docstring.
with_traceback(...) Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
exchange(self, peer_public_key: cryptography.hazmat.primitives.asymmetric.x25519.X25519PublicKey) -> bytes Performs a key exchange operation using the provided peer's public key.
from_private_bytes(data: bytes) -> 'X25519PrivateKey'
generate() -> 'X25519PrivateKey'
private_bytes(self, encoding: cryptography.hazmat.primitives._serialization.Encoding, format: cryptography.hazmat.primitives._serialization.PrivateFormat, encryption_algorithm: cryptography.hazmat.primitives._serialization.KeySerializationEncryption) -> bytes The serialized bytes of the private key.
public_key(self) -> cryptography.hazmat.primitives.asymmetric.x25519.X25519PublicKey The serialized bytes of the public key.
from_public_bytes(data: bytes) -> 'X25519PublicKey'
public_bytes(self, encoding: cryptography.hazmat.primitives._serialization.Encoding, format: cryptography.hazmat.primitives._serialization.PublicFormat) -> bytes The serialized bytes of the public key.