SecureEmailManager.AttachSignature
AttachSignature(MailMessage, X509Certificate2)
Creates a copy of the specified MailMessage and adds a digital signature to it.
public virtual MailMessage AttachSignature(MailMessage msg, X509Certificate2 certificate)
Parameter | Type | Description |
---|---|---|
certificate | MailMessage | X.509 certificate. |
msg | X509Certificate2 | Source MailMessage. |
Return Value
Signed MailMessage
See Also
- class MailMessage
- class SecureEmailManager
- namespace Aspose.Email
- assembly Aspose.Email
AttachSignature(MapiMessage, X509Certificate2)
Creates a copy of the specified MapiMessage and adds a digital signature to it.
public virtual MapiMessage AttachSignature(MapiMessage msg, X509Certificate2 certificate)
Parameter | Type | Description |
---|---|---|
certificate | MapiMessage | X.509 certificate. |
msg | X509Certificate2 | Source MapiMessage. |
Return Value
Signed MapiMessage
See Also
- class MapiMessage
- class SecureEmailManager
- namespace Aspose.Email
- assembly Aspose.Email
AttachSignature(MailMessage, CmsSigner)
Creates a copy of the specified MailMessage and adds a digital signature to it.
public virtual MailMessage AttachSignature(MailMessage msg, CmsSigner signer)
Parameter | Type | Description |
---|---|---|
msg | MailMessage | Source MailMessage. |
signer | CmsSigner | System.Security.Cryptography.Pkcs.CmsSigner. |
Return Value
Signed MailMessage
See Also
- class MailMessage
- class SecureEmailManager
- namespace Aspose.Email
- assembly Aspose.Email
AttachSignature(MapiMessage, CmsSigner)
Creates a copy of the specified MapiMessage and adds a digital signature to it.
public virtual MapiMessage AttachSignature(MapiMessage msg, CmsSigner signer)
Parameter | Type | Description |
---|---|---|
msg | MapiMessage | Source MapiMessage. |
signer | CmsSigner | System.Security.Cryptography.Pkcs.CmsSigner. |
Return Value
Signed MapiMessage
See Also
- class MapiMessage
- class SecureEmailManager
- namespace Aspose.Email
- assembly Aspose.Email
AttachSignature(MailMessage, X509Certificate2, SignatureOptions)
Creates a copy of the specified MailMessage and adds a digital signature to it.
public virtual MailMessage AttachSignature(MailMessage msg, X509Certificate2 certificate,
SignatureOptions options)
Parameter | Type | Description |
---|---|---|
msg | MailMessage | Source MailMessage. |
certificate | X509Certificate2 | X.509 certificate. |
options | SignatureOptions | Additional options SignatureOptions |
Return Value
Signed MailMessage
See Also
- class MailMessage
- class SignatureOptions
- class SecureEmailManager
- namespace Aspose.Email
- assembly Aspose.Email
AttachSignature(MapiMessage, X509Certificate2, SignatureOptions)
Creates a copy of the specified MapiMessage and adds a digital signature to it.
public virtual MapiMessage AttachSignature(MapiMessage msg, X509Certificate2 certificate,
SignatureOptions options)
Parameter | Type | Description |
---|---|---|
msg | MapiMessage | Source MapiMessage. |
certificate | X509Certificate2 | X.509 certificate. |
options | SignatureOptions | Additional options SignatureOptions |
Return Value
Signed MapiMessage
See Also
- class MapiMessage
- class SignatureOptions
- class SecureEmailManager
- namespace Aspose.Email
- assembly Aspose.Email
AttachSignature(MailMessage, CmsSigner, SignatureOptions)
Creates a copy of the specified MailMessage and adds a digital signature to it.
public virtual MailMessage AttachSignature(MailMessage msg, CmsSigner signer,
SignatureOptions options)
Parameter | Type | Description |
---|---|---|
msg | MailMessage | Source MailMessage. |
signer | CmsSigner | System.Security.Cryptography.Pkcs.CmsSigner. |
options | SignatureOptions | Additional options SignatureOptions |
Return Value
Signed MailMessage
See Also
- class MailMessage
- class SignatureOptions
- class SecureEmailManager
- namespace Aspose.Email
- assembly Aspose.Email
AttachSignature(MapiMessage, CmsSigner, SignatureOptions)
Creates a copy of the specified MapiMessage and adds a digital signature to it.
public virtual MapiMessage AttachSignature(MapiMessage msg, CmsSigner signer,
SignatureOptions options)
Parameter | Type | Description |
---|---|---|
msg | MapiMessage | Source MapiMessage. |
signer | CmsSigner | System.Security.Cryptography.Pkcs.CmsSigner. |
options | SignatureOptions | Additional options SignatureOptions |
Return Value
Signed MapiMessage
See Also
- class MapiMessage
- class SignatureOptions
- class SecureEmailManager
- namespace Aspose.Email
- assembly Aspose.Email