Class WhiteboxKeyInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.kms.v20190118.models.WhiteboxKeyInfo
-
public class WhiteboxKeyInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description WhiteboxKeyInfo()WhiteboxKeyInfo(WhiteboxKeyInfo source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlgorithm()Get 密钥所用的算法类型StringgetAlias()Get 作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字.LonggetCreateTime()Get 密钥创建时间,Unix时间戳LonggetCreatorUin()Get 创建者StringgetDecryptKey()Get 白盒解密密钥,base64编码StringgetDescription()Get 密钥的描述信息BooleangetDeviceFingerprintBind()Get 是否有设备指纹与当前密钥绑定 注意:此字段可能返回 null,表示取不到有效值。StringgetEncryptKey()Get 白盒加密密钥,base64编码StringgetKeyId()Get 白盒密钥的全局唯一标识符LonggetOwnerUin()Get 创建者StringgetResourceId()Get 资源ID,格式:creatorUin/$creatorUin/$keyIdStringgetStatus()Get 白盒密钥的状态, 取值为:Enabled | DisabledvoidsetAlgorithm(String Algorithm)Set 密钥所用的算法类型voidsetAlias(String Alias)Set 作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字.voidsetCreateTime(Long CreateTime)Set 密钥创建时间,Unix时间戳voidsetCreatorUin(Long CreatorUin)Set 创建者voidsetDecryptKey(String DecryptKey)Set 白盒解密密钥,base64编码voidsetDescription(String Description)Set 密钥的描述信息voidsetDeviceFingerprintBind(Boolean DeviceFingerprintBind)Set 是否有设备指纹与当前密钥绑定 注意:此字段可能返回 null,表示取不到有效值。voidsetEncryptKey(String EncryptKey)Set 白盒加密密钥,base64编码voidsetKeyId(String KeyId)Set 白盒密钥的全局唯一标识符voidsetOwnerUin(Long OwnerUin)Set 创建者voidsetResourceId(String ResourceId)Set 资源ID,格式:creatorUin/$creatorUin/$keyIdvoidsetStatus(String Status)Set 白盒密钥的状态, 取值为:Enabled | DisabledvoidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
WhiteboxKeyInfo
public WhiteboxKeyInfo()
-
WhiteboxKeyInfo
public WhiteboxKeyInfo(WhiteboxKeyInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getKeyId
public String getKeyId()
Get 白盒密钥的全局唯一标识符- Returns:
- KeyId 白盒密钥的全局唯一标识符
-
setKeyId
public void setKeyId(String KeyId)
Set 白盒密钥的全局唯一标识符- Parameters:
KeyId- 白盒密钥的全局唯一标识符
-
getAlias
public String getAlias()
Get 作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复- Returns:
- Alias 作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复
-
setAlias
public void setAlias(String Alias)
Set 作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复- Parameters:
Alias- 作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复
-
getCreatorUin
public Long getCreatorUin()
Get 创建者- Returns:
- CreatorUin 创建者
-
setCreatorUin
public void setCreatorUin(Long CreatorUin)
Set 创建者- Parameters:
CreatorUin- 创建者
-
getDescription
public String getDescription()
Get 密钥的描述信息- Returns:
- Description 密钥的描述信息
-
setDescription
public void setDescription(String Description)
Set 密钥的描述信息- Parameters:
Description- 密钥的描述信息
-
getCreateTime
public Long getCreateTime()
Get 密钥创建时间,Unix时间戳- Returns:
- CreateTime 密钥创建时间,Unix时间戳
-
setCreateTime
public void setCreateTime(Long CreateTime)
Set 密钥创建时间,Unix时间戳- Parameters:
CreateTime- 密钥创建时间,Unix时间戳
-
getStatus
public String getStatus()
Get 白盒密钥的状态, 取值为:Enabled | Disabled- Returns:
- Status 白盒密钥的状态, 取值为:Enabled | Disabled
-
setStatus
public void setStatus(String Status)
Set 白盒密钥的状态, 取值为:Enabled | Disabled- Parameters:
Status- 白盒密钥的状态, 取值为:Enabled | Disabled
-
getOwnerUin
public Long getOwnerUin()
Get 创建者- Returns:
- OwnerUin 创建者
-
setOwnerUin
public void setOwnerUin(Long OwnerUin)
Set 创建者- Parameters:
OwnerUin- 创建者
-
getAlgorithm
public String getAlgorithm()
Get 密钥所用的算法类型- Returns:
- Algorithm 密钥所用的算法类型
-
setAlgorithm
public void setAlgorithm(String Algorithm)
Set 密钥所用的算法类型- Parameters:
Algorithm- 密钥所用的算法类型
-
getEncryptKey
public String getEncryptKey()
Get 白盒加密密钥,base64编码- Returns:
- EncryptKey 白盒加密密钥,base64编码
-
setEncryptKey
public void setEncryptKey(String EncryptKey)
Set 白盒加密密钥,base64编码- Parameters:
EncryptKey- 白盒加密密钥,base64编码
-
getDecryptKey
public String getDecryptKey()
Get 白盒解密密钥,base64编码- Returns:
- DecryptKey 白盒解密密钥,base64编码
-
setDecryptKey
public void setDecryptKey(String DecryptKey)
Set 白盒解密密钥,base64编码- Parameters:
DecryptKey- 白盒解密密钥,base64编码
-
getResourceId
public String getResourceId()
Get 资源ID,格式:creatorUin/$creatorUin/$keyId- Returns:
- ResourceId 资源ID,格式:creatorUin/$creatorUin/$keyId
-
setResourceId
public void setResourceId(String ResourceId)
Set 资源ID,格式:creatorUin/$creatorUin/$keyId- Parameters:
ResourceId- 资源ID,格式:creatorUin/$creatorUin/$keyId
-
getDeviceFingerprintBind
public Boolean getDeviceFingerprintBind()
Get 是否有设备指纹与当前密钥绑定 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DeviceFingerprintBind 是否有设备指纹与当前密钥绑定 注意:此字段可能返回 null,表示取不到有效值。
-
setDeviceFingerprintBind
public void setDeviceFingerprintBind(Boolean DeviceFingerprintBind)
Set 是否有设备指纹与当前密钥绑定 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DeviceFingerprintBind- 是否有设备指纹与当前密钥绑定 注意:此字段可能返回 null,表示取不到有效值。
-
-