com.aliyun.dkms.gcs.sdk.models.DecryptRequest 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 DecryptRequest 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 DecryptRequest build(java.util.Map map) throws Exception {
DecryptRequest self = new DecryptRequest();
return TeaModel.build(map, self);
}
public DecryptRequest setCiphertextBlob(byte[] ciphertextBlob) {
this.ciphertextBlob = ciphertextBlob;
return this;
}
public byte[] getCiphertextBlob() {
return this.ciphertextBlob;
}
public DecryptRequest setKeyId(String keyId) {
this.keyId = keyId;
return this;
}
public String getKeyId() {
return this.keyId;
}
public DecryptRequest setAlgorithm(String algorithm) {
this.algorithm = algorithm;
return this;
}
public String getAlgorithm() {
return this.algorithm;
}
public DecryptRequest setAad(byte[] aad) {
this.aad = aad;
return this;
}
public byte[] getAad() {
return this.aad;
}
public DecryptRequest setIv(byte[] iv) {
this.iv = iv;
return this;
}
public byte[] getIv() {
return this.iv;
}
public DecryptRequest setPaddingMode(String paddingMode) {
this.paddingMode = paddingMode;
return this;
}
public String getPaddingMode() {
return this.paddingMode;
}
public DecryptRequest setRequestHeaders(java.util.Map requestHeaders) {
this.requestHeaders = requestHeaders;
return this;
}
public java.util.Map getRequestHeaders() {
return this.requestHeaders;
}
}