Skip to content

gmssl_sm2_private_key_info_decrypt_from_pem 无密码保护私钥问题. #5

@xuxujie

Description

@xuxujie

我现在有个java应用生成好的秘钥对, 这个函数需要两个参数, 第二个参数密码我传空字符串或者null都会[libgmssl inner error]
我期望的是可选的私钥密码保护, 当我第二个参数传空的时候, 不去解密. 或者新增一个没有密码保护的读取函数.
大佬如果有空帮忙解决一下, 非常感谢!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions