HMAC Verify (CSNBHMV)

Use the HMAC Verify verb to verify a keyed hash Message Authentication Code (HMAC) for the message string provided as input.

A MAC key contained in an internal variable-length symmetric key-token is required to verify the HMAC. The key must have the same value as the key used to generate the HMAC.

The HMAC key supplied in a variable-length symmetric key token may contain a secure or a clear key value. Clear HMAC keys can be built using the Key Token Build2 (CSNBKTB2) callable service.