Session_HMAC_Verify
This API verifies keyed hash.
URL
./Session_HMAC_Verify
Input Parameters
Parameters | Description |
---|---|
keyname | Name of the key to be used for HMAC. |
messagetext | Data on which HMAC is to be performed. |
mac | Message authentication code for verification. |
Sample SOAP Parameters
<prot:Session_HMAC_Verify>
<keyname>hmacsha1vt</keyname>
<messagetext>This is a message suitable for HMAC signing...</messagetext>
<mac>CDBE56D386CDD6D0EBBBC481ACCA84CD60CE2919</mac>
</prot:Session_HMAC_Verify>
Output
boolean – result of HMAC verification.
<ns1:Session_HMAC_VerifyResponse xmlns:ns1="http://dsws.org/protectappws/">true</ns1:Session_HMAC_VerifyResponse>