Package org.web3j.crypto
Class WalletFile
- java.lang.Object
-
- org.web3j.crypto.WalletFile
-
public class WalletFile extends java.lang.ObjectEthereum wallet file.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWalletFile.Aes128CtrKdfParamsstatic classWalletFile.CipherParamsstatic classWalletFile.Cryptostatic classWalletFile.ScryptKdfParams
-
Constructor Summary
Constructors Constructor Description WalletFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetAddress()Get wallet addressWalletFile.CryptogetCrypto()Get cryptojava.lang.StringgetId()intgetVersion()inthashCode()voidsetAddress(java.lang.String address)Sets wallet addressvoidsetCrypto(WalletFile.Crypto crypto)voidsetCryptoV1(WalletFile.Crypto crypto)voidsetId(java.lang.String id)voidsetVersion(int version)
-
-
-
Method Detail
-
getAddress
public java.lang.String getAddress()
Get wallet address- Returns:
- Wallet address
-
setAddress
public void setAddress(java.lang.String address)
Sets wallet address- Parameters:
address- Wallet address
-
getCrypto
public WalletFile.Crypto getCrypto()
Get crypto- Returns:
- Crypto
-
setCrypto
public void setCrypto(WalletFile.Crypto crypto)
- Parameters:
crypto-
-
setCryptoV1
public void setCryptoV1(WalletFile.Crypto crypto)
- Parameters:
crypto-
-
getId
public java.lang.String getId()
- Returns:
-
setId
public void setId(java.lang.String id)
- Parameters:
id-
-
getVersion
public int getVersion()
- Returns:
-
setVersion
public void setVersion(int version)
- Parameters:
version-
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-