The CertificateStore type exposes the following members.

Constructors

  NameDescription
Protected methodCertificateStore()()()()
Initializes a store without certificate validation criteria.
Protected methodCertificateStore(Predicate<(Of <<'(X509Certificate2>)>>))
Initializes a store with the supplied criteria for validating added certificates.

Methods

  NameDescription
Public methodAdd(IEnumerable<(Of <<'(X509Certificate2>)>>))
Adds certificates to this store from certs.
Public methodAdd(X509Certificate2)
Adds the supplied cert to this store
Public methodAdd(X509Certificate2Collection)
Adds certificates to this store from certs.
Public methodContains
Tests if this store contains the supplied cert
Public methodCopyFrom(X509Store)
Adds certificates from source that meet this store's criteria
Public methodCopyFrom(X509Store, Predicate<(Of <<'(X509Certificate2>)>>))
Adds certificates from source that meet the supplied criteria
Public methodDispose
Frees resources for this instance.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExportKeyFile
Exports this store as a keyfile
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAllCertificates
Gets all certificates for this store.
Public methodGetCertificates
Gets the certificate for the specified address
Public methodGetEnumerator
Gets an enumeration of the certificates for this store.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImportKeyFile(String, X509KeyStorageFlags)
Adds certificates to this store from a keyfile.
Public methodImportKeyFile(String, String, X509KeyStorageFlags)
Adds certificates to this store from a keyfile.
Public methodIndex
Returns a CertificateIndex from this store
Public methodMatchesCriteria
Tests if a certificate matches the validity criteria for this store.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove(IEnumerable<(Of <<'(X509Certificate2>)>>))
Removes an enumeration of certificates from this store.
Public methodRemove(X509Certificate2)
Removes the supplied cert from this store
Public methodRemove(X509Certificate2Collection)
Removes a collection of certificates from this store.
Public methodRemove(String)
Removes all certificates matching a subject name.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodUpdate(IEnumerable<(Of <<'(X509Certificate2>)>>))
Updates certificates in this store.
Public methodUpdate(X509Certificate2)
Updates a specified certificate.
Protected methodValidateCriteria
Validates the cert against this store's criteria.

Properties

  NameDescription
Public propertyCriteria
Gets and sets the validation criteria for certficates in this store.
Public propertyItem
Indexes this store by subject name.

See Also