AbstractStatic_StaticEXCHANGE_StaticWRITE_The machine-readable name for this keypair.
AbstractdecryptOptionalpublicKeyOrKeysize: string | CryptoKey | SymmKeyLength | nullOptionalaesAlgorithm: string | nullAbstractdecryptOptionalpublicKeyOrKeysize: string | CryptoKey | SymmKeyLength | nullOptionalaesAlgorithm: string | nullDelete the keys stored in indexedDB.
AbstractencryptBy default, encrypt the given data to yourself, as a "note to self".
Optionalrecipient: string | CryptoKey | nullOptionalaesKeyOrInfo: string | Uint8Array<ArrayBufferLike> | CryptoKey | nullOptionalkeysizeOrAesKey: string | Uint8Array<ArrayBufferLike> | CryptoKey | SymmKeyLength | nullOptionalkeysize: SymmKeyLength | nullAbstractencryptOptionalrecipient: string | CryptoKey | nullOptionalaesKeyOrInfo: string | Uint8Array<ArrayBufferLike> | CryptoKey | nullOptionalkeysizeOrAesKey: string | Uint8Array<ArrayBufferLike> | CryptoKey | SymmKeyLength | nullOptionalkeysize: SymmKeyLength | nullAbstractgetGet the relevant AES key.
OptionalpublicKey: string | CryptoKey | nullOptionalinfo: string | nullReturn a 32-character, DNS friendly hash of the public signing key.
Save this keys instance to indexedDB.
Optionalformat: SupportedEncodingsOptionalformat: SupportedEncodingsAbstractsignAbstractsignOptionalcharsize: CharSizeAbstracttoStatic_Optional_extractable: booleanStatic_Optional_extractable: booleanStaticcreateOptionalsession: booleanOptionalextractable: booleanOptionalkeys: { exchangeKeys?: CryptoKeyPair | null; writeKeys?: CryptoKeyPair | null }StaticdeviceReturn a 32-character, DNS-friendly hash of the given DID.
A DID format string
32 character, base32 hash of the DID
StaticexistStaticloadRestore some keys from indexedDB, or create a new keypair if it doesn't exist yet.
Strings to use as keys in indexedDB, and a session boolean, is this in memory only? Or can it be persisted.
The parent key. Doesn't implement the encrypt/sign functions.