X509CertificateStore Members

Provides access to an X.509 certificate store on the local computer.

The following tables list the members exposed by the X509CertificateStore type.

Public Constructors

  Name Description
X509CertificateStore Creates a new X509CertificateStore with the specified provider, location and store.

Top

Public Fields

  Name Description
public field static CAStore Represents the predefined system certificate store "CA". This field is constant.
public field static MyStore Represents the predefined system certificate store "My". This field is constant.
public field static OtherPeople Represents the predefined system certificate store "AddressBook". This field is constant.
public field static RootStore Represents the predefined system certificate store "Root". This field is constant.
public field static TrustStore Represents the predefined system certificate store "Trust". This field is constant.
public field static UnTrustedStore Represents the untrusted certificate store. This field is constant.

Top

Public Properties

  Name Description
public property Certificates Gets all the certificates in the certificate store.
public property Handle Gets the handle to the certificate store.
public property Location Gets the location of the certificate store.

Top

Public Methods

(see also Protected Methods )

  Name Description
public method Close Closes the certificate store.
public method static CurrentUserStore Creates a new X509CertificateStore using the specified name, a location of CurrentUser, and a store provider of System.
public method Dispose Releases all resources used by the X509CertificateStore.
public method Equals  (inherited from Object )
public method FindCertificateByHash Finds a X509Certificate object in the store using the certificate's (SHA-1) hash value.
public method FindCertificateByKeyIdentifier Finds a X509Certificate object in the store using the specified key identifier.
public method FindCertificateBySubjectName Finds a X509Certificate object in the store using the certificate's name value.
public method FindCertificateBySubjectString Finds an X509Certificate in the store using the certificate's name value. This search uses substring matching.
public method GetHashCode  (inherited from Object )
public method GetType  (inherited from Object )
public method static LocalMachineStore Creates a new X509CertificateStore using the specified name, a location of LocalMachine, and a store provider of System.
public method Open Opens the certificate store for read/write access.
public method OpenRead Opens the certificate store for read-only access.
public method ToString  (inherited from Object )

Top

Protected Methods

  Name Description
protected method Finalize Overridden. Closes the certificate store if it is open.
protected method MemberwiseClone  (inherited from Object )

Top

See Also

Reference

X509CertificateStore Class
Microsoft.Web.Services2.Security.X509 Namespace