interface AddSecretStorageKeyOpts {
    key: Uint8Array<ArrayBufferLike>;
    name?: string;
    passphrase?: PassphraseInfo;
}

Properties

Properties

key: Uint8Array<ArrayBufferLike>

The private key. Will be used to generate the key check values in the key info; it will not be stored on the server

name?: string

Optional name of the key.

passphrase?: PassphraseInfo

Information for deriving the key from a passphrase if any.