Input to a decryption request may be an simple string OR an array OR a JSON Object. Every Object/Array will be navigated through to find simple strings, and those strings will be decrypted.
The response to a decryption request will have the same structure as the input.
Request has the name of the tenant for which the key needs to be rotated.
The tenantId for which the key needs to be changed.
Acknowldgement if the operation was successful.
Acknowledgement if the operation was successful.
Request contains the value and its signature.
The claim to be verified
The signature for the claim
Response returns if the provided signature is correct for the given value.
This will be true if the signature is correct according to the claim, otherwise false.
Request contains tenant id and the value that needs to be signed.
The key used for signing will be determined based on tenant id.
The value to be signed.
Response contains the value that has been signed and the value of signature.
The value that came with request.
The signature generated for the above value.
The request body can contain an array of Encryption Requests to support bulk encryption. The key for encryption will be decided based on the tenantId. Each tenant will have its own seperate key. The value to be encrypted can be simple string OR an array of string OR can be a JSON Object. In case the value is a JSON Object, all the values will get encrypted and keys will be left untouched.
Encryption Key will be decided based on tenant id.
Method to be used for encryption ( AES / RSA )
Value/s to be encrypted. Can be a string or object or array
The returned encrypted value will have the same structure as the input value.