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 Key algorithm type
|
String |
getAlias()
Get Unique alias that makes a key more recognizable and understandable.
|
Long |
getCreateTime()
Get Key creation time in Unix timestamp
|
Long |
getCreatorUin()
Get Creator
|
String |
getDecryptKey()
Get Base64-encoded white-box decryption key
|
String |
getDescription()
Get Key description information
|
Boolean |
getDeviceFingerprintBind()
Get Whether there is a device fingerprint bound to the current key
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getEncryptKey()
Get Base64-encoded white-box encryption key
|
String |
getKeyId()
Get Globally unique white-box key ID
|
Long |
getOwnerUin()
Get Creator
|
String |
getResourceId()
Get Resource ID in the format of `creatorUin/$creatorUin/$keyId`
|
String |
getStatus()
Get White-box key status.
|
void |
setAlgorithm(String Algorithm)
Set Key algorithm type
|
void |
setAlias(String Alias)
Set Unique alias that makes a key more recognizable and understandable.
|
void |
setCreateTime(Long CreateTime)
Set Key creation time in Unix timestamp
|
void |
setCreatorUin(Long CreatorUin)
Set Creator
|
void |
setDecryptKey(String DecryptKey)
Set Base64-encoded white-box decryption key
|
void |
setDescription(String Description)
Set Key description information
|
void |
setDeviceFingerprintBind(Boolean DeviceFingerprintBind)
Set Whether there is a device fingerprint bound to the current key
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setEncryptKey(String EncryptKey)
Set Base64-encoded white-box encryption key
|
void |
setKeyId(String KeyId)
Set Globally unique white-box key ID
|
void |
setOwnerUin(Long OwnerUin)
Set Creator
|
void |
setResourceId(String ResourceId)
Set Resource ID in the format of `creatorUin/$creatorUin/$keyId`
|
void |
setStatus(String Status)
Set White-box key status.
|
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
- Globally unique white-box key IDpublic String getAlias()
public void setAlias(String Alias)
Alias
- Unique alias that makes a key more recognizable and understandable. This parameter cannot be empty, can contain 1 to 60 letters, digits, hyphens (-), and underscores (_), and must begin with a letter or digit.public Long getCreatorUin()
public void setCreatorUin(Long CreatorUin)
CreatorUin
- Creatorpublic String getDescription()
public void setDescription(String Description)
Description
- Key description informationpublic Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime
- Key creation time in Unix timestamppublic String getStatus()
public void setStatus(String Status)
Status
- White-box key status. Valid values: Enabled, Disabledpublic Long getOwnerUin()
public void setOwnerUin(Long OwnerUin)
OwnerUin
- Creatorpublic String getAlgorithm()
public void setAlgorithm(String Algorithm)
Algorithm
- Key algorithm typepublic String getEncryptKey()
public void setEncryptKey(String EncryptKey)
EncryptKey
- Base64-encoded white-box encryption keypublic String getDecryptKey()
public void setDecryptKey(String DecryptKey)
DecryptKey
- Base64-encoded white-box decryption keypublic String getResourceId()
public void setResourceId(String ResourceId)
ResourceId
- Resource ID in the format of `creatorUin/$creatorUin/$keyId`public Boolean getDeviceFingerprintBind()
public void setDeviceFingerprintBind(Boolean DeviceFingerprintBind)
DeviceFingerprintBind
- Whether there is a device fingerprint bound to the current key
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2021. All rights reserved.