X509NameConstraintsExtension(X509AlternativeNameCollection, X509AlternativeNameCollection) Constructor
Initializes a new instance of X509NameConstraintsExtension class from
a collection of explicitly permitted and excluded subtrees. Name Constraints extension is
always marked critical.
Namespace: SysadminsLV.PKI.Cryptography.X509CertificatesAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
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 X509AlternativeNameCollection
- A collection of explicitly permitted names and name patterns.
- excludedSubtree X509AlternativeNameCollection
- A collection of explicitly disallowed names and name patterns.
Each subtree alone is optional. However, at least one subtree must be provided.