Package com.wechat.pay.java.core
Class RSAPublicKeyConfig
java.lang.Object
com.wechat.pay.java.core.AbstractRSAConfig
com.wechat.pay.java.core.RSAPublicKeyConfig
- All Implemented Interfaces:
Config
,NotificationConfig
使用微信支付平台公钥的RSA配置类。 每次构造都要求传入平台公钥以及平台公钥id,如果使用平台证书建议用RSAAutoCertificateConfig类
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription创建认证加解密器创建验签器获取认证加解密器类型获取签名类型Methods inherited from class com.wechat.pay.java.core.AbstractRSAConfig
createCredential, createDecryptor, createEncryptor, createSigner, createValidator
-
Method Details
-
getSignType
获取签名类型- Specified by:
getSignType
in interfaceNotificationConfig
- Returns:
- 签名类型
-
getCipherType
获取认证加解密器类型- Specified by:
getCipherType
in interfaceNotificationConfig
- Returns:
- 认证加解密器类型
-
createVerifier
创建验签器- Specified by:
createVerifier
in interfaceNotificationConfig
- Returns:
- 验签器
-
createAeadCipher
创建认证加解密器- Specified by:
createAeadCipher
in interfaceNotificationConfig
- Returns:
- 认证加解密器
-