💾 Archived View for tris.fyi › pydoc › cryptography.hazmat.backends.openssl.x25519 captured on 2023-01-29 at 04:23:05. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-01-08)

🚧 View Differences

-=-=-=-=-=-=-

Back to module index

Go to module by name

cryptography.hazmat.backends.openssl

cryptography.hazmat.backends

cryptography.hazmat

cryptography

cryptography.hazmat.backends.openssl.x25519

This module has no docstring.

Classes

X25519PrivateKey

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.
        

X25519PublicKey

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.
        

Modules

serialization

typing