Skip to main content

Interface: KeyHandler

Methods

getPublicKey()

getPublicKey(): Promise<string>

Get the public key of the confgured key service

Returns

Promise<string>


unwrapKey()

unwrapKey(wrappedKey): Promise<Buffer>

Unwrap a symmetric encryption key with the configured private key

Parameters

wrappedKey

Buffer

Returns

Promise<Buffer>

The unwrapped key as Buffer