KeyVault
Defined in: stores.ts:22
Where backup KEYS live for the no-password option (a key protector on the file).
Properties
Section titled “Properties”
readonlykind:string
Defined in: stores.ts:24
Also the protector id written into the backup file.
Methods
Section titled “Methods”delete()
Section titled “delete()”delete(
id):Promise<void>
Defined in: stores.ts:29
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<void>
get(
id):Promise<Uint8Array<ArrayBufferLike> |null>
Defined in: stores.ts:26
The key — asks for the device owner (Face ID / passcode) first. null when there is none.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike> | null>
getOrCreate()
Section titled “getOrCreate()”getOrCreate(
id):Promise<Uint8Array<ArrayBufferLike>>
Defined in: stores.ts:28
An existing key (asks for the device owner, as get) or a new one (no prompt).
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>