IMSCEPSetup::GetKeyLengthList method

The GetKeyLengthList method gets the list of key lengths supported by the specified cryptographic service provider (CSP).

Syntax


HRESULT GetKeyLengthList(
  [in]        VARIANT_BOOL bExchange,
  [in]  const BSTR         bstrProviderName,
  [out]       VARIANT      *pVal
);

Parameters

bExchange [in]

A value that indicates whether the listed lengths are for an exchange key algorithm. A VARIANT_TRUE value indicates exchange key lengths; otherwise, the lengths are for signing keys.

bstrProviderName [in]

A string that contains the name of the CSP.

pVal [out]

A pointer to a VARIANT array of VT_UI4 types that correspond to the key lengths supported by the CSP.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise [desktop apps only]

Header

Casetup.h

IDL

Casetup.idl

DLL

Certocm.dll

IID

IID_IMSCEPSetup is defined as 4f7761bb-9f3b-4592-9ee0-9a73259c313e

See also

IMSCEPSetup

 

 

Show: