Mentalis.org Security Library documentation

CertificateStore Methods

The methods of the CertificateStore class are listed below. For a complete list of CertificateStore class members, see the CertificateStore Members topic.

Public Static (Shared) Methods

CreateFromCerFile Creates a new certificate store from a certificate file.
CreateFromPfxFileOverloaded. Creates a new certificate store from a PFX/P12 encoded file.

Public Instance Methods

AddCertificate Adds a Certificate to the CertificateStore.
DeleteCertificate Deletes a Certificate from the CertificateStore.
EnumCertificatesOverloaded. Enumerates all the certificates in the store.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FindCertificateOverloaded. Returns the first certificate from the CertificateStore.
FindCertificateByHashOverloaded. Finds a certificate with a matching hash.
FindCertificateByKeyIdentifier Finds a certificate with a matching key identifier.
FindCertificateBySubjectNameOverloaded. Finds a certificate with a matching subject name.
FindCertificateBySubjectStringOverloaded. Finds a certificate with a subject that contains a specified string.
FindCertificateByUsageOverloaded. Finds a certificate having an enhanced key extension that matches one of the keyUsage members.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
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 (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize Disposes of the CertificateStore.
InitStore Initializes a new CertificateStore from a given handle.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

CertificateStore Class | Org.Mentalis.Security.Certificates Namespace