Re-encrypt
- Print
- PDF
Re-encrypt
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
POST /kms/v1/keys/{keyTag}/re-encrypt
Reencrypt the ciphertext with the most recent version of the specified master key. It can only be requested as an AES256 or RSA2048 key type.
Request
Request parameters
Parameter Name | Type | Additional Information |
---|---|---|
x-ncp-apigw-timestamp | Header(Required) | |
x-ncp-apigw-signature-v2 | Header(Required) | |
x-ncp-iam-access-key | Header(Required) | |
keyTag | Path(Required) | |
ciphertext | Body: String or String list | Base64 Encoded text. |
context | Body: String | Base64 Encoded text(Up to 50B). Can only be used as a key to apply convergent encryption |
Request body
{
"ciphertext": "string",
"context": "string"
}
Response
Response body
{
"code": "string",
"data": {
"newCiphertext": "string"
}
}
Was this article helpful?