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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for