Click or drag to resize
MimeKit

X509CertificateStore Class

A store for X.509 certificates and keys.
Inheritance Hierarchy
SystemObject
  MimeKit.CryptographyX509CertificateStore

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public class X509CertificateStore : IStore<X509Certificate>

The X509CertificateStore type exposes the following members.

Constructors
 NameDescription
Public methodX509CertificateStore Initialize a new instance of the X509CertificateStore class.
Top
Properties
 NameDescription
Public propertyCertificates Enumerates the certificates currently in the store.
Top
Methods
 NameDescription
Public methodAdd Adds the specified certificate to the store.
Public methodAddRange Adds the specified range of certificates to the store.
Public methodEquals
(Inherited from Object)
Public methodExport(Stream) Exports the certificates to an unencrypted stream.
Public methodExport(String) Exports the certificates to an unencrypted file.
Public methodExport(Stream, String) Exports the specified stream and password to a pkcs12 encrypted file.
Public methodExport(String, String) Exports the specified stream and password to a pkcs12 encrypted file.
Protected methodFinalize
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetMatches Gets an enumerator of matching X.509 certificates based on the specified selector.
Public methodGetPrivateKey Gets the private key for the specified certificate.
Public methodGetType
(Inherited from Object)
Public methodImport(Byte) Imports the certificate(s) from the specified byte array.
Public methodImport(Stream) Imports the certificate(s) from the specified stream.
Public methodImport(String) Imports the certificate(s) from the specified file.
Public methodImport(Byte, String) Imports certificates and private keys from the specified byte array.
Public methodImport(Stream, String) Imports certificates and private keys from the specified stream.
Public methodImport(String, String) Imports certificates and private keys from the specified file.
Protected methodMemberwiseClone
(Inherited from Object)
Public methodRemove Removes the specified certificate from the store.
Public methodRemoveRange Removes the specified range of certificates from the store.
Public methodToString
(Inherited from Object)
Top
Remarks
A store for X.509 certificates and keys.
See Also