CertificateStore Class
Namespace: Rebex.Security.Certificates
Assembly: Rebex.Common.dll (version 7.0.9083)
Represents a certificate store.
Syntax
public sealed class CertificateStore : IEnumerable<Certificate>, IEnumerable, IDisposable
Inherited Members
Constructors
Name | Description |
---|---|
CertificateStore(CertificateStoreName) | Opens a system certificate store of the specified name. |
CertificateStore(CertificateStoreName, CertificateStoreLocation) | Opens a system certificate store of the specified name and the specified location. |
CertificateStore(CertificateStoreName, CertificateStoreLocation, CertificateStoreOpenFlags) | Opens a certificate store of the specified name and the specified location. |
CertificateStore(CertificateStoreName, CertificateStoreOpenFlags) | Opens a system certificate store of the specified name. |
CertificateStore(ICollection) | Creates a temporary memory-based certificate store and populates it with certificates from the specified collection. |
CertificateStore(String) | Opens a certificate store of the specified name. |
CertificateStore(String, CertificateStoreLocation) | Opens a certificate store of the specified name and the specified location. |
CertificateStore(String, CertificateStoreLocation, CertificateStoreOpenFlags) | Opens a certificate store of the specified name and the specified location. |
CertificateStore(String, CertificateStoreOpenFlags) | Opens a certificate store of the specified name. |
Properties
Name | Description |
---|---|
Handle | Gets a handle of the certificate store. |
Methods
Name | Description |
---|---|
Add(Certificate) | Adds a certificate to this certificate store. |
Dispose() | Disposes the object and releases resources. |
Exists(CertificateStoreName) | Determines whether the specified certificate store exists. |
Exists(CertificateStoreName, CertificateStoreLocation) | Determines whether the specified certificate store exists. |
Exists(String) | Determines whether the specified certificate store exists. |
Exists(String, CertificateStoreLocation) | Determines whether the specified certificate store exists. |
Finalize() | Finalizer called by garbage collector. |
FindCertificates(Certificate, CertificateFindOptions) | Returns all certificates matching the specified certificate and options. |
FindCertificates(CertificateFindOptions) | Returns all certificates corresponding to the specified options. |
FindCertificates(CertificateFindType, Byte[], CertificateFindOptions) | Returns all certificates matching the specified criteria. |
FindCertificates(DistinguishedName, CertificateFindOptions) | Returns all certificates issued by the specified issuer (or its subordinate issuer) and corresponding to the specified options. |
FindCertificates(DistinguishedName, Byte[], CertificateFindOptions) | Returns all certificates with the specified serial number issued by the specified issuer (or its subordinate issuer) and corresponding to the specified options. |
FindCertificates(DistinguishedName[], CertificateFindOptions) | Returns all certificates issued by one of specified issuers (or their subordinate issuer) and corresponding to the specified options. |
FindCertificates(DistinguishedName[], Byte[], CertificateFindOptions) | Returns all certificates issued by one of specified issuers (or their subordinate issuer) and corresponding to the specified options. |
FindCertificatesForMailAddress(String) | Returns all certificates corresponding to the specified e-mail address. |
FindCertificatesForMailAddress(String, CertificateFindOptions) | Returns all certificates corresponding to the specified e-mail address and options. |
Remove(Certificate) | Removes a certificate from this certificate store. |
Explicit Interface Implementations
Name | Description |
---|---|
IEnumerable<Certificate>.GetEnumerator() | Returns an enumerator that iterates through the CertificateStore. |
IEnumerable.GetEnumerator() | Returns an enumerator that iterates through the CertificateStore. |