Enumerates all the certificates in the store.
Namespace: LLCryptoLib.Security.CertificatesAssembly: 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
| Exception | Condition |
|---|
| System..::..ArgumentNullException | keyUsage is a null reference (Nothing in Visual Basic). |
| System..::..ArgumentException | keyUsage is invalid. |
See Also