Session_GCMDecrypt
This API decrypts data Using GCM standards.
URL
./Session_GCMEncrypt
Input Parameters
Parameters | Description |
---|---|
keyname | Name of the key to be used for decryption. |
ciphertext | Encrypted data represented in Hex. |
iv | Specify 1 to 16 bytes IV in Hex format. For example 697473617265616c6c79636f6f6c6976. |
aad | Optional/blank, the data to be passed to the recipient in plain text, needs to be “authenticated”. |
authtaglength | The tag length to ensure the data is not accidentally altered, must be 32 to 128 bits and multiple of 8. |
Sample SOAP Parameters
<prot:Session_GCMDecrypt>
<keyname>checknew</keyname>
<authtaglength>?</authtaglength>
<iv>1010101010101010</iv>
<!--Optional:-->
<aad></aad>
<ciphertext>1234567</ciphertext>
</prot:Session_GCMDecrypt>
Output
Plaintext data.