跳到主要内容

Unlock

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

解密文档并确认恢复的私钥匹配公钥。

参数​

名称类型说明
documentDocumentUnlock 的 document 参数。
passwordstringUnlock 的 password 参数。

返回值​

(*UnlockResult, error)

来源​

此页面由 TypeDoc/Go AST 元数据和中文翻译目录生成。标识符、类型、错误码和代码示例保持不译。