Skip to main content

Module key

Module key 

Source
Expand description

ECDSA P-256 keys in the text forms statements and signer lists carry.

A public key travels as ecdsa-p256:<base64 DER SubjectPublicKeyInfo> and a signature as base64 DER ECDSA over the SHA-256 of the signed bytes. Those are the forms cloud key services, Secure Enclave, TPMs and PIV tokens produce, so a key can live in any of them.

Structs§

PublicKey
A P-256 public key that parsed, so it is a valid point on the curve.
SecretKey
A private key held in memory: the CI key, or the recovery key while it signs. Device keys never take this form; they stay in secure hardware.

Constants§

PUBLIC_KEY_PREFIX
Prefix of a public key in text form.