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

getPublicKey

Retrieves the public key from the Encryptor Extension.

Usage

const publicKey = await encryptorExtension.getPublicKey();

Returns

Promise<string | undefined>

A promise that resolves to the public key retrieved from the Encryptor Extension or undefined if the public key is not available.

Last updated