Constructors
Methods
dehydrateDevice
- dehydrateDevice(): Promise<undefined | string>
Returns Promise<undefined | string>
getDehydrationKeyFromCache
- getDehydrationKeyFromCache(): Promise<void>
setKey
- setKey(
key?: Uint8Array<ArrayBufferLike>,
keyInfo?: { [props: string]: any },
deviceDisplayName?: string,
): Promise<undefined | boolean> Parameters
Optional
key: Uint8Array<ArrayBufferLike>- keyInfo: { [props: string]: any } = {}
Optional
deviceDisplayName: string
Returns Promise<undefined | boolean>
setKeyAndQueueDehydration
- setKeyAndQueueDehydration(
key: Uint8Array<ArrayBufferLike>,
keyInfo?: { [props: string]: any },
deviceDisplayName?: string,
): Promise<void> Parameters
- key: Uint8Array<ArrayBufferLike>
- keyInfo: { [props: string]: any } = {}
Optional
deviceDisplayName: string
returns the device id of the newly created dehydrated device