public class BerUTF8String extends BerOctetString
| Modifier and Type | Field and Description |
|---|---|
static BerTag |
tag |
value| Constructor and Description |
|---|
BerUTF8String() |
BerUTF8String(byte[] value) |
BerUTF8String(java.lang.String valueAsString) |
| Modifier and Type | Method and Description |
|---|---|
int |
decode(java.io.InputStream is,
boolean withTag) |
int |
encode(BerByteArrayOutputStream os,
boolean withTag) |
java.lang.String |
toString() |
decode, encodepublic static final BerTag tag
public BerUTF8String()
public BerUTF8String(byte[] value)
public BerUTF8String(java.lang.String valueAsString)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic java.lang.String toString()
toString in class BerOctetStringpublic int encode(BerByteArrayOutputStream os, boolean withTag) throws java.io.IOException
encode in class BerOctetStringjava.io.IOExceptionpublic int decode(java.io.InputStream is,
boolean withTag)
throws java.io.IOException
decode in class BerOctetStringjava.io.IOException