KeyHold TypeScript SDK / unlock
Variable: unlock
constunlock: (document,password) =>Promise<UnlockResult> =unlockDocument
Decrypt and validate the private key contained in a document.
Parameters
document
password
string
Returns
Promise<UnlockResult>