| Modifier and Type | Field and Description |
|---|---|
protected KeyAlgorithm |
keyAlgorithm |
| Constructor and Description |
|---|
PublicKey(byte[] key) |
PublicKey(byte[] bytes,
KeyAlgorithm keyAlgorithm) |
PublicKey(byte[] bytes,
KeyAlgorithm keyAlgorithm,
boolean notStandardLength) |
PublicKey(String key) |
PublicKey(String key,
KeyAlgorithm keyAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
fromString(String hex) |
byte[] |
getBytes() |
CLType |
getCLType() |
CLTypeInfo |
getCLTypeInfo() |
KeyAlgorithm |
getKeyAlgorithm() |
int |
getTag()
Obtains the byte tag for this type of casper object
|
byte[] |
toAccount() |
String |
toAccountHex() |
String |
toHex() |
static String |
toHex(byte[] bytes) |
protected final KeyAlgorithm keyAlgorithm
public PublicKey(byte[] bytes,
KeyAlgorithm keyAlgorithm)
public PublicKey(byte[] bytes,
KeyAlgorithm keyAlgorithm,
boolean notStandardLength)
public PublicKey(String key, KeyAlgorithm keyAlgorithm)
public PublicKey(String key)
public PublicKey(byte[] key)
public byte[] getBytes()
public KeyAlgorithm getKeyAlgorithm()
public String toAccountHex()
public byte[] toAccount()
public int getTag()
HasTagpublic static byte[] fromString(String hex)
public static String toHex(byte[] bytes)
public CLTypeInfo getCLTypeInfo()
public CLType getCLType()
public String toHex()
Copyright © 2021. All rights reserved.