Package org.bouncycastle.asn1.x509
Class NameConstraints
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.NameConstraints
- All Implemented Interfaces:
ASN1Encodable
public class NameConstraints extends ASN1Object
-
Constructor Summary
Constructors Constructor Description NameConstraints(GeneralSubtree[] permitted, GeneralSubtree[] excluded)Constructor from a given details. -
Method Summary
Modifier and Type Method Description GeneralSubtree[]getExcludedSubtrees()static NameConstraintsgetInstance(Object obj)GeneralSubtree[]getPermittedSubtrees()ASN1PrimitivetoASN1Primitive()Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
-
Constructor Details
-
NameConstraints
Constructor from a given details.permitted and excluded are arrays of GeneralSubtree objects.
- Parameters:
permitted- Permitted subtreesexcluded- Excludes subtrees
-
-
Method Details
-
getInstance
-
getPermittedSubtrees
-
getExcludedSubtrees
-
toASN1Primitive
- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object
-