This API operation decrypts certificates in a certificate repository.
Operation description
The queries per second (QPS) limit for this API operation is 10 per user. If you exceed the limit, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:Decrypt |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CertIdentifier |
string |
No |
The unique identifier of the certificate. Call ListCert to obtain this parameter.
|
1ef1da5f-38ed-69b3-****-037781890265 |
| Algorithm |
string |
Yes |
The encryption algorithm. Valid values:
|
RSAESOAEPSHA_1 |
| CiphertextBlob |
string |
Yes |
The Base64-encoded data to decrypt. |
ZOyIygCyaOW6Gj****MlNKiuyjfzw= |
| MessageType |
string |
No |
The message type. Valid values:
Valid values:
|
Base64 |
| CustomIdentifier |
string |
No |
A custom identifier that serves as a unique key. |
****6bb538d538c70c01f81jh2**** |
| WarehouseId |
integer |
No |
The ID of the repository. Note
Call ListCertWarehouse to obtain this ID. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Object |
||
| Plaintext |
string |
The decrypted data. |
VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4 |
| RequestId |
string |
The request ID. |
5979d897-d69f-4fc9-87dd-f3bb73c40b80 |
| CertIdentifier |
string |
The unique identifier of the certificate. |
1ef1da5f-38ed-69b3-****-037781890265 |
Examples
Success response
JSON format
{
"Plaintext": "VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4",
"RequestId": "5979d897-d69f-4fc9-87dd-f3bb73c40b80",
"CertIdentifier": "1ef1da5f-38ed-69b3-****-037781890265"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.