public class CLKeyValue extends CLValue
| Constructor and Description |
|---|
CLKeyValue(byte[] bytes,
CLKeyInfo.KeyType keyType,
Object parsed) |
CLKeyValue(String hexBytes,
CLKeyInfo.KeyType keyType,
Object parsed) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
fromString(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() |
String |
toHex() |
static String |
toHex(byte[] bytes) |
public CLKeyValue(String hexBytes, CLKeyInfo.KeyType keyType, Object parsed)
public CLKeyValue(byte[] bytes,
CLKeyInfo.KeyType keyType,
Object parsed)
public byte[] getBytes()
public byte[] getKeyBytes()
public CLKeyInfo.KeyType getKeyType()
public static byte[] fromString(String hex)
public static String toHex(byte[] bytes)
public CLTypeInfo getCLTypeInfo()
public CLType getCLType()
public String toHex()
Copyright © 2022. All rights reserved.