Skip to main content

Unlock

func Unlock(document Document, password string) (*UnlockResult, error)

Unlock decrypts a document and verifies that the recovered private key matches its public key.

Parameters​

NameTypeDescription
documentDocumentParameter document of Unlock.
passwordstringParameter password of Unlock.

Returns​

(*UnlockResult, error)

Source​

This page is generated from SDK source metadata and the translation catalog.