Skip to content

密钥解析失败 #17

@n0pn0pn0p

Description

@n0pn0pn0p

使用openssl中sm2算法生成的公私钥,用importPublicKey和importPrivateKey方法,会报错:
“Exception in thread "main" java.lang.IllegalArgumentException: Invalid point encoding 0x30
at org.bouncycastle.math.ec.ECCurve.decodePoint(Unknown Source)”

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions