com.aliyun.dkms.gcs.sdk.models.AdvanceGenerateDataKeyResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-dkms-gcs-sdk Show documentation
Show all versions of alibabacloud-dkms-gcs-sdk Show documentation
Dedicated Key Management Service Java SDK
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dkms.gcs.sdk.models;
import com.aliyun.tea.NameInMap;
import com.aliyun.tea.TeaModel;
public class AdvanceGenerateDataKeyResponse extends TeaModel {
/**
* 密钥的全局唯一标识符该参数也可以被指定为密钥别名
*/
@NameInMap("KeyId")
public String keyId;
/**
* 加密数据时使用的初始向量
*/
@NameInMap("Iv")
public byte[] iv;
/**
* 待加密的明文数据
*/
@NameInMap("Plaintext")
public byte[] plaintext;
/**
* 数据被指定密钥加密后的密文
*/
@NameInMap("CiphertextBlob")
public byte[] ciphertextBlob;
/**
* 请求ID
*/
@NameInMap("RequestId")
public String requestId;
/**
* 加密算法
*/
@NameInMap("Algorithm")
public String algorithm;
/**
* 密钥版本唯一标识符
*/
@NameInMap("KeyVersionId")
public String keyVersionId;
/**
* 响应头
*/
@NameInMap("responseHeaders")
public java.util.Map responseHeaders;
public static AdvanceGenerateDataKeyResponse build(java.util.Map map) throws Exception {
AdvanceGenerateDataKeyResponse self = new AdvanceGenerateDataKeyResponse();
return TeaModel.build(map, self);
}
public AdvanceGenerateDataKeyResponse setKeyId(String keyId) {
this.keyId = keyId;
return this;
}
public String getKeyId() {
return this.keyId;
}
public AdvanceGenerateDataKeyResponse setIv(byte[] iv) {
this.iv = iv;
return this;
}
public byte[] getIv() {
return this.iv;
}
public AdvanceGenerateDataKeyResponse setPlaintext(byte[] plaintext) {
this.plaintext = plaintext;
return this;
}
public byte[] getPlaintext() {
return this.plaintext;
}
public AdvanceGenerateDataKeyResponse setCiphertextBlob(byte[] ciphertextBlob) {
this.ciphertextBlob = ciphertextBlob;
return this;
}
public byte[] getCiphertextBlob() {
return this.ciphertextBlob;
}
public AdvanceGenerateDataKeyResponse setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public AdvanceGenerateDataKeyResponse setAlgorithm(String algorithm) {
this.algorithm = algorithm;
return this;
}
public String getAlgorithm() {
return this.algorithm;
}
public AdvanceGenerateDataKeyResponse setKeyVersionId(String keyVersionId) {
this.keyVersionId = keyVersionId;
return this;
}
public String getKeyVersionId() {
return this.keyVersionId;
}
public AdvanceGenerateDataKeyResponse setResponseHeaders(java.util.Map responseHeaders) {
this.responseHeaders = responseHeaders;
return this;
}
public java.util.Map getResponseHeaders() {
return this.responseHeaders;
}
}