Interface IHmacContext
interface IHmacContext
Extends com.amazon.apmf.IStandard
Methods
sign()
Sign a message using the HMAC context.u8[]sign(u8[]message)
Parameters
message
u8[] — Required
The message to sign.
Returns
u8[]
The HMAC signature of the message.
verify()
Verify the authenticity of a message using the HMAC context.boolverify(u8[]message,u8[]tag)
Parameters
message
u8[] — Required
The message to verify.
tag
u8[] — Required
The HMAC tag associated with the message.
Returns
bool
True if the message is authentic, false otherwise.

