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

com.aliyun.dkms.gcs.sdk.models.SignRequest 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.*;

public class SignRequest extends TeaModel {
    /**
     * 

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

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

加密算法

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

签名消息

*/ @NameInMap("Message") public byte[] message; /** *

消息类型: 1. RAW(默认值):原始数据2. DIGEST:原始数据的消息摘要

*/ @NameInMap("MessageType") public String messageType; /** *

请求头

*/ @NameInMap("requestHeaders") public java.util.Map requestHeaders; public static SignRequest build(java.util.Map map) throws Exception { SignRequest self = new SignRequest(); return TeaModel.build(map, self); } public SignRequest setKeyId(String keyId) { this.keyId = keyId; return this; } public String getKeyId() { return this.keyId; } public SignRequest setAlgorithm(String algorithm) { this.algorithm = algorithm; return this; } public String getAlgorithm() { return this.algorithm; } public SignRequest setMessage(byte[] message) { this.message = message; return this; } public byte[] getMessage() { return this.message; } public SignRequest setMessageType(String messageType) { this.messageType = messageType; return this; } public String getMessageType() { return this.messageType; } public SignRequest 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