public class WhiteboxKeyInfo extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm()
Get 密钥所用的算法类型
|
String |
getAlias()
Get 作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字.
|
Long |
getCreateTime()
Get 密钥创建时间,Unix时间戳
|
Long |
getCreatorUin()
Get 创建者
|
String |
getDecryptKey()
Get 白盒解密密钥,base64编码
|
String |
getDescription()
Get 密钥的描述信息
|
Boolean |
getDeviceFingerprintBind()
Get 是否有设备指纹与当前密钥绑定
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getEncryptKey()
Get 白盒加密密钥,base64编码
|
String |
getKeyId()
Get 白盒密钥的全局唯一标识符
|
Long |
getOwnerUin()
Get 创建者
|
String |
getResourceId()
Get 资源ID,格式:creatorUin/$creatorUin/$keyId
|
String |
getStatus()
Get 白盒密钥的状态, 取值为:Enabled | Disabled
|
void |
setAlgorithm(String Algorithm)
Set 密钥所用的算法类型
|
void |
setAlias(String Alias)
Set 作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字.
|
void |
setCreateTime(Long CreateTime)
Set 密钥创建时间,Unix时间戳
|
void |
setCreatorUin(Long CreatorUin)
Set 创建者
|
void |
setDecryptKey(String DecryptKey)
Set 白盒解密密钥,base64编码
|
void |
setDescription(String Description)
Set 密钥的描述信息
|
void |
setDeviceFingerprintBind(Boolean DeviceFingerprintBind)
Set 是否有设备指纹与当前密钥绑定
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setEncryptKey(String EncryptKey)
Set 白盒加密密钥,base64编码
|
void |
setKeyId(String KeyId)
Set 白盒密钥的全局唯一标识符
|
void |
setOwnerUin(Long OwnerUin)
Set 创建者
|
void |
setResourceId(String ResourceId)
Set 资源ID,格式:creatorUin/$creatorUin/$keyId
|
void |
setStatus(String Status)
Set 白盒密钥的状态, 取值为:Enabled | Disabled
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public WhiteboxKeyInfo()
public WhiteboxKeyInfo(WhiteboxKeyInfo source)
public String getKeyId()
public void setKeyId(String KeyId)
KeyId
- 白盒密钥的全局唯一标识符public String getAlias()
public void setAlias(String Alias)
Alias
- 作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复public Long getCreatorUin()
public void setCreatorUin(Long CreatorUin)
CreatorUin
- 创建者public String getDescription()
public void setDescription(String Description)
Description
- 密钥的描述信息public Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime
- 密钥创建时间,Unix时间戳public String getStatus()
public void setStatus(String Status)
Status
- 白盒密钥的状态, 取值为:Enabled | Disabledpublic Long getOwnerUin()
public void setOwnerUin(Long OwnerUin)
OwnerUin
- 创建者public String getAlgorithm()
public void setAlgorithm(String Algorithm)
Algorithm
- 密钥所用的算法类型public String getEncryptKey()
public void setEncryptKey(String EncryptKey)
EncryptKey
- 白盒加密密钥,base64编码public String getDecryptKey()
public void setDecryptKey(String DecryptKey)
DecryptKey
- 白盒解密密钥,base64编码public String getResourceId()
public void setResourceId(String ResourceId)
ResourceId
- 资源ID,格式:creatorUin/$creatorUin/$keyIdpublic Boolean getDeviceFingerprintBind()
public void setDeviceFingerprintBind(Boolean DeviceFingerprintBind)
DeviceFingerprintBind
- 是否有设备指纹与当前密钥绑定
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2023. All rights reserved.