com.aliyun.dkms.gcs.sdk.models.AdvanceDecryptRequest 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 AdvanceDecryptRequest extends TeaModel {
/**
* 数据被指定密钥加密后的密文
*/
@NameInMap("CiphertextBlob")
public byte[] ciphertextBlob;
/**
* 密钥的全局唯一标识符该参数也可以被指定为密钥别名
*/
@NameInMap("KeyId")
public String keyId;
/**
* 加密算法
*/
@NameInMap("Algorithm")
public String algorithm;
/**
* 对数据密钥加密时使用的GCM加密模式认证数据
*/
@NameInMap("Aad")
public byte[] aad;
/**
* 加密数据时使用的初始向量
*/
@NameInMap("Iv")
public byte[] iv;
/**
* 填充模式
*/
@NameInMap("PaddingMode")
public String paddingMode;
/**
* 请求头
*/
@NameInMap("requestHeaders")
public java.util.Map requestHeaders;
public static AdvanceDecryptRequest build(java.util.Map map) throws Exception {
AdvanceDecryptRequest self = new AdvanceDecryptRequest();
return TeaModel.build(map, self);
}
public AdvanceDecryptRequest setCiphertextBlob(byte[] ciphertextBlob) {
this.ciphertextBlob = ciphertextBlob;
return this;
}
public byte[] getCiphertextBlob() {
return this.ciphertextBlob;
}
public AdvanceDecryptRequest setKeyId(String keyId) {
this.keyId = keyId;
return this;
}
public String getKeyId() {
return this.keyId;
}
public AdvanceDecryptRequest setAlgorithm(String algorithm) {
this.algorithm = algorithm;
return this;
}
public String getAlgorithm() {
return this.algorithm;
}
public AdvanceDecryptRequest setAad(byte[] aad) {
this.aad = aad;
return this;
}
public byte[] getAad() {
return this.aad;
}
public AdvanceDecryptRequest setIv(byte[] iv) {
this.iv = iv;
return this;
}
public byte[] getIv() {
return this.iv;
}
public AdvanceDecryptRequest setPaddingMode(String paddingMode) {
this.paddingMode = paddingMode;
return this;
}
public String getPaddingMode() {
return this.paddingMode;
}
public AdvanceDecryptRequest setRequestHeaders(java.util.Map requestHeaders) {
this.requestHeaders = requestHeaders;
return this;
}
public java.util.Map getRequestHeaders() {
return this.requestHeaders;
}
}