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

  1. set SignatureMethod property of TElXMLSigner class to xmtMAC;
  2. set MACMethod property of TElXMLSigner class to the needed algorithm;
  3. create and setup an instance of TElXMLKeyInfoHMACData class. The instance must contain a shared secret (key) in it's Key property;
  4. set the KeyData property of TElXMLSigner class to reference the instance of TElXMLKeyInfoHMACData class

Discuss this help topic in SecureBlackbox Forum