<PackageReference Include="BouncyCastle.Cryptography" Version="2.7.0" />

Org.BouncyCastle.Asn1.X509.NameConstraints

namespace Org.BouncyCastle.Asn1.X509 { public class NameConstraints : Asn1Encodable { public Asn1Sequence PermittedSubtrees { get; } public GeneralSubtrees PermittedSubtreesValue { get; } public Asn1Sequence ExcludedSubtrees { get; } public GeneralSubtrees ExcludedSubtreesValue { get; } public static NameConstraints GetInstance(object obj); public static NameConstraints GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit); public static NameConstraints GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit); public NameConstraints(Asn1Sequence seq); public NameConstraints(GeneralSubtrees permittedSubtrees, GeneralSubtrees excludedSubtrees); public NameConstraints(GeneralSubtree[] permitted, GeneralSubtree[] excluded); public NameConstraints(IList<GeneralSubtree> permitted, IList<GeneralSubtree> excluded); public NameConstraints(IReadOnlyCollection<GeneralSubtree> permitted, IReadOnlyCollection<GeneralSubtree> excluded); } }