public static class OptionalParameter.OctetString extends OptionalParameter
OptionalParameter.Byte, OptionalParameter.COctetString, OptionalParameter.Int, OptionalParameter.Null, OptionalParameter.OctetString, OptionalParameter.Short, OptionalParameter.Tag
tag
Constructor and Description |
---|
OctetString(OptionalParameter.Tag tag,
String value) |
OctetString(short tag,
byte[] value) |
OctetString(short tag,
byte[] value,
int offset,
int length) |
OctetString(short tag,
String value) |
OctetString(short tag,
String value,
String charsetName) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getValue() |
String |
getValueAsString() |
protected byte[] |
serializeValue() |
equals, hashCode, serialize
public OctetString(short tag, String value)
public OctetString(OptionalParameter.Tag tag, String value)
public OctetString(short tag, String value, String charsetName) throws UnsupportedEncodingException
UnsupportedEncodingException
public OctetString(short tag, byte[] value)
public OctetString(short tag, byte[] value, int offset, int length)
public byte[] getValue()
public String getValueAsString()
protected byte[] serializeValue()
serializeValue
in class OptionalParameter