Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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.
Inheritance Hierarchy
System. . :: . .Object
System.Security.Cryptography.X509Certificates..::..X509Store
Namespace: System.Security.Cryptography.X509Certificates
Assembly: System.Security (in System.Security.dll)
Syntax
'Declaration
Public NotInheritable Class X509Store
public sealed class X509Store
public ref class X509Store sealed
[<Sealed>]
type X509Store = class end
public final class X509Store
The X509Store type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
X509Store(Session) | Initializes a new instance of the X509Store class using the personal certificates of the current user store. |
![]() |
X509Store(Session, StoreName) | Initializes a new instance of the X509Store class using the specified StoreName value. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Certificates | Returns a collection of certificates located in an X.509 certificate store. |
![]() |
Name | Gets the name of the X.509 certificate store. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Add(X509Certificate2) | Adds a certificate to an X.509 certificate store. |
![]() |
Add(X509Certificate2, String) | Adds a certificate with a friendly name to an X.509 certificate store. |
![]() |
Close | Closes an X.509 certificate store. |
![]() |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Open | Opens an X.509 certificate store or creates a new store, depending on OpenFlags flag settings. |
![]() |
Remove | Removes a certificate from an X.509 certificate store. |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
Use this class to work with an X.509 store.
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.