Top Description Fields Constructors Methods
org.bouncycastle.asn1.isismtt.x509

public Class Restriction

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Object, .ASN1Primitive, org.bouncycastle.asn1.x500.DirectoryString

Some other restriction regarding the usage of this certificate.
 RestrictionSyntax ::= DirectoryString (SIZE(1..1024))

Field Summary

Modifier and TypeField and Description
private DirectoryString

Constructor Summary

AccessConstructor and Description
private
Restriction(DirectoryString
A DirectoryString.
restriction
)

Constructor from DirectoryString.

public
Restriction(String
The describtion of the restriction.
restriction
)

Constructor from a given details.

Method Summary

Modifier and TypeMethod and Description
public static Restriction
public DirectoryString
public ASN1Primitive

Returns:

a DERObject
toASN1Primitive
()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

restrictionback to summary
private DirectoryString restriction

Constructor Detail

Restrictionback to summary
private Restriction(DirectoryString restriction)

Constructor from DirectoryString.

The DirectoryString is of type RestrictionSyntax:

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

Parameters
restriction:DirectoryString

A DirectoryString.

Restrictionback to summary
public Restriction(String restriction)

Constructor from a given details.

Parameters
restriction:String

The describtion of the restriction.

Method Detail

getInstanceback to summary
public static Restriction getInstance(Object obj)
getRestrictionback to summary
public DirectoryString getRestriction()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.

Returns:

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

a DERObject