Can you please tell me how the RemoveSignature
method identifies which attachment in the collection is the certificate? I need to retain a copy of this certificate after I have removed it.
The signature is stored in the attachments collection and if there are multiple attachments I want to know how to identify which one is the signature.
I need to remove the signature to get at the body text of an encrypted message. But we need to keep the certificate so that users can check the authenticity of the sender by seeing the certificate.