INDESPolicy::GenerateChallenge method (certpol.h)

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


HRESULT GenerateChallenge(
  [in]          PCWSTR pwszTemplate,
  [in]          PCWSTR pwszParams,
  [out, retval] PWSTR  *ppwszResponse


[in] pwszTemplate

The template being requested for, as determined by NDES.

[in] pwszParams

Parameters specific to the policy module implementation.

[out, retval] 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.


Target Platform Windows
Header certpol.h

See also