Certificate


Provides properties and methods for presenting a digital certificate.

System.Object
    EAGetMail.Certificate

[Visual Basic]
Public Class Certificate
[C#]
public class Certificate
[C++]
public ref class Certificate
[JScript]
public class Certificate

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Public Constructors

Certificate Constructor Initializes a new instance of the Certificate class.

Public Properties

Handle

Gets or sets a handle to a Microsoft Cryptographic API certificate context described by an unmanaged PCCERT_CONTEXT structure.

HasCertificate Gets whether the certificate has been loaded.

Public Methods

Load Loads the certificate from .pfx or .cer file.
FindSubject Finds the certificate in Certificate Storage by subject.
Unload Unloads the certificate.

Remarks

To learn more about email digital signature and encryption, please refer to Digital Signature and E-mail Encryption/Decryption section.
To sign and encrypt email content, please refer to EASendMail SMTP Component.

See Also

Mail.VerifySignature Method
Mail.Decrypt Method

Online Tutorials

Verify Digital Signature and Decrypt Email in C# - S/MIME
Verify Digital Signature and Decrypt Email in VB - S/MIME
Verify Digital Signature and Decrypt Email in C++/CLI - S/MIME