com.aliyun.dkms.gcs.sdk.models.AdvanceGenerateDataKeyPairResponse 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 AdvanceGenerateDataKeyPairResponse extends TeaModel {
/**
* 密钥的全局唯一标识符该参数也可以被指定为密钥别名
*/
@NameInMap("KeyId")
public String keyId;
/**
* 加密数据时使用的初始向量
*/
@NameInMap("Iv")
public byte[] iv;
/**
* 指定生成的数据密钥对类型
*/
@NameInMap("KeyPairSpec")
public String keyPairSpec;
/**
* 私钥明文
*/
@NameInMap("PrivateKeyPlaintext")
public byte[] privateKeyPlaintext;
/**
* 私钥密文
*/
@NameInMap("PrivateKeyCiphertextBlob")
public byte[] privateKeyCiphertextBlob;
/**
* 公钥
*/
@NameInMap("PublicKey")
public byte[] publicKey;
/**
* 请求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 AdvanceGenerateDataKeyPairResponse build(java.util.Map map) throws Exception {
AdvanceGenerateDataKeyPairResponse self = new AdvanceGenerateDataKeyPairResponse();
return TeaModel.build(map, self);
}
public AdvanceGenerateDataKeyPairResponse setKeyId(String keyId) {
this.keyId = keyId;
return this;
}
public String getKeyId() {
return this.keyId;
}
public AdvanceGenerateDataKeyPairResponse setIv(byte[] iv) {
this.iv = iv;
return this;
}
public byte[] getIv() {
return this.iv;
}
public AdvanceGenerateDataKeyPairResponse setKeyPairSpec(String keyPairSpec) {
this.keyPairSpec = keyPairSpec;
return this;
}
public String getKeyPairSpec() {
return this.keyPairSpec;
}
public AdvanceGenerateDataKeyPairResponse setPrivateKeyPlaintext(byte[] privateKeyPlaintext) {
this.privateKeyPlaintext = privateKeyPlaintext;
return this;
}
public byte[] getPrivateKeyPlaintext() {
return this.privateKeyPlaintext;
}
public AdvanceGenerateDataKeyPairResponse setPrivateKeyCiphertextBlob(byte[] privateKeyCiphertextBlob) {
this.privateKeyCiphertextBlob = privateKeyCiphertextBlob;
return this;
}
public byte[] getPrivateKeyCiphertextBlob() {
return this.privateKeyCiphertextBlob;
}
public AdvanceGenerateDataKeyPairResponse setPublicKey(byte[] publicKey) {
this.publicKey = publicKey;
return this;
}
public byte[] getPublicKey() {
return this.publicKey;
}
public AdvanceGenerateDataKeyPairResponse setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public AdvanceGenerateDataKeyPairResponse setAlgorithm(String algorithm) {
this.algorithm = algorithm;
return this;
}
public String getAlgorithm() {
return this.algorithm;
}
public AdvanceGenerateDataKeyPairResponse setKeyVersionId(String keyVersionId) {
this.keyVersionId = keyVersionId;
return this;
}
public String getKeyVersionId() {
return this.keyVersionId;
}
public AdvanceGenerateDataKeyPairResponse setResponseHeaders(java.util.Map responseHeaders) {
this.responseHeaders = responseHeaders;
return this;
}
public java.util.Map getResponseHeaders() {
return this.responseHeaders;
}
}