Back to module index

Go to module by name

cryptography.hazmat.primitives.asymmetric

cryptography.hazmat.primitives

cryptography.hazmat

cryptography

cryptography.hazmat.primitives.asymmetric.ed25519

This module has no docstring.

Classes

Ed25519PrivateKey

from_private_bytes(data: bytes) -> 'Ed25519PrivateKey'
generate() -> 'Ed25519PrivateKey'
private_bytes(self, encoding: cryptography.hazmat.primitives._serialization.Encoding, format: cryptography.hazmat.primitives._serialization.PrivateFormat, encryption_algorithm: cryptography.hazmat.primitives._serialization.KeySerializationEncryption)


          The serialized bytes of the private key.
        
public_key(self) -> cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PublicKey


          The Ed25519PublicKey derived from the private key.
        
sign(self, data: bytes) -> bytes


          Signs the data.
        

Ed25519PublicKey

from_public_bytes(data: bytes) -> 'Ed25519PublicKey'
public_bytes(self, encoding: cryptography.hazmat.primitives._serialization.Encoding, format: cryptography.hazmat.primitives._serialization.PublicFormat) -> bytes


          The serialized bytes of the public key.
        
verify(self, signature: bytes, data: bytes) -> None


          Verify the signature.
        

UnsupportedAlgorithm

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

Modules

abc