X509Store Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents an X.509 store, which is a physical store where certificates are persisted and managed. This class cannot be inherited.

System..::..Object
  System.Security.Cryptography.X509Certificates..::..X509Store

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  System.Security (in System.Security.dll)

public sealed class X509Store

The X509Store type exposes the following members.

  NameDescription
Public methodX509Store(Session)Initializes a new instance of the X509Store class using the personal certificates of the current user store.
Public methodX509Store(Session, StoreName)Initializes a new instance of the X509Store class using the specified StoreName value.
Top

  NameDescription
Public propertyCertificatesReturns a collection of certificates located in an X.509 certificate store.
Public propertyNameGets the name of the X.509 certificate store.
Top

  NameDescription
Public methodAdd(X509Certificate2)Adds a certificate to an X.509 certificate store.
Public methodAdd(X509Certificate2, String)Adds a certificate with a friendly name to an X.509 certificate store.
Public methodCloseCloses an X.509 certificate store.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodOpenOpens an X.509 certificate store or creates a new store, depending on OpenFlags flag settings.
Public methodRemoveRemoves a certificate from an X.509 certificate store.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Use this class to work with an X.509 store.

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