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-ocapi-token | Header(Required) | Access Token |
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"
}
Response
Response body
{
"code": "string",
"data": {
"newCiphertext": "string"
}
}
Was this article helpful?