Enumerates all the certificates in the store.

Namespace: LLCryptoLib.Security.Certificates
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public Certificate[] EnumCertificates(
	string[] keyUsage
)
Visual Basic
Public Function EnumCertificates ( _
	keyUsage As String() _
) As Certificate()
Visual C++
public:
array<Certificate^>^ EnumCertificates(
	array<String^>^ keyUsage
)

Parameters

keyUsage
Type: array<System..::..String>[]()[][]
The list of enhanced key usages to search for.

Return Value

An array of Certificate instances.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionkeyUsage is a null reference (Nothing in Visual Basic).
System..::..ArgumentExceptionkeyUsage is invalid.

See Also