Calculates a Message Authentication Code using the provided Secret Key and compares it with the provided MAC property
Authentication, Signing, MAC, HMAC
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
Message Authentication Code Algorithm | mac-algorithm |
| Hashed Message Authentication Code Function | |
Message Authentication Code Encoding | message-authentication-code-encoding | HEXADECIMAL |
| Encoding of the Message Authentication Code |
Message Authentication Code | message-authentication-code | The MAC to compare with the calculated value Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) | ||
Secret Key Encoding | secret-key-encoding | HEXADECIMAL |
| Encoding of the Secret Key |
Secret Key | secret-key | Secret key to calculate the hash Sensitive Property: true |
Name | Description |
---|---|
success | Signature Verification Succeeded |
failure | Signature Verification Failed |
Name | Description |
---|---|
mac.calculated | Calculated Message Authentication Code encoded by the selected encoding |
mac.encoding | The Encoding of the Hashed Message Authentication Code |
mac.algorithm | Hashed Message Authentication Code Algorithm |