cwDecryptGt

Description

Decrypt the given encrypted value

URI

/cwDecrypt?keyContext=: keyContext &cipherText=: cipherText &type=: type&tweak=:tweak

Method

GET

URL Parameters:

 Name

Required              Description                                                          Default Value                Example
keyContext Required Key Context to be used for this encryption Empty String KeyRing1-Key1
cipherText Required  Encrypted Text Empty String Ykashdbas
type Required  Entity Type   PERSON_NAME_NICE
sigId  Required  Secure Information Group ID Empty String 1234

Response Codes

200 - Success  

400 - Bad Request 

401 - Unauthorized

Example Request

https://localhost:8080/cwDecrypt?keyContext=BigRing-BigKey-1.0&cipherText=Ykashdbas&type=PERSON_NAME_NICE&sigId=123456

Example Response

John