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 Full 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 Full 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, toJsonString
public SignByAsymmetricKeyRequest()
public SignByAsymmetricKeyRequest(SignByAsymmetricKeyRequest source)
public String getAlgorithm()
public void setAlgorithm(String Algorithm)
Algorithm
- Signature algorithm. The valid values include `SM2DSA`, `ECC_P256_R1`, `RSA_PSS_SHA_256`, and `RSA_PKCS1_SHA_256`, etc. You can get a full list of supported algorithms using the ListAlgorithms API.public String getMessage()
public void setMessage(String Message)
Message
- Full message or message abstract. Before Base64 encoding, an original message can contain up to 4,096 bytes while a message abstract must be 32 bytes.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 © 2023. All rights reserved.