Skip to content

Latest commit

 

History

History
313 lines (269 loc) · 8.09 KB

ns-wincrypt-cmc_status_info.md

File metadata and controls

313 lines (269 loc) · 8.09 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:wincrypt._CMC_STATUS_INFO
CMC_STATUS_INFO (wincrypt.h)
Contains status information about Certificate Management Messages over CMS.
*PCMC_STATUS_INFO
CMC_FAIL_BAD_ALG
CMC_FAIL_BAD_CERT_ID
CMC_FAIL_BAD_IDENTITY
CMC_FAIL_BAD_MESSAGE_CHECK
CMC_FAIL_BAD_REQUEST
CMC_FAIL_BAD_TIME
CMC_FAIL_INTERNAL_CA_ERROR
CMC_FAIL_MUST_ARCHIVE_KEYS
CMC_FAIL_NO_KEY_REUSE
CMC_FAIL_POP_FAILED
CMC_FAIL_POP_REQUIRED
CMC_FAIL_TRY_LATER
CMC_FAIL_UNSUPORTED_EXT
CMC_STATUS_CONFIRM_REQUIRED
CMC_STATUS_FAILED
CMC_STATUS_INFO
CMC_STATUS_INFO structure [Security]
CMC_STATUS_NO_SUPPORT
CMC_STATUS_PENDING
CMC_STATUS_SUCCESS
PCMC_STATUS_INFO
PCMC_STATUS_INFO structure pointer [Security]
_crypto2_cmc_status_info
security.cmc_status_info
wincrypt/CMC_STATUS_INFO
wincrypt/PCMC_STATUS_INFO
security\cmc_status_info.htm
security
008f6de4-bad2-4c63-ba64-8d42ae71d50a
12/05/2018
*PCMC_STATUS_INFO, CMC_FAIL_BAD_ALG, CMC_FAIL_BAD_CERT_ID, CMC_FAIL_BAD_IDENTITY, CMC_FAIL_BAD_MESSAGE_CHECK, CMC_FAIL_BAD_REQUEST, CMC_FAIL_BAD_TIME, CMC_FAIL_INTERNAL_CA_ERROR, CMC_FAIL_MUST_ARCHIVE_KEYS, CMC_FAIL_NO_KEY_REUSE, CMC_FAIL_POP_FAILED, CMC_FAIL_POP_REQUIRED, CMC_FAIL_TRY_LATER, CMC_FAIL_UNSUPORTED_EXT, CMC_STATUS_CONFIRM_REQUIRED, CMC_STATUS_FAILED, CMC_STATUS_INFO, CMC_STATUS_INFO structure [Security], CMC_STATUS_NO_SUPPORT, CMC_STATUS_PENDING, CMC_STATUS_SUCCESS, PCMC_STATUS_INFO, PCMC_STATUS_INFO structure pointer [Security], _crypto2_cmc_status_info, security.cmc_status_info, wincrypt/CMC_STATUS_INFO, wincrypt/PCMC_STATUS_INFO
wincrypt.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
CMC_STATUS_INFO, *PCMC_STATUS_INFO
19H1
_CMC_STATUS_INFO
wincrypt/_CMC_STATUS_INFO
PCMC_STATUS_INFO
wincrypt/PCMC_STATUS_INFO
CMC_STATUS_INFO
wincrypt/CMC_STATUS_INFO
c++
APIRef
kbSyntax
HeaderDef
Wincrypt.h
CMC_STATUS_INFO

CMC_STATUS_INFO structure

-description

The CMC_STATUS_INFO structure contains status information about Certificate Management Messages over CMS.

-struct-fields

-field dwStatus

A DWORD value that indicates the status of the message.

Value Meaning
CMC_STATUS_SUCCESS
0
Request was granted.
CMC_STATUS_FAILED
2
Request failed. There is addition information in other parts of the message.
CMC_STATUS_PENDING
3
Request body part has not been processed. Requester must poll again. This value is returned only on certificate requests.
CMC_STATUS_NO_SUPPORT
4
Requested operation is not supported.
CMC_STATUS_CONFIRM_REQUIRED
5
Confirmation by using the idConfirmCertAcceptance control is required before the certificate can be used.

-field cBodyList

A DWORD count of the elements in the rgdwBodyList array.

-field rgdwBodyList

A DWORD array.

-field pwszStatusString

Optional string text indicating message status.

-field dwOtherInfoChoice

A DWORD value that identifies the union member to be used.

This member can be one of the following values:

  • CMC_OTHER_INFO_NO_CHOICE
  • CMC_OTHER_INFO_FAIL_CHOICE
  • CMC_OTHER_INFO_PENDING_CHOICE

-field DUMMYUNIONNAME

-field DUMMYUNIONNAME.dwFailInfo

A DWORD member of the union. This member is used if dwOtherInfoChoice is CMC_OTHER_INFO_FAIL_CHOICE. The following values are returned for various failures.

Value Meaning
CMC_FAIL_BAD_ALG
0
Unrecognized or unsupported algorithm.
CMC_FAIL_BAD_MESSAGE_CHECK
1
Integrity check failed.
CMC_FAIL_BAD_REQUEST
2
Transaction not permitted or supported.
CMC_FAIL_BAD_TIME
3
Message time field was not sufficiently close to the system time.
CMC_FAIL_BAD_CERT_ID
4
No certificate could be identified matching the provided criteria.
CMC_FAIL_UNSUPORTED_EXT
5
Requested X.509 extension is not supported by the recipient CA.
CMC_FAIL_MUST_ARCHIVE_KEYS
6
Private key material must be supplied.
CMC_FAIL_BAD_IDENTITY
7
Identification attribute failed to verify.
CMC_FAIL_POP_REQUIRED
8
Server requires a POP proof before issuing certificate.
CMC_FAIL_POP_FAILED
9
POP processing failed.
CMC_FAIL_NO_KEY_REUSE
10
Server policy does not allow key re-use.
CMC_FAIL_INTERNAL_CA_ERROR
11
Certification authority (CA) had an internal failure.
CMC_FAIL_TRY_LATER
12
Request failed for an unknown reason. The request should be reissued later.

-field DUMMYUNIONNAME.pPendInfo

A pointer to the CMC_PEND_INFO structure member of the union. This member is used if dwOtherInfoChoice is CMC_OTHER_INFO_PEND_CHOICE.

-remarks

Additional members of the union may be defined in future versions.