CMC_STATUS_INFO structure (wincrypt.h)
The CMC_STATUS_INFO structure contains status information about Certificate Management Messages over CMS.
Syntax
typedef struct _CMC_STATUS_INFO {
DWORD dwStatus;
DWORD cBodyList;
DWORD *rgdwBodyList;
LPWSTR pwszStatusString;
DWORD dwOtherInfoChoice;
union {
DWORD dwFailInfo;
PCMC_PEND_INFO pPendInfo;
} DUMMYUNIONNAME;
} CMC_STATUS_INFO, *PCMC_STATUS_INFO;
Members
dwStatus
A DWORD value that indicates the status of the message.
Value | Meaning |
---|---|
|
Request was granted. |
|
Request failed. There is addition information in other parts of the message. |
|
Request body part has not been processed. Requester must poll again. This value is returned only on certificate requests. |
|
Requested operation is not supported. |
|
Confirmation by using the idConfirmCertAcceptance control is required before the certificate can be used. |
cBodyList
A DWORD count of the elements in the rgdwBodyList array.
rgdwBodyList
A DWORD array.
pwszStatusString
Optional string text indicating message status.
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
DUMMYUNIONNAME
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 |
---|---|
|
Unrecognized or unsupported algorithm. |
|
Integrity check failed. |
|
Transaction not permitted or supported. |
|
Message time field was not sufficiently close to the system time. |
|
No certificate could be identified matching the provided criteria. |
|
Requested X.509 extension is not supported by the recipient CA. |
|
Private key material must be supplied. |
|
Identification attribute failed to verify. |
|
Server requires a POP proof before issuing certificate. |
|
POP processing failed. |
|
Server policy does not allow key re-use. |
|
Certification authority (CA) had an internal failure. |
|
Request failed for an unknown reason. The request should be reissued later. |
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | wincrypt.h |