-
public final class EthereumKeystoreStandard Ethereum Keystore file represent, provided some helper functions to parse/generate Ethereum keystore JSON
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classEthereumKeystore.Companion
-
Field Summary
Fields Modifier and Type Field Description private Stringaddressprivate StringkeystoreStr
-
Constructor Summary
Constructors Constructor Description EthereumKeystore(String keystoreJSON)create keystore from wallet address and keystore JSON, if the json is not valid Ethereum keystore JSON, an exception raised
-
Method Summary
Modifier and Type Method Description final StringgetAddress()final UnitsetAddress(String address)final StringgetKeystoreStr()final UnitsetKeystoreStr(String keystoreStr)-
-
Constructor Detail
-
EthereumKeystore
EthereumKeystore(String keystoreJSON)
create keystore from wallet address and keystore JSON, if the json is not valid Ethereum keystore JSON, an exception raised- Parameters:
keystoreJSON-a JSON string that represents the keystore, throws exception if this keystore string is invalid
-
-
Method Detail
-
getAddress
final String getAddress()
-
setAddress
final Unit setAddress(String address)
-
getKeystoreStr
final String getKeystoreStr()
-
setKeystoreStr
final Unit setKeystoreStr(String keystoreStr)
-
-
-
-