Package foundation.icon.icx.crypto
Class KeyStoreUtils
- java.lang.Object
-
- foundation.icon.icx.crypto.KeyStoreUtils
-
public class KeyStoreUtils extends java.lang.Object
Original Code https://github.com/web3j/web3j/blob/master/crypto/src/main/java/org/web3j/crypto/WalletUtils.java Utility functions for working with Keystore files.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
generateWalletFile(KeystoreFile file, java.io.File destinationDirectory)
static Bytes
loadPrivateKey(java.lang.String password, java.io.File source)
-
-
-
Method Detail
-
generateWalletFile
public static java.lang.String generateWalletFile(KeystoreFile file, java.io.File destinationDirectory) throws java.io.IOException
- Throws:
java.io.IOException
-
loadPrivateKey
public static Bytes loadPrivateKey(java.lang.String password, java.io.File source) throws java.io.IOException, KeystoreException
- Throws:
java.io.IOException
KeystoreException
-
-