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§
- Public
Key - A P-256 public key that parsed, so it is a valid point on the curve.
- Secret
Key - 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.