Abstract
Static
_Static
EXCHANGE_Static
WRITE_The machine-readable name for this keypair.
Abstract
decryptOptional
publicKeyOrKeysize: string | CryptoKey | SymmKeyLengthOptional
aesAlgorithm: stringAbstract
decryptOptional
publicKeyOrKeysize: string | CryptoKey | SymmKeyLengthOptional
aesAlgorithm: stringDelete the keys stored in indexedDB.
Abstract
encryptBy default, encrypt the given data to yourself, as a "note to self".
Optional
recipient: string | CryptoKeyOptional
aesKeyOrInfo: string | Uint8Array<ArrayBufferLike> | CryptoKeyOptional
keysizeOrAesKey: string | Uint8Array<ArrayBufferLike> | CryptoKey | SymmKeyLengthOptional
keysize: SymmKeyLengthAbstract
encryptOptional
recipient: string | CryptoKeyOptional
aesKeyOrInfo: string | Uint8Array<ArrayBufferLike> | CryptoKeyOptional
keysizeOrAesKey: string | Uint8Array<ArrayBufferLike> | CryptoKey | SymmKeyLengthOptional
keysize: SymmKeyLengthAbstract
getGet the relevant AES key.
Optional
publicKey: null | string | CryptoKeyOptional
info: null | stringReturn a 32-character, DNS friendly hash of the public signing key.
Save this keys instance to indexedDB
.
Optional
format: SupportedEncodingsOptional
format: SupportedEncodingsAbstract
signAbstract
signOptional
charsize: CharSizeAbstract
toStatic
_Static
_Static
createOptional
session: booleanStatic
deviceReturn a 32-character, DNS-friendly hash of the given DID.
A DID format string
32 character, base32 hash of the DID
Static
loadRestore 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.