public class AccountKeyLegacy extends java.lang.Object implements IAccountKey
Modifier and Type | Class and Description |
---|---|
static class |
AccountKeyLegacy.AccountKeyLegacySerializer
Serialize class to AccountKeyLegacy object into JSON.
|
Constructor and Description |
---|
AccountKeyLegacy()
Creates an AccountKeyLegacy instance
|
Modifier and Type | Method and Description |
---|---|
static AccountKeyLegacy |
decode(byte[] rlpEncodedKey)
Decodes a RLP-encoded AccountKeyLegacy byte array
|
static AccountKeyLegacy |
decode(java.lang.String rlpEncodedKey)
Decodes a RLP-encoded AccountKeyLegacy string
|
java.lang.String |
getRLPEncoding()
Encodes a AccountKeyLegacy Object by RLP-encoding method.
|
static java.lang.String |
getType()
Returns an AccountKeyLegacy's type attribute
|
public static AccountKeyLegacy decode(java.lang.String rlpEncodedKey)
rlpEncodedKey
- A RLP-encoded AccountKeyLegacy stringpublic static AccountKeyLegacy decode(byte[] rlpEncodedKey)
rlpEncodedKey
- RLP-encoded AccountKeyLegacy byte arraypublic java.lang.String getRLPEncoding()
getRLPEncoding
in interface IAccountKey
public static java.lang.String getType()