ASN1Encodable
, ASN1String
, Encodable
public class DERVideotexString extends ASN1Primitive implements ASN1String
Constructor | Description |
---|---|
DERVideotexString(byte[] string) |
basic constructor - with bytes.
|
Modifier and Type | Method | Description |
---|---|---|
static DERVideotexString |
getInstance(java.lang.Object obj) |
return a Videotex String from the passed in object
|
static DERVideotexString |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
return a Videotex String from a tagged object.
|
byte[] |
getOctets() |
|
java.lang.String |
getString() |
Return a Java String representation of this STRING type's content.
|
int |
hashCode() |
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object
equals, fromByteArray, toASN1Primitive
public DERVideotexString(byte[] string)
string
- the byte encoding of the characters making up the string.public static DERVideotexString getInstance(java.lang.Object obj)
obj
- a DERVideotexString or an object that can be converted into one.java.lang.IllegalArgumentException
- if the object cannot be converted.public static DERVideotexString getInstance(ASN1TaggedObject obj, boolean explicit)
obj
- the tagged object holding the object we wantexplicit
- true if the object is meant to be explicitly
tagged false otherwise.java.lang.IllegalArgumentException
- if the tagged object cannot
be converted.public byte[] getOctets()
public int hashCode()
hashCode
in class ASN1Primitive
public java.lang.String getString()
ASN1String
getString
in interface ASN1String