类 Plaintext
java.lang.Object
Plaintext
- 直接已知子类:
Cipher
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static Plaintext
genMsgEncrypt
(String plaintext, String verificationMethod) 公钥加密入参static Plaintext
genMsgSign
(String plaintext, String verificationMethod) 私钥签名getType()
void
setCreated
(String created) void
setPlaintext
(String plaintext) void
setSignature
(String signature) void
void
setVerificationMethod
(String verificationMethod) toString()
-
构造器详细资料
-
Plaintext
public Plaintext() -
Plaintext
公钥验签入参- 参数:
plaintext
- 签名原文signature
- 签名verificationMethod
- 公钥地址
-
Plaintext
公钥验签入参- 参数:
plaintext
- 签名原文signature
- 签名verificationMethod
- 公钥地址type
- 类型,默认使用SM2VerificationKey2023
-
Plaintext
- 参数:
plaintext
- 签名原文verificationMethod
- 公钥地址
-
-
方法详细资料