Discuss this help topic in SecureBlackbox Forum

Remove signature from CMS message

To remove an existing signature from a CMS

  1. Load your CMS structure into a TElSignedCMSMessage object as described here.
  2. Locate the desired signature in the Signatures[] list.
  3. Pass its index to the TElSignedCMSMessage.RemoveSignature() method: cms.RemoveSignature(0);
  4. Save your updated CMS with the Save() method. Note: while being a bit unusual, a CMS with no signatures perfectly complies with the standard.

How To articles about Cryptographic Message Syntax (CMS)

Discuss this help topic in SecureBlackbox Forum