com.aliyun.dkms.gcs.sdk.models.GenerateDataKeyResponse 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.*;
public class GenerateDataKeyResponse 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("responseHeaders")
public java.util.Map responseHeaders;
public static GenerateDataKeyResponse build(java.util.Map map) throws Exception {
GenerateDataKeyResponse self = new GenerateDataKeyResponse();
return TeaModel.build(map, self);
}
public GenerateDataKeyResponse setKeyId(String keyId) {
this.keyId = keyId;
return this;
}
public String getKeyId() {
return this.keyId;
}
public GenerateDataKeyResponse setIv(byte[] iv) {
this.iv = iv;
return this;
}
public byte[] getIv() {
return this.iv;
}
public GenerateDataKeyResponse setPlaintext(byte[] plaintext) {
this.plaintext = plaintext;
return this;
}
public byte[] getPlaintext() {
return this.plaintext;
}
public GenerateDataKeyResponse setCiphertextBlob(byte[] ciphertextBlob) {
this.ciphertextBlob = ciphertextBlob;
return this;
}
public byte[] getCiphertextBlob() {
return this.ciphertextBlob;
}
public GenerateDataKeyResponse setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GenerateDataKeyResponse setAlgorithm(String algorithm) {
this.algorithm = algorithm;
return this;
}
public String getAlgorithm() {
return this.algorithm;
}
public GenerateDataKeyResponse setResponseHeaders(java.util.Map responseHeaders) {
this.responseHeaders = responseHeaders;
return this;
}
public java.util.Map getResponseHeaders() {
return this.responseHeaders;
}
}