Package com.h2tcoin.takamakachain.wallet
Interface InstanceWalletKeystoreInterface
-
- All Superinterfaces:
Comparable<InstanceWalletKeystoreInterface>
- All Known Implementing Classes:
InstanceWalletKeyStoreBCED25519
,InstanceWalletKeyStoreBCQTESLAPSSC1Round1
,InstanceWalletKeyStoreBCQTESLAPSSC1Round2
public interface InstanceWalletKeystoreInterface extends Comparable<InstanceWalletKeystoreInterface>
- Author:
- giovanni.antino@h2tcoin.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCurrentWalletID()
org.bouncycastle.crypto.AsymmetricCipherKeyPair
getKeyPairAtIndex(int i)
byte[]
getPublicKeyAtIndexByte(int i)
String
getPublicKeyAtIndexURL64(int i)
KeyContexts.WalletCypher
getWalletCypher()
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getWalletCypher
KeyContexts.WalletCypher getWalletCypher()
- Returns:
- the wallet cypher
-
getKeyPairAtIndex
org.bouncycastle.crypto.AsymmetricCipherKeyPair getKeyPairAtIndex(int i) throws WalletException
- Parameters:
i
-- Returns:
- the key pair public and private address related to the index
- Throws:
WalletException
-
getPublicKeyAtIndexByte
byte[] getPublicKeyAtIndexByte(int i) throws WalletException
- Parameters:
i
-- Returns:
- the public key as byte array
- Throws:
WalletException
-
getPublicKeyAtIndexURL64
String getPublicKeyAtIndexURL64(int i) throws WalletException
- Parameters:
i
-- Returns:
- the public key as URL64 image String
- Throws:
WalletException
-
getCurrentWalletID
String getCurrentWalletID()
- Returns:
- the current wallet ID
-
-