Skip to main content
type KeyPair = {
  privateKey: CryptoKey | KeyObject | JWK | Uint8Array;
  publicKeyBase64: string;
};
A secp256r1 key pair.

Properties

PropertyTypeDescription
privateKeyCryptoKey | KeyObject | JWK | Uint8ArrayThe unextractable private key, in a format that can be used to sign and verify JWT tokens.
publicKeyBase64stringThe base64-encoded public key.