Sign Method
Signs the current Message .
Syntax
[VB.NET] Public Sub Sign()
[C#] public void Sign();
Remarks
This method digitally signs the current data included in Message with the the certificate provided. Certificates are provided by specifying the Certificate property. The IncludeCertificate and DetachedSignature properties allow you to specify addition details about what to include when signing the message.
The result of the signed data will be replaced in the Message property and the MessageHeaders property will be filled with the required S/MIME headers.