Package io.anyline.nfc.bouncycastle.asn1
Class ASN1GraphicString
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable,io.anyline.nfc.bouncycastle.asn1.ASN1String,io.anyline.nfc.bouncycastle.util.Encodable
public abstract class ASN1GraphicString extends ASN1Primitive implements ASN1String
-
-
Method Summary
Modifier and Type Method Description static ASN1GraphicStringgetInstance(Object obj)Return a GraphicString from the passed in object. static ASN1GraphicStringgetInstance(ASN1TaggedObject taggedObject, boolean explicit)Return a GraphicString from a tagged object. final Array<byte>getOctets()final inthashCode()final StringgetString()Return a Java String representation of this STRING type's content. -
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
-
-
Method Detail
-
getInstance
static ASN1GraphicString getInstance(Object obj)
Return a GraphicString from the passed in object.
- Parameters:
obj- an ASN1GraphicString or an object that can be converted into one.- Returns:
an ASN1GraphicString instance, or null.
-
getInstance
static ASN1GraphicString getInstance(ASN1TaggedObject taggedObject, boolean explicit)
Return a GraphicString from a tagged object.
- Parameters:
taggedObject- the tagged object holding the object we want.explicit- true if the object is meant to be explicitly tagged, false otherwise.- Returns:
an ASN1GraphicString instance, or null.
-
hashCode
final int hashCode()
-
-
-
-