次の方法で共有


CERT_BASIC_CONSTRAINTS2_INFO (Windows CE 5.0)

Send Feedback

This structure contains information indicating whether the certified subject can act as a certification authority (CA) or an end entity. If the subject can act as a CA, a certification path length constraint can also be specified.

The CryptDecodeObject function creates an instance of this structure when performed on a CERT_EXTENSION structure's Value member with the structure's pszObjId member set to szOID_BASIC_CONSTRAINTS2.

An instance of this structure can be used as input to the CryptEncodeObject function to create an appropriate CERT_EXTENSION structure.

typedef struct _CERT_BASIC_CONSTRAINTS2_INFO {BOOLfCA;BOOLfPathLenConstraint;DWORDdwPathLenConstraint;} CERT_BASIC_CONSTRAINTS2_INFO, *PCERT_BASIC_CONSTRAINTS2_INFO;

Members

  • fCA
    Boolean value indicating whether the certificate subject can act as a certification authority (CA).
  • fPathLenConstraint
    Boolean indicating whether the dwPathLenConstraint field limits the maximum length of the certification path. Used only if fCA is TRUE.
  • dwPathLenConstraint
    Maximum number of CA certificates that can follow this certificate in a certification path. A value of zero indicates that the subject of this certificate can issue certificates only to end entities and not to other CAs. Used only if both fCA and fPathLenConstraint are TRUE.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Wincrypt.h.

See Also

CERT_EXTENSION

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.