public class BerOctetString extends Object implements Serializable, BerType
Constructor and Description |
---|
BerOctetString() |
BerOctetString(byte[] value) |
Modifier and Type | Method and Description |
---|---|
int |
decode(InputStream is) |
int |
decode(InputStream is,
boolean withTag) |
int |
encode(OutputStream reverseOS) |
int |
encode(OutputStream reverseOS,
boolean withTag) |
String |
toString() |
public static final BerTag tag
public byte[] value
public BerOctetString()
public BerOctetString(byte[] value)
public int encode(OutputStream reverseOS) throws IOException
encode
in interface BerType
IOException
public int encode(OutputStream reverseOS, boolean withTag) throws IOException
IOException
public int decode(InputStream is) throws IOException
decode
in interface BerType
IOException
public int decode(InputStream is, boolean withTag) throws IOException
IOException