public class VerifyByAsymmetricKeyRequest extends AbstractModel
Constructor and Description |
---|
VerifyByAsymmetricKeyRequest() |
VerifyByAsymmetricKeyRequest(VerifyByAsymmetricKeyRequest 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.
|
String |
getSignatureValue()
Get Signature value, which is generated by calling the KMS signature API.
|
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 |
setSignatureValue(String SignatureValue)
Set Signature value, which is generated by calling the KMS signature API.
|
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 VerifyByAsymmetricKeyRequest()
public VerifyByAsymmetricKeyRequest(VerifyByAsymmetricKeyRequest source)
public String getKeyId()
public void setKeyId(String KeyId)
KeyId
- Unique ID of a keypublic String getSignatureValue()
public void setSignatureValue(String SignatureValue)
SignatureValue
- Signature value, which is generated by calling the KMS signature API.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 getAlgorithm()
public void setAlgorithm(String Algorithm)
Algorithm
- Signature algorithm. Supported algorithm: SM2DSA.public 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.