Skip to content

KeyHold TypeScript SDK / unlock

Variable: unlock

const unlock: (document, password) => Promise<UnlockResult> = unlockDocument

Decrypt and validate the private key contained in a document.

Parameters

document

Document

password

string

Returns

Promise<UnlockResult>

One file. One password. One private key.