X509BasicConstraintsExtension.CreateForEndEntity(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an instance of X509BasicConstraintsExtension appropriate for an end-entity certificate, optionally marking the extension as critical.
public static System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension CreateForEndEntity (bool critical = false);
static member CreateForEndEntity : bool -> System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension
Public Shared Function CreateForEndEntity (Optional critical As Boolean = false) As X509BasicConstraintsExtension
Parameters
- critical
- Boolean
true
to mark the extension as critical; false
otherwise.
The default is false
.
Returns
The configured basic constraints extension.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.