Class NameConstraints
- Namespace
- Org.BouncyCastle.Asn1.X509
- Assembly
- BouncyCastle.Cryptography.dll
public class NameConstraints : Asn1Encodable, IAsn1Convertible
- Inheritance
-
NameConstraints
- Implements
-
- Inherited Members
-
Constructors
NameConstraints(Asn1Sequence)
[Obsolete("Use 'GetInstance' instead")]
public NameConstraints(Asn1Sequence seq)
Parameters
seq Asn1Sequence
NameConstraints(IList<GeneralSubtree>, IList<GeneralSubtree>)
public NameConstraints(IList<GeneralSubtree> permitted, IList<GeneralSubtree> excluded)
Parameters
permitted IList<GeneralSubtree>
excluded IList<GeneralSubtree>
NameConstraints(IReadOnlyCollection<GeneralSubtree>, IReadOnlyCollection<GeneralSubtree>)
public NameConstraints(IReadOnlyCollection<GeneralSubtree> permitted, IReadOnlyCollection<GeneralSubtree> excluded)
Parameters
permitted IReadOnlyCollection<GeneralSubtree>
excluded IReadOnlyCollection<GeneralSubtree>
Properties
ExcludedSubtrees
public Asn1Sequence ExcludedSubtrees { get; }
Property Value
- Asn1Sequence
PermittedSubtrees
public Asn1Sequence PermittedSubtrees { get; }
Property Value
- Asn1Sequence
Methods
GetInstance(Asn1TaggedObject, bool)
public static NameConstraints GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)
Parameters
taggedObject Asn1TaggedObject
declaredExplicit bool
Returns
- NameConstraints
GetInstance(object)
public static NameConstraints GetInstance(object obj)
Parameters
obj object
Returns
- NameConstraints
GetTagged(Asn1TaggedObject, bool)
public static NameConstraints GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)
Parameters
taggedObject Asn1TaggedObject
declaredExplicit bool
Returns
- NameConstraints
ToAsn1Object()
public override Asn1Object ToAsn1Object()
Returns
- Asn1Object