This operation creates a digital signature with a PCA certificate from a certificate repository.
Operation description
This operation creates a digital signature with a PCA certificate from a certificate repository.
QPS limit
This operation supports up to 1,000 queries per second (QPS) for a single user. If you exceed this limit, the system throttles your API calls, which can impact your business. Plan your API calls accordingly.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:Sign |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Message |
string |
Yes |
The data to sign. The MessageType parameter determines the format of this data. If MessageType is set to RAW, Message is the raw data. If MessageType is set to BASE64, Message is the Base64-encoded raw data. If MessageType is set to DIGEST, Message is the message digest (hash value). If MessageType is set to BLIND, Message is the Base64-encoded blinded message. |
MTIzNA== |
| CertIdentifier |
string |
No |
The unique identifier of the certificate. You can get this value by calling the ListCert operation.
|
1ef1da5f-38ed-69b3-****-037781890265 |
| SigningAlgorithm |
string |
Yes |
The signature algorithm. Valid values:
|
SHA256withRSA |
| MessageType |
string |
Yes |
The message type. Valid values:
|
RAW |
| CustomIdentifier |
string |
No |
A unique, user-defined identifier. |
***e6bb538d538c70c01f81fg3**** |
| WarehouseId |
integer |
No |
The repository ID. Note
You can get this ID by calling the ListCertWarehouse operation. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Signature |
string |
The Base64-encoded signature. |
eyaC0w3ROK5b3QcHmUtAhMY/sQjKu2t3uBfnf6J/gn7JfZtyxwcCUjzXbw5jmqJQRbj1te670Bshg9kUdanKhtHFhJjU5jX+ZMMBr6pH0gqQDJxR0K0yHXRc0Q5OQoUZ6BfpbI4Wt4jJvJSdCstz1vSg12CfEHS8Kd5qfhItK7Y= |
| RequestId |
string |
The request ID. |
1ed33293-2e48-6b14-861e-538e28e408eb |
Examples
Success response
JSON format
{
"Signature": "eyaC0w3ROK5b3QcHmUtAhMY/sQjKu2t3uBfnf6J/gn7JfZtyxwcCUjzXbw5jmqJQRbj1te670Bshg9kUdanKhtHFhJjU5jX+ZMMBr6pH0gqQDJxR0K0yHXRc0Q5OQoUZ6BfpbI4Wt4jJvJSdCstz1vSg12CfEHS8Kd5qfhItK7Y=",
"RequestId": "1ed33293-2e48-6b14-861e-538e28e408eb"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.