Click or drag to resize

X509NameConstraintsExtension Constructor (X509AlternativeNameCollection, X509AlternativeNameCollection)

Intitializes a new instance of X509NameConstraintsExtension class from a collection of explicitly permitted and excluded subtrees. Name Constraints extension is always marked critical.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public X509NameConstraintsExtension(
	X509AlternativeNameCollection permittedSubtree,
	X509AlternativeNameCollection excludedSubtree
)

Parameters

permittedSubtree
Type: System.Security.Cryptography.X509CertificatesX509AlternativeNameCollection
A collection of explicitly permitted names and name patterns.
excludedSubtree
Type: System.Security.Cryptography.X509CertificatesX509AlternativeNameCollection
A collection of explicitly disallowed names and name patterns.
Exceptions
ExceptionCondition
ArgumentExceptionpermittedSubtree and excludedSubtree parameters are null;
Remarks
Each subtree alone is optional. However, at least one subtree must be provided.
See Also