public class DefaultParamCryptoHandlerPropertiesImpl extends Object implements IParamCryptoHandlerProperties
| 构造器和说明 |
|---|
DefaultParamCryptoHandlerPropertiesImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAlgorithm()
对称加密算法
格式如:{对称加密算法}/{模式}/{补码方式} 举例:AES/CBC/PKCS7Padding |
Charset |
getCharset() |
String |
getIv() |
String |
getKey() |
boolean |
isNeedEncryptInputParam() |
boolean |
isNeedEncryptOutputParam() |
void |
setAlgorithm(String algorithm)
设置对称加密算法
|
void |
setCharset(Charset charset)
设置编码
|
void |
setIv(String iv)
设置偏移向量
|
void |
setKey(String key)
设置密钥
|
void |
setNeedEncryptInputParam(boolean needEncryptInputParam)
设置是否强制要求入参加密
|
void |
setNeedEncryptOutputParam(boolean needEncryptOutputParam)
设置出参是否需要加密
|
public String getAlgorithm()
IParamCryptoHandlerPropertiesgetAlgorithm 在接口中 IParamCryptoHandlerPropertiespublic void setAlgorithm(String algorithm)
IParamCryptoHandlerPropertiessetAlgorithm 在接口中 IParamCryptoHandlerPropertiesalgorithm - 对称加密算法public String getKey()
getKey 在接口中 IParamCryptoHandlerPropertiespublic void setKey(String key)
IParamCryptoHandlerPropertiessetKey 在接口中 IParamCryptoHandlerPropertieskey - 密钥public String getIv()
getIv 在接口中 IParamCryptoHandlerPropertiespublic void setIv(String iv)
IParamCryptoHandlerPropertiessetIv 在接口中 IParamCryptoHandlerPropertiesiv - 偏移向量public Charset getCharset()
getCharset 在接口中 IParamCryptoHandlerPropertiespublic void setCharset(Charset charset)
IParamCryptoHandlerPropertiessetCharset 在接口中 IParamCryptoHandlerPropertiescharset - 编码public boolean isNeedEncryptInputParam()
isNeedEncryptInputParam 在接口中 IParamCryptoHandlerPropertiespublic void setNeedEncryptInputParam(boolean needEncryptInputParam)
IParamCryptoHandlerPropertiessetNeedEncryptInputParam 在接口中 IParamCryptoHandlerPropertiesneedEncryptInputParam - 是否强制要求入参加密public boolean isNeedEncryptOutputParam()
isNeedEncryptOutputParam 在接口中 IParamCryptoHandlerPropertiespublic void setNeedEncryptOutputParam(boolean needEncryptOutputParam)
IParamCryptoHandlerPropertiessetNeedEncryptOutputParam 在接口中 IParamCryptoHandlerPropertiesneedEncryptOutputParam - 出参是否需要加密Copyright © 2021 EasyJ寮�婧愮ぞ鍖�. All rights reserved.