Uses of Class
com.sure.tool.crypto.Sm2Util.Sm2KeyPair
Packages that use Sm2Util.Sm2KeyPair
-
Uses of Sm2Util.Sm2KeyPair in com.sure.tool.crypto
Methods in com.sure.tool.crypto that return Sm2Util.Sm2KeyPairModifier and TypeMethodDescriptionstatic Sm2Util.Sm2KeyPairSm2Util.generateKeyPair()生成 SM2 密钥对。static Sm2Util.Sm2KeyPairSmUtil.sm2KeyPair()生成 SM2 密钥对。Methods in com.sure.tool.crypto with parameters of type Sm2Util.Sm2KeyPairModifier and TypeMethodDescriptionstatic byte[]Sm2Util.decrypt(Sm2Util.Sm2KeyPair keyPair, byte[] cipher) SM2 解密(C1||C3||C2)。static byte[]Sm2Util.sign(Sm2Util.Sm2KeyPair keyPair, byte[] message) SM2 签名(r||s,64 字节)。static byte[]Sm2Util.sign(Sm2Util.Sm2KeyPair keyPair, byte[] message, byte[] userId) SM2 签名(r||s,64 字节)。static byte[]SmUtil.sm2Decrypt(Sm2Util.Sm2KeyPair keyPair, byte[] cipher) SM2 解密。static byte[]SmUtil.sm2Sign(Sm2Util.Sm2KeyPair keyPair, byte[] message) SM2 签名(r||s,64 字节)。