public class CLKeyValue extends CLValue
| Constructor and Description |
|---|
CLKeyValue(byte[] bytes,
CLKeyInfo.KeyType keyType,
java.lang.Object parsed) |
CLKeyValue(java.lang.String hexBytes,
CLKeyInfo.KeyType keyType,
java.lang.Object parsed) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
fromString(java.lang.String hex) |
byte[] |
getBytes()
Obtains the bytes including the key type prefix byte
|
CLType |
getCLType() |
CLTypeInfo |
getCLTypeInfo() |
byte[] |
getKeyBytes()
Obtains the bytes without the key type prefix
|
CLKeyInfo.KeyType |
getKeyType() |
java.lang.String |
toHex() |
static java.lang.String |
toHex(byte[] bytes) |
public CLKeyValue(java.lang.String hexBytes,
CLKeyInfo.KeyType keyType,
java.lang.Object parsed)
public CLKeyValue(byte[] bytes,
CLKeyInfo.KeyType keyType,
java.lang.Object parsed)
public byte[] getBytes()
public byte[] getKeyBytes()
public CLKeyInfo.KeyType getKeyType()
public static byte[] fromString(java.lang.String hex)
public static java.lang.String toHex(byte[] bytes)
public CLTypeInfo getCLTypeInfo()
public CLType getCLType()
public java.lang.String toHex()