public abstract class AbstractNotificationConfig extends java.lang.Object implements NotificationConfig
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
signType |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNotificationConfig(java.lang.String signType,
java.lang.String cipherAlgorithm,
CertificateProvider certificateProvider,
AeadCipher aeadCipher) |
| Modifier and Type | Method and Description |
|---|---|
AeadCipher |
createAeadCipher()
创建认证加解密器
|
Verifier |
createVerifier()
创建验签器
|
java.lang.String |
getCipherType()
获取认证加解密器类型
|
java.lang.String |
getSignType()
获取签名类型
|
protected AbstractNotificationConfig(java.lang.String signType,
java.lang.String cipherAlgorithm,
CertificateProvider certificateProvider,
AeadCipher aeadCipher)
public java.lang.String getSignType()
NotificationConfiggetSignType in interface NotificationConfigpublic java.lang.String getCipherType()
NotificationConfiggetCipherType in interface NotificationConfigpublic Verifier createVerifier()
NotificationConfigcreateVerifier in interface NotificationConfigpublic AeadCipher createAeadCipher()
NotificationConfigcreateAeadCipher in interface NotificationConfig