ICertificateAttestationChallenge::Initialize method (certenroll.h)

Initialize using the full Certificate Management over CMS (CMC) response returned from the CA.

Syntax

HRESULT Initialize(
  [in] EncodingType Encoding,
  [in] BSTR         strPendingFullCmcResponseWithChallenge
);

Parameters

[in] Encoding

An EncodingType enumeration value that specifies the type of Unicode-encoding applied to the response. The default value is XCN_CRYPT_STRING_BASE64.

[in] strPendingFullCmcResponseWithChallenge

The pending CMC response from the CA.

Return value

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

Remarks

The CA should have returned a pending CMC response. The content of the CMC response should contain a challenge. There must be only one CMC response and it must contain pending information.

Requirements

Requirement Value
Target Platform Windows
Header certenroll.h
DLL Certenroll.dll

See also

ICertificateAttestationChallenge