public class Restriction extends ASN1Object
RestrictionSyntax ::= DirectoryString (SIZE(1..1024))
Constructor and Description |
---|
Restriction(java.lang.String restriction)
Constructor from a given details.
|
Modifier and Type | Method and Description |
---|---|
static Restriction |
getInstance(java.lang.Object obj) |
DirectoryString |
getRestriction() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public Restriction(java.lang.String restriction)
restriction
- The describtion of the restriction.public static Restriction getInstance(java.lang.Object obj)
public DirectoryString getRestriction()
public ASN1Primitive toASN1Primitive()
Returns:
RestrictionSyntax ::= DirectoryString (SIZE(1..1024))
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object