For the complete documentation index, see llms.txt. This page is also available as Markdown.

getPublicKey

Reference for SDK 0.5.x (maintenance mode). See Status.

Retrieves the user's public key from the Encryptor extension.

Usage

const publicKey = await encryptor.getPublicKey();

Returns

Promise<string | undefined>

A promise that resolves to the user's public key or undefined if not found.

Last updated