INDESPolicy::GenerateChallenge method (certpol.h)

Performs the policy decision whether to issue a challenge password to the SCEP client.

Syntax

HRESULT GenerateChallenge(
  PCWSTR pwszTemplate,
  PCWSTR pwszParams,
  PWSTR  *ppwszResponse
);

Parameters

pwszTemplate

The template being requested for, as determined by NDES.

pwszParams

Parameters specific to the policy module implementation.

ppwszResponse

After the user has been authenticated and authorized, the ppwsxResponse parameter contains the SCEP challenge password for the user. NDES will free this resource.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Target Platform Windows
Header certpol.h

See also

INDESPolicy