Discuss this help topic in SecureBlackbox Forum
Use MAC signing
MAC is used when there's a need to encrypt the signature and make it available only to the recipient.
The recipient must have a secret key in order to verify the signature.
To make use of MAC signing you need to
- set SignatureMethod property of TElXMLSigner class to xmtMAC;
- set MACMethod property of TElXMLSigner class to the needed algorithm;
- create and setup an instance of TElXMLKeyInfoHMACData class. The instance must contain a shared secret (key) in it's Key property;
- set the KeyData property of TElXMLSigner class to reference the instance of TElXMLKeyInfoHMACData class
Discuss this help topic in SecureBlackbox Forum