VerifyingKeyFormat

Format of the public key.

Format of the public key. Binary formats (spkiDer/pkcs1Der/sec1/raw) take Uint8Array data; the PEM formats take the PEM text. pkcs1* is RSA-only, sec1 is ECDSA-only, raw is Ed25519-only (32 bytes).

View source ↗

Type

type VerifyingKeyFormat = 'spkiDer' | 'spkiPem' | 'pkcs1Der' | 'pkcs1Pem' | 'sec1' | 'raw';

On this page