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
)
Public Sub New (
permittedSubtree As X509AlternativeNameCollection,
excludedSubtree As X509AlternativeNameCollection
)
public:
X509NameConstraintsExtension(
X509AlternativeNameCollection^ permittedSubtree,
X509AlternativeNameCollection^ excludedSubtree
)
new :
permittedSubtree : X509AlternativeNameCollection *
excludedSubtree : X509AlternativeNameCollection -> X509NameConstraintsExtension
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 Exception | Condition |
---|
ArgumentException | permittedSubtree and excludedSubtree parameters are null;
|
Remarks Each subtree alone is optional. However, at least one subtree must be provided.
See Also