GemBox.Email
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    DigitalSignatureOptions Class

    Namespace:
    GemBox.Email
    Assembly:
    GemBox.Email.dll

    Represents a set of options for signing an e-mail with a digital signature.

    • C#
    • VB.NET
    public class DigitalSignatureOptions
    Public Class DigitalSignatureOptions
    Inheritance:
    System.Object
    DigitalSignatureOptions

    Constructors

    DigitalSignatureOptions()

    Creates a new instance of DigitalSignatureOptions.

    • C#
    • VB.NET
    public DigitalSignatureOptions()
    Public Sub New

    Properties

    Certificate

    The System.Security.Cryptography.X509Certificates.X509Certificate2 to be used on signing.

    • C#
    • VB.NET
    public X509Certificate2 Certificate { get; set; }
    Public Property Certificate As X509Certificate2
    Property Value
    System.Security.Cryptography.X509Certificates.X509Certificate2

    CertificatePassword

    The password for the certificate to be loaded from CertificatePath.

    • C#
    • VB.NET
    public string CertificatePassword { get; set; }
    Public Property CertificatePassword As String
    Property Value
    System.String

    CertificatePath

    The path to the certificate to be used on signing.

    • C#
    • VB.NET
    public string CertificatePath { get; set; }
    Public Property CertificatePath As String
    Property Value
    System.String

    ClearSigned

    Indicates if the signature should be clear-signed (true) or opaque-signed (false).
    By default this is set to true.

    Opaque-signed messages are composed of a single part containing both the signature and e-mail's content (like body and attachments) encoded into binary form.
    Clear-signed messages are composed of two separate parts: the e-mail's content (body and attachments) and a signature.

    Because of that, opaque-signed messages are only visible on e-mail applications that know how to handle singed messages, while clear-signed messages are visible on any e-mail application.

    • C#
    • VB.NET
    public bool ClearSigned { get; set; }
    Public Property ClearSigned As Boolean
    Property Value
    System.Boolean
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.