MailMessageAttachSignature Method (X509Certificate2)
Creates a signed message. Creates a read-only copy of the specified MailMessage and adds a digital signature to it.

Namespace: Aspose.Email
Assembly: Aspose.Email (in Aspose.Email.dll) Version: 19.12
Syntax
public virtual MailMessage AttachSignature(
	X509Certificate2 certificate
)

Parameters

certificate
Type: System.Security.Cryptography.X509CertificatesX509Certificate2
X.509 certificate.

Return Value

Type: MailMessage
The signed MailMessage.
See Also