BasicConstraints object
[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.
When to use
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.
Members
The BasicConstraints object has these types of members:
Properties
The BasicConstraints object has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only |
Retrieves a Boolean value that indicates whether the certificate is for a certification authority (CA). | |
| Read-only |
Retrieves a Boolean value that indicates whether the basic constraint extension is marked critical. | |
| Read-only |
Retrieves a Boolean value that indicates whether the certificate's path length constraint is present. | |
| Read-only |
Retrieves a Boolean value that indicates whether the basic constraints extension is present. This is the default property. | |
| Read-only |
Retrieves the value of the path length constraint. |
Remarks
The BasicConstraints object cannot be created.
Requirements
|
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 |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012