public class Keystore extends Object
Ethereum keystore file management. For reference, refer to Web3 Secret Storage Definition or the Go Ethereum client implementation.
| Constructor and Description |
|---|
Keystore() |
| Modifier and Type | Method and Description |
|---|---|
static KeystoreFile |
create(String password,
BigInteger privateKey,
int n,
int p) |
static KeystoreFile |
createLight(String password,
BigInteger privateKey) |
static KeystoreFile |
createStandard(String password,
BigInteger privateKey) |
static BigInteger |
decrypt(String password,
KeystoreFile walletFile) |
public static KeystoreFile create(String password, BigInteger privateKey, int n, int p) throws CipherException
CipherExceptionpublic static KeystoreFile createStandard(String password, BigInteger privateKey) throws CipherException
CipherExceptionpublic static KeystoreFile createLight(String password, BigInteger privateKey) throws CipherException
CipherExceptionpublic static BigInteger decrypt(String password, KeystoreFile walletFile) throws CipherException
CipherExceptionCopyright © 2022 IoTeX Group. All rights reserved.