Package org.bouncycastle.asn1
Class DERGraphicString
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ASN1Primitive
org.bouncycastle.asn1.ASN1GraphicString
org.bouncycastle.asn1.DERGraphicString
- All Implemented Interfaces:
ASN1Encodable,ASN1String,Encodable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DERGraphicStringgetInstance(Object obj) Deprecated.static DERGraphicStringgetInstance(ASN1TaggedObject obj, boolean explicit) Deprecated.Methods inherited from class org.bouncycastle.asn1.ASN1GraphicString
getOctets, getString, hashCodeMethods inherited from class org.bouncycastle.asn1.ASN1Primitive
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1PrimitiveMethods inherited from class org.bouncycastle.asn1.ASN1Object
getEncoded, getEncoded, hasEncodedTagValue
-
Constructor Details
-
DERGraphicString
public DERGraphicString(byte[] octets)
-
-
Method Details
-
getInstance
Deprecated.UseASN1GraphicString.getInstance(Object)instead.return a Graphic String from the passed in object- Parameters:
obj- a DERGraphicString or an object that can be converted into one.- Returns:
- a DERGraphicString instance, or null.
- Throws:
IllegalArgumentException- if the object cannot be converted.
-
getInstance
Deprecated.return a Graphic String from a tagged object.- Parameters:
obj- the tagged object holding the object we wantexplicit- true if the object is meant to be explicitly tagged false otherwise.- Returns:
- a DERGraphicString instance, or null.
- Throws:
IllegalArgumentException- if the tagged object cannot be converted.
-
ASN1GraphicString.getInstance(Object)instead.