public class SignByAsymmetricKeyRequest extends AbstractModel
| Constructor and Description | 
|---|
| SignByAsymmetricKeyRequest() | 
| SignByAsymmetricKeyRequest(SignByAsymmetricKeyRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAlgorithm()Get Signature algorithm. | 
| String | getKeyId()Get Unique ID of a key | 
| String | getMessage()Get The original message or message abstract. | 
| String | getMessageType()Get Message type. | 
| void | setAlgorithm(String Algorithm)Set Signature algorithm. | 
| void | setKeyId(String KeyId)Set Unique ID of a key | 
| void | setMessage(String Message)Set The original message or message abstract. | 
| void | setMessageType(String MessageType)Set Message type. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic SignByAsymmetricKeyRequest()
public SignByAsymmetricKeyRequest(SignByAsymmetricKeyRequest source)
public String getAlgorithm()
public void setAlgorithm(String Algorithm)
Algorithm - Signature algorithm. Supported algorithm: SM2DSA.public String getMessage()
public void setMessage(String Message)
Message - The original message or message abstract. For an original message, the length before Base64 encoding can contain up to 4,096 bytes. For a message abstract, the SM2 signature algorithm only supports 32-byte (before Base64 encoding) message abstracts.public String getKeyId()
public void setKeyId(String KeyId)
KeyId - Unique ID of a keypublic String getMessageType()
public void setMessageType(String MessageType)
MessageType - Message type. Valid values: `RAW` (indicating an original message; used by default if the parameter is not passed in) and `DIGEST`.Copyright © 2021. All rights reserved.