Skip to main content

Ed25519VerifyingKey

Ed25519VerifyingKey Objects

class Ed25519VerifyingKey(Ed25519VerifyingKeyProtocol)

from_der

@classmethod
def from_der(cls, bytes: bytes) -> Ed25519VerifyingKey

Deserialize public key from ASN.1 DER-encoded data (binary format).

from_pem

@classmethod
def from_pem(cls, s: str) -> Ed25519VerifyingKey

Deserialize public key from PEM.

to_der

def to_der() -> bytes

Serialize this public key as DER-encoded data

to_pem

def to_pem() -> str

Serialize this public key into PEM format