org.bouncycastle.asn1.isismtt.x509

Class Restriction

public class Restriction extends ASN1Encodable

Some other restriction regarding the usage of this certificate.

  RestrictionSyntax ::= DirectoryString (SIZE(1..1024))
 
Constructor Summary
Restriction(String restriction)
Constructor from a given details.
Method Summary
static RestrictiongetInstance(Object obj)
DirectoryStringgetRestriction()
DERObjecttoASN1Object()
Produce an object suitable for an ASN1OutputStream.

Constructor Detail

Restriction

public Restriction(String restriction)
Constructor from a given details.

Parameters: restriction The describtion of the restriction.

Method Detail

getInstance

public static Restriction getInstance(Object obj)

getRestriction

public DirectoryString getRestriction()

toASN1Object

public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.

Returns:

      RestrictionSyntax ::= DirectoryString (SIZE(1..1024))
 

Returns: a DERObject