org.openmuc.jasn1.ber.types.string
Class BerVisibleString
java.lang.Object
org.openmuc.jasn1.ber.types.string.BerVisibleString
public class BerVisibleString
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
identifier
public static final BerIdentifier identifier
id
protected BerIdentifier id
octetString
public byte[] octetString
BerVisibleString
public BerVisibleString()
BerVisibleString
public BerVisibleString(byte[] octetString)
BerVisibleString
public BerVisibleString(java.lang.String string)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
encode
public int encode(BerByteArrayOutputStream berOStream,
boolean explicit)
throws java.io.IOException
- Throws:
java.io.IOException
decode
public int decode(java.io.InputStream iStream,
boolean explicit)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object