Skip to main content

SimpleVerifyingKeyProtocol

SimpleVerifyingKeyProtocol Objects​

class SimpleVerifyingKeyProtocol(typing.Protocol)

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