Class AbstractNotificationConfig
java.lang.Object
com.wechat.pay.java.core.notification.AbstractNotificationConfig
- All Implemented Interfaces:
NotificationConfig
- Direct Known Subclasses:
AutoCertificateNotificationConfig,RSACombinedNotificationConfig,RSANotificationConfig,RSAPublicKeyNotificationConfig
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractNotificationConfig(String signType, String cipherAlgorithm, CertificateProvider certificateProvider, AeadCipher aeadCipher) protectedAbstractNotificationConfig(String signType, String cipherAlgorithm, CertificateProvider certificateProvider, PublicKey publicKey, String publicKeyId, AeadCipher aeadCipher) protectedAbstractNotificationConfig(String signType, String cipherAlgorithm, PublicKey publicKey, String publicKeyId, AeadCipher aeadCipher) -
Method Summary
Modifier and TypeMethodDescription创建认证加解密器创建验签器获取认证加解密器类型获取签名类型
-
Field Details
-
signType
-
-
Constructor Details
-
AbstractNotificationConfig
protected AbstractNotificationConfig(String signType, String cipherAlgorithm, CertificateProvider certificateProvider, AeadCipher aeadCipher) -
AbstractNotificationConfig
protected AbstractNotificationConfig(String signType, String cipherAlgorithm, PublicKey publicKey, String publicKeyId, AeadCipher aeadCipher) -
AbstractNotificationConfig
protected AbstractNotificationConfig(String signType, String cipherAlgorithm, CertificateProvider certificateProvider, PublicKey publicKey, String publicKeyId, AeadCipher aeadCipher)
-
-
Method Details
-
getSignType
Description copied from interface:NotificationConfig获取签名类型- Specified by:
getSignTypein interfaceNotificationConfig- Returns:
- 签名类型
-
getCipherType
Description copied from interface:NotificationConfig获取认证加解密器类型- Specified by:
getCipherTypein interfaceNotificationConfig- Returns:
- 认证加解密器类型
-
createVerifier
Description copied from interface:NotificationConfig创建验签器- Specified by:
createVerifierin interfaceNotificationConfig- Returns:
- 验签器
-
createAeadCipher
Description copied from interface:NotificationConfig创建认证加解密器- Specified by:
createAeadCipherin interfaceNotificationConfig- Returns:
- 认证加解密器
-