Class Restriction
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.isismtt.x509.Restriction
- All Implemented Interfaces:
ASN1Encodable
,Encodable
Some other restriction regarding the usage of this certificate.
RestrictionSyntax ::= DirectoryString (SIZE(1..1024))
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Restriction
getInstance
(Object obj) Produce an object suitable for an ASN1OutputStream.Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
Restriction
Constructor from a given details.- Parameters:
restriction
- The describtion of the restriction.
-
-
Method Details
-
getInstance
-
getRestriction
-
toASN1Primitive
Produce an object suitable for an ASN1OutputStream.Returns:
RestrictionSyntax ::= DirectoryString (SIZE(1..1024))
- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a DERObject
-