类 AESConfiguration
- java.lang.Object
-
- cloud.longfa.encrypt.config.EncryptProvider
-
- cloud.longfa.encrypt.config.AESConfiguration
-
- 所有已实现的接口:
org.springframework.beans.factory.InitializingBean
@ConfigurationProperties(prefix="badger.encrypt") public class AESConfiguration extends EncryptProvider implements org.springframework.beans.factory.InitializingBean
The type Aes configuration.- 从以下版本开始:
- : 1.0.0
- 作者:
- : longfa
-
-
字段概要
-
从类继承的字段 cloud.longfa.encrypt.config.EncryptProvider
BADGER, encryptFactory
-
-
构造器概要
构造器 构造器 说明 AESConfiguration()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidafterPropertiesSet()StringgetAesIv()Gets aes iv.StringgetAesKey()Gets aes key.voidsetAesIv(String aesIv)Sets aes iv.voidsetAesKey(String aesKey)Sets aes key.-
从类继承的方法 cloud.longfa.encrypt.config.EncryptProvider
aesIv, aesKey, privateKeyBase64, publicKeyBase64, sm4Iv, sm4Key
-
-
-
-
方法详细资料
-
setAesKey
public void setAesKey(String aesKey)
Sets aes key.- 参数:
aesKey- the aes key
-
setAesIv
public void setAesIv(String aesIv)
Sets aes iv.- 参数:
aesIv- the aes iv
-
getAesKey
public String getAesKey()
Gets aes key.- 返回:
- the aes key
-
getAesIv
public String getAesIv()
Gets aes iv.- 返回:
- the aes iv
-
afterPropertiesSet
public void afterPropertiesSet()
- 指定者:
afterPropertiesSet在接口中org.springframework.beans.factory.InitializingBean
-
-