public class Restriction
extends org.bouncycastle.asn1.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) |
org.bouncycastle.asn1.x500.DirectoryString |
getRestriction() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
public Restriction(java.lang.String restriction)
restriction
- The describtion of the restriction.public static Restriction getInstance(java.lang.Object obj)
public org.bouncycastle.asn1.x500.DirectoryString getRestriction()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
Returns:
RestrictionSyntax ::= DirectoryString (SIZE(1..1024))
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object