description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Represents the basic constraints extension of a certificate. |
c21794f6-7654-4140-8114-0edb398d6de8 |
BasicConstraints object |
reference |
05/31/2018 |
|
|
|
|
[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, Windows XP. Instead, use the X509BasicConstraintsExtension Class in the System.Security.Cryptography.X509Certificates namespace.]
The BasicConstraints object represents the basic constraints extension of a certificate.
The BasicConstraints object is used to perform the following tasks:
- Determine whether the basic constraints extension is present.
- Determine whether the basic constraints extension is marked critical.
- Determine whether the certificate is constrained to certificate authorities.
- Determine whether the path length constraint is present and retrieve the path length constraint value.
The BasicConstraints object has these types of members:
The BasicConstraints object has these properties.
Property | Access type | Description |
---|---|---|
IsCertificateAuthority |
Read-only |
Retrieves a Boolean value that indicates whether the certificate is for a certification authority (CA). |
IsCritical |
Read-only |
Retrieves a Boolean value that indicates whether the basic constraint extension is marked critical. |
IsPathLenConstraintPresent |
Read-only |
Retrieves a Boolean value that indicates whether the certificate's path length constraint is present. |
IsPresent |
Read-only |
Retrieves a Boolean value that indicates whether the basic constraints extension is present. This is the default property. |
PathLenConstraint |
Read-only |
Retrieves the value of the path length constraint. |
The BasicConstraints object cannot be created.
Requirement | Value |
---|---|
End of client support |
Windows Vista |
End of server support |
Windows Server 2008 |
Redistributable |
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP |
DLL |
|