X509BasicConstraintsExtension.CreateForEndEntity(Boolean) 方法

定义

创建适用于最终实体证书的 X509BasicConstraintsExtension 实例,可以选择将扩展标记为关键。

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

参数

critical
Boolean

true 将扩展标记为严重; false 否则。 默认为 false

返回

配置的基本约束扩展。

适用于