ICertSrvSetup::GetPrivateKeyContainerList method (casetup.h)

The GetPrivateKeyContainerList method gets the list of key container names stored by the specified cryptographic service provider (CSP) for asymmetric signature key algorithms. This method does not change the state of the CCertSrvSetup object.

Syntax

HRESULT GetPrivateKeyContainerList(
  [in]  const BSTR bstrProviderName,
  [out] VARIANT    *pVal
);

Parameters

[in] bstrProviderName

A string that contains the name of the provider. For key storage providers, this must be in the form PublicKeyAlgorithmName#KeyStorageProviderName for example "RSA#Microsoft Software Key Storage provider".

[out] pVal

A pointer to a VARIANT array of VT_BSTR types, where each string represents the name of a key container used by the specified CSP.

Return value

None

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header casetup.h
DLL Certocm.dll

See also

ICertSrvSetup