Uses of Class
tech.riemann.nif.utils.codec.SM2.SM2Signature
Packages that use SM2.SM2Signature
-
Uses of SM2.SM2Signature in tech.riemann.nif.utils.codec
Methods in tech.riemann.nif.utils.codec that return SM2.SM2SignatureModifier and TypeMethodDescriptionSM2.SM2Signature.Builder.build()static SM2.SM2Signature从 R.S 格式的签名字符串解析出 SM2Signature 对象SM2.sign(String data, PrivateKey privateKey) 使用SM2私钥对数据进行签名SM2.signByBase64(String data, String base64PrivateKey) 使用Base64格式的SM2私钥对数据进行签名使用Hex格式的SM2私钥对数据进行签名Methods in tech.riemann.nif.utils.codec with parameters of type SM2.SM2SignatureModifier and TypeMethodDescriptionbooleanSM2.verify(String data, SM2.SM2Signature signature, PublicKey publicKey) 使用SM2公钥验证签名的有效性booleanSM2.verifyByBase64(String data, SM2.SM2Signature signature, String base64PublicKey) 使用Base64格式的SM2公钥验证签名booleanSM2.verifyByHex(String data, SM2.SM2Signature signature, String hexPublicKey) 使用Hex格式的SM2公钥验证签名