Verifies the signature of a private certificate in a certificate application repository.
Operation description
You can call the Verify operation to verify the signature of a private certificate in a certificate application repository.
Limits
You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
yundun-cert:Verify | get |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Message | string | Yes | The data for which you want to verify the signature. The value must be encoded in Base64.
| MTIzNA== |
CertIdentifier | string | Yes | The unique identifier of the certificate. You can call the ListCert operation to obtain the unique identifier of a certificate.
| 5870821-cn-hangzhou |
SigningAlgorithm | string | Yes | The signature algorithm. Valid values:
| SHA256withRSA |
MessageType | string | Yes | The value type of the Message parameter. Valid values:
| RAW |
SignatureValue | string | Yes | The signature value. The value must be encoded in Base64. | eyaC0w3ROK5b3QcHmUtAhMY/sQjKu2t3uBfnf6J/gn7JfZtyxwcCUjzXbw5jmqJQRbj1te670Bshg9kUdanKhtHFhJjU5jX+ZMMBr6pH0gqQDJxR0K0yHXRc0Q5OQoUZ6BfpbI4Wt4jJvJSdCstz1vSg12CfEHS8Kd5qfhItK7Y= |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "1ed33293-2e48-6b14-861e-538e28e408eb",
"SignatureValid": true
}
Error codes
For a list of error codes, visit the Service error codes.