MailMessageAttachSignature Method (CmsSigner)

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: 20.7
Syntax
public virtual MailMessage AttachSignature(
	CmsSigner signer
)

Parameters

signer
Type: System.Security.Cryptography.PkcsCmsSigner
System.Security.Cryptography.Pkcs.CmsSigner.

Return Value

Type: MailMessage
The signed MailMessage.
See Also