public class PairCodec
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PairCodec.DecodeResult |
static class |
PairCodec.PairStateJson |
Modifier and Type | Field and Description |
---|---|
static int |
SEED_OFFSET |
Constructor and Description |
---|
PairCodec() |
Modifier and Type | Method and Description |
---|---|
static PairCodec.DecodeResult |
decode(java.lang.String passphrase,
byte[] encrypted) |
static byte[] |
encode(Types.PairInfo pairInfo,
java.lang.String passphrase) |
static Types.KeyringPairJson |
toJson(java.lang.String type,
PairCodec.PairStateJson pairStateJson,
byte[] encoded,
boolean isEncryptede) |
public static PairCodec.DecodeResult decode(java.lang.String passphrase, byte[] encrypted)
public static byte[] encode(Types.PairInfo pairInfo, java.lang.String passphrase)
public static Types.KeyringPairJson toJson(java.lang.String type, PairCodec.PairStateJson pairStateJson, byte[] encoded, boolean isEncryptede)