All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dkms.gcs.sdk.models.GenerateDataKeyPairRequest Maven / Gradle / Ivy

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 GenerateDataKeyPairRequest extends TeaModel {
    /**
     * 

密钥的全局唯一标识符该参数也可以被指定为密钥别名

*/ @NameInMap("KeyId") public String keyId; /** *

加密算法

*/ @NameInMap("Algorithm") public String algorithm; /** *

指定生成的数据密钥对类型

*/ @NameInMap("KeyPairSpec") public String keyPairSpec; /** *

生成数据密钥对格式,取值:PEM,DER

*/ @NameInMap("KeyFormat") public String keyFormat; /** *

对数据密钥加密时使用的GCM加密模式认证数据

*/ @NameInMap("Aad") public byte[] aad; /** *

请求头

*/ @NameInMap("requestHeaders") public java.util.Map requestHeaders; public static GenerateDataKeyPairRequest build(java.util.Map map) throws Exception { GenerateDataKeyPairRequest self = new GenerateDataKeyPairRequest(); return TeaModel.build(map, self); } public GenerateDataKeyPairRequest setKeyId(String keyId) { this.keyId = keyId; return this; } public String getKeyId() { return this.keyId; } public GenerateDataKeyPairRequest setAlgorithm(String algorithm) { this.algorithm = algorithm; return this; } public String getAlgorithm() { return this.algorithm; } public GenerateDataKeyPairRequest setKeyPairSpec(String keyPairSpec) { this.keyPairSpec = keyPairSpec; return this; } public String getKeyPairSpec() { return this.keyPairSpec; } public GenerateDataKeyPairRequest setKeyFormat(String keyFormat) { this.keyFormat = keyFormat; return this; } public String getKeyFormat() { return this.keyFormat; } public GenerateDataKeyPairRequest setAad(byte[] aad) { this.aad = aad; return this; } public byte[] getAad() { return this.aad; } public GenerateDataKeyPairRequest setRequestHeaders(java.util.Map requestHeaders) { this.requestHeaders = requestHeaders; return this; } public java.util.Map getRequestHeaders() { return this.requestHeaders; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy