SimpleVerifyingKey
SimpleVerifyingKey Objects
class SimpleVerifyingKey(SimpleVerifyingKeyProtocol)
from_der
@classmethod
def from_der(cls, bytes: bytes) -> SimpleVerifyingKey
Deserialize PKCS#8 private key from ASN.1 DER-encoded data (binary format).
from_pem
@classmethod
def from_pem(cls, s: str) -> SimpleVerifyingKey
Deserialize PKCS#8-encoded private key from PEM.
to_der
def to_der() -> bytes
Serialize this private key as DER-encoded PKCS#8
to_pem
def to_pem() -> str
Serialize this private key as DER-encoded PKCS#8