Package com.wechat.pay.java.core.cipher
Class AbstractSigner
java.lang.Object
com.wechat.pay.java.core.cipher.AbstractSigner
- All Implemented Interfaces:
Signer
- Direct Known Subclasses:
RSASigner
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSigner(String algorithm, String algorithmName, String certificateSerialNumber, PrivateKey privateKey) AbstractSigner 构造函数 -
Method Summary
Modifier and TypeMethodDescription获取签名算法生成签名结果
-
Constructor Details
-
AbstractSigner
protected AbstractSigner(String algorithm, String algorithmName, String certificateSerialNumber, PrivateKey privateKey) AbstractSigner 构造函数- Parameters:
algorithm- 微信支付的签名算法,例如SHA256-RSA2048algorithmName- 获取Signature对象时指定的算法,例如SHA256withRSAcertificateSerialNumber- 商户API证书序列号privateKey- 商户API私钥
-
-
Method Details