public class ImportKeyMaterialRequest extends AbstractModel
构造器和说明 |
---|
ImportKeyMaterialRequest() |
限定符和类型 | 方法和说明 |
---|---|
String |
getEncryptedKeyMaterial()
获取使用GetParametersForImport 返回的PublicKey加密后的密钥材料base64编码。
|
String |
getImportToken()
获取通过调用GetParametersForImport获得的导入令牌。
|
String |
getKeyId()
获取指定导入密钥材料的CMK,需要和GetParametersForImport 指定的CMK相同。
|
Long |
getValidTo()
获取密钥材料过期时间 unix 时间戳,不指定或者 0 表示密钥材料不会过期,若指定过期时间,需要大于当前时间点,最大支持 2147443200。
|
void |
setEncryptedKeyMaterial(String EncryptedKeyMaterial)
设置使用GetParametersForImport 返回的PublicKey加密后的密钥材料base64编码。
|
void |
setImportToken(String ImportToken)
设置通过调用GetParametersForImport获得的导入令牌。
|
void |
setKeyId(String KeyId)
设置指定导入密钥材料的CMK,需要和GetParametersForImport 指定的CMK相同。
|
void |
setValidTo(Long ValidTo)
设置密钥材料过期时间 unix 时间戳,不指定或者 0 表示密钥材料不会过期,若指定过期时间,需要大于当前时间点,最大支持 2147443200。
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getEncryptedKeyMaterial()
public void setEncryptedKeyMaterial(String EncryptedKeyMaterial)
EncryptedKeyMaterial
- 使用GetParametersForImport 返回的PublicKey加密后的密钥材料base64编码。对于国密版本region的KMS,导入的密钥材料长度要求为 128 bit,FIPS版本region的KMS, 导入的密钥材料长度要求为 256 bit。public String getImportToken()
public void setImportToken(String ImportToken)
ImportToken
- 通过调用GetParametersForImport获得的导入令牌。public String getKeyId()
public void setKeyId(String KeyId)
KeyId
- 指定导入密钥材料的CMK,需要和GetParametersForImport 指定的CMK相同。public Long getValidTo()
public void setValidTo(Long ValidTo)
ValidTo
- 密钥材料过期时间 unix 时间戳,不指定或者 0 表示密钥材料不会过期,若指定过期时间,需要大于当前时间点,最大支持 2147443200。Copyright © 2019. All rights reserved.