Stored key pair in JSON or structuredClone-compatible format.

interface StoredKey {
    algo: string;
    info: any;
    jwkImportParams?: AlgorithmIdentifier;
    privateKey?: CryptoKey | JsonWebKey;
    publicKey?: CryptoKey | JsonWebKey;
    publicKeySpki?: string | Uint8Array<ArrayBufferLike>;
    secretKey?: CryptoKey | JsonWebKey;
}

Properties

algo: string
info: any
jwkImportParams?: AlgorithmIdentifier
privateKey?: CryptoKey | JsonWebKey
publicKey?: CryptoKey | JsonWebKey
publicKeySpki?: string | Uint8Array<ArrayBufferLike>
secretKey?: CryptoKey | JsonWebKey