VerifyContentMAC 2025.10.9.21

Bundle

org.apache.nifi | nifi-cipher-nar

Description

Calculates a Message Authentication Code using the provided Secret Key and compares it with the provided MAC property

Tags

Authentication, HMAC, MAC, Signing

Input Requirement

REQUIRED

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
Message Authentication CodeThe MAC to compare with the calculated value
Message Authentication Code AlgorithmHashed Message Authentication Code Function
Message Authentication Code EncodingEncoding of the Message Authentication Code
Secret KeySecret key to calculate the hash
Secret Key EncodingEncoding of the Secret Key

Relationships

NameDescription
failureSignature Verification Failed
successSignature Verification Succeeded

Writes attributes

NameDescription
mac.calculatedCalculated Message Authentication Code encoded by the selected encoding
mac.encodingThe Encoding of the Hashed Message Authentication Code
mac.algorithmHashed Message Authentication Code Algorithm