public class NameConstraints extends ASN1Object
Constructor and Description |
---|
NameConstraints(GeneralSubtree[] permitted,
GeneralSubtree[] excluded)
Constructor from a given details.
|
Modifier and Type | Method and Description |
---|---|
GeneralSubtree[] |
getExcludedSubtrees() |
static NameConstraints |
getInstance(java.lang.Object obj) |
GeneralSubtree[] |
getPermittedSubtrees() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public NameConstraints(GeneralSubtree[] permitted, GeneralSubtree[] excluded)
permitted and excluded are arrays of GeneralSubtree objects.
permitted
- Permitted subtreesexcluded
- Excludes subtreespublic static NameConstraints getInstance(java.lang.Object obj)
public GeneralSubtree[] getPermittedSubtrees()
public GeneralSubtree[] getExcludedSubtrees()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object