Redigera

Dela via


X509BasicConstraintsExtension.CreateForEndEntity(Boolean) Method

Definition

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