public class Restriction extends ASN1Object
RestrictionSyntax ::= DirectoryString (SIZE(1..1024))
Modifier and Type | Field and Description |
---|---|
private DirectoryString |
restriction |
Modifier | Constructor and Description |
---|---|
private |
Restriction(DirectoryString restriction)
Constructor from DirectoryString.
|
|
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, toASN1Object
private DirectoryString restriction
private Restriction(DirectoryString restriction)
The DirectoryString is of type RestrictionSyntax:
RestrictionSyntax ::= DirectoryString (SIZE(1..1024))
restriction
- A DirectoryString.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