Secp256k1VerifyingKey
Secp256k1VerifyingKey Objects
class Secp256k1VerifyingKey(Secp256k1VerifyingKeyProtocol)
from_der
@classmethod
def from_der(cls, bytes: bytes) -> Secp256k1VerifyingKey
Deserialize public key from ASN.1 DER-encoded data (binary format).
from_pem
@classmethod
def from_pem(cls, s: str) -> Secp256k1VerifyingKey
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