cwEncryptGt

Description  

Encrypt the given data

URI  

/cwEncrypt?keyContext=:{keyContext} &plainText={plaintext} &type={type}&sigId={sigId}

Method                               

GET

URL Parameters:                                                                                                                

Name

Required             

Description                                                          

Default Value                  

Example

keyContext

Required

Key Context to be used for this encryption

Empty String

KeyRing1-Key1

plainText

Required 

Plain Text to be encrypted

Empty String

John Bogle

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

               Ovud Njsakl