The CertificateStore type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | CertificateStore()()()() |
Initializes a new temporary CertificateStore in memory.
|
![]() | CertificateStore(IEnumerable) |
Initializes a new temporary CertificateStore in memory and adds the specified certificates to it.
|
![]() | CertificateStore(IntPtr) |
Initializes a new CertificateStore from a given handle.
|
![]() | CertificateStore(String) |
Initializes a new CertificateStore from a given store name.
|
![]() | CertificateStore(CertificateStore) |
Duplicates an exisiting CertificateStore.
|
![]() | CertificateStore(array<Byte>[]()[][], CertificateStoreType) |
Opens a serialized certificate store or a certificate store with signed PKCS7 messages.
|
![]() | CertificateStore(IntPtr, Boolean) |
Initializes a new CertificateStore from a given handle.
|
![]() | CertificateStore(StoreLocation, String) |
Initializes a new CertificateStore from a given store name and a given store location.
|
Methods
Name | Description | |
---|---|---|
![]() | AddCertificate |
Adds a Certificate to the CertificateStore.
|
![]() ![]() | CreateFromCerFile |
Creates a new certificate store from a certificate file.
|
![]() ![]() | CreateFromPfxFile(array<Byte>[]()[][], String) |
Creates a new certificate store from a PFX/P12 encoded file.
|
![]() ![]() | CreateFromPfxFile(String, String) |
Creates a new certificate store from a PFX/P12 encoded file.
|
![]() ![]() | CreateFromPfxFile(array<Byte>[]()[][], String, Boolean) |
Creates a new certificate store from a PFX/P12 encoded file.
|
![]() ![]() | CreateFromPfxFile(String, String, Boolean) |
Creates a new certificate store from a PFX/P12 encoded file.
|
![]() ![]() | CreateFromPfxFile(array<Byte>[]()[][], String, Boolean, KeysetLocation) |
Creates a new certificate store from a PFX/P12 encoded file.
|
![]() ![]() | CreateFromPfxFile(String, String, Boolean, KeysetLocation) |
Creates a new certificate store from a PFX/P12 encoded file.
|
![]() | DeleteCertificate |
Deletes a Certificate from the CertificateStore.
|
![]() | EnumCertificates()()()() |
Enumerates all the certificates in the store.
|
![]() | EnumCertificates(array<String>[]()[][]) |
Enumerates all the certificates in the store.
|
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize |
Disposes of the CertificateStore.
(Overrides Object..::..Finalize()()()().) |
![]() | FindCertificate()()()() |
Returns the first certificate from the CertificateStore.
|
![]() | FindCertificate(Certificate) |
Returns a certificate from the CertificateStore.
|
![]() | FindCertificateByHash(array<Byte>[]()[][]) |
Finds a certificate with a matching hash.
|
![]() | FindCertificateByHash(array<Byte>[]()[][], HashType) |
Finds a certificate with a matching hash.
|
![]() | FindCertificateByKeyIdentifier |
Finds a certificate with a matching key identifier.
|
![]() | FindCertificateBySubjectName(String) |
Finds a certificate with a matching subject name.
|
![]() | FindCertificateBySubjectName(String, Certificate) |
Finds a certificate with a matching subject name.
|
![]() | FindCertificateBySubjectString(String) |
Finds a certificate with a subject that contains a specified string.
|
![]() | FindCertificateBySubjectString(String, Certificate) |
Finds a certificate with a subject that contains a specified string.
|
![]() | FindCertificateByUsage(array<String>[]()[][]) |
Finds a certificate having an enhanced key extension that matches one of the keyUsage members.
|
![]() | FindCertificateByUsage(array<String>[]()[][], Certificate) |
Finds a certificate having an enhanced key extension that matches one of the keyUsage members.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InitStore |
Initializes a new CertificateStore from a given handle.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToCerBuffer |
Saves the CertificateStore in a buffer.
|
![]() | ToCerFile |
Saves the CertificateStore in a file.
|
![]() | ToPfxBuffer |
Saves the CertificateStore as a PFX encoded file.
|
![]() | ToPfxFile |
Saves the CertificateStore as a PFX encoded file.
|
![]() | ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() ![]() | CAStore | Represents the predefined system certificate store "CA". This field is constant. |
![]() ![]() | MyStore | Represents the predefined system certificate store "My". This field is constant. |
![]() ![]() | RootStore | Represents the predefined system certificate store "Root". This field is constant. |
![]() ![]() | SoftwarePublisherStore | Represents the software publisher certificate store. This field is constant. |
![]() ![]() | TrustStore | Represents the predefined system certificate store "Trust". This field is constant. |
![]() ![]() | UnTrustedStore | Represents the untrusted certificate store. This field is constant. |
Properties
Name | Description | |
---|---|---|
![]() | Handle |
Gets the handle of the CertificateStore.
|