public class DERVideotexString extends ASN1Primitive implements ASN1String
| Constructor and Description | 
|---|
DERVideotexString(byte[] string)
basic constructor - with bytes. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static DERVideotexString | 
getInstance(ASN1TaggedObject obj,
           boolean explicit)
return a Videotex String from a tagged object. 
 | 
static DERVideotexString | 
getInstance(java.lang.Object obj)
return a Videotex String from the passed in object 
 | 
byte[] | 
getOctets()  | 
java.lang.String | 
getString()
Return a Java String representation of this STRING type's content. 
 | 
int | 
hashCode()  | 
equals, fromByteArray, toASN1PrimitivegetEncoded, getEncoded, hasEncodedTagValue, toASN1Objectpublic 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 ASN1Primitivepublic java.lang.String getString()
ASN1StringgetString in interface ASN1String