public class WhiteboxKeyInfo extends AbstractModel
Constructor and Description |
---|
WhiteboxKeyInfo() |
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
|
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 |
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 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 should be 1 to 60 letters, digits, `-`, and `_`; it must begin with a letter or digit and cannot be left empty.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`.Copyright © 2020. All rights reserved.