Package io.anyline.nfc.bouncycastle.asn1
Class DERGraphicString
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.asn1.ASN1String
,io.anyline.nfc.bouncycastle.util.Encodable
public class DERGraphicString extends ASN1GraphicString
-
-
Constructor Summary
Constructors Constructor Description DERGraphicString(Array<byte> octets)
-
Method Summary
Modifier and Type Method Description static DERGraphicString
getInstance(Object obj)
return a Graphic String from the passed in object static DERGraphicString
getInstance(ASN1TaggedObject obj, boolean explicit)
return a Graphic String from a tagged object. -
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1GraphicString
getInstance, getInstance, getOctets, getString, hashCode
-
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Primitive
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive
-
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DERGraphicString
DERGraphicString(Array<byte> octets)
-
-
Method Detail
-
getInstance
static DERGraphicString getInstance(Object obj)
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.
-
getInstance
static DERGraphicString getInstance(ASN1TaggedObject obj, boolean explicit)
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.
-
-
-
-