Package com.h2tcoin.takamakachain.wallet
Class InstanceWalletKeyStoreBCQTESLAPSSC1Round2
- java.lang.Object
-
- com.h2tcoin.takamakachain.wallet.InstanceWalletKeyStoreBCQTESLAPSSC1Round2
-
- All Implemented Interfaces:
InstanceWalletKeystoreInterface,Comparable<InstanceWalletKeystoreInterface>
public class InstanceWalletKeyStoreBCQTESLAPSSC1Round2 extends Object implements InstanceWalletKeystoreInterface
- Author:
- giovanni.antino@h2tcoin.com
-
-
Constructor Summary
Constructors Constructor Description InstanceWalletKeyStoreBCQTESLAPSSC1Round2(String walletName)InstanceWalletKeyStoreBCQTESLAPSSC1Round2(String walletName, int nCharSeed)InstanceWalletKeyStoreBCQTESLAPSSC1Round2(String walletName, String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(InstanceWalletKeystoreInterface t)StringgetCurrentWalletID()org.bouncycastle.crypto.AsymmetricCipherKeyPairgetKeyPairAtIndex(int i)byte[]getPublicKeyAtIndexByte(int i)StringgetPublicKeyAtIndexURL64(int i)KeyContexts.WalletCyphergetWalletCypher()
-
-
-
Constructor Detail
-
InstanceWalletKeyStoreBCQTESLAPSSC1Round2
public InstanceWalletKeyStoreBCQTESLAPSSC1Round2(String walletName) throws UnlockWalletException
- Throws:
UnlockWalletException
-
InstanceWalletKeyStoreBCQTESLAPSSC1Round2
public InstanceWalletKeyStoreBCQTESLAPSSC1Round2(String walletName, String password) throws UnlockWalletException
- Throws:
UnlockWalletException
-
InstanceWalletKeyStoreBCQTESLAPSSC1Round2
public InstanceWalletKeyStoreBCQTESLAPSSC1Round2(String walletName, int nCharSeed) throws UnlockWalletException, WalletBurnedException, WalletEmptySeedException
-
-
Method Detail
-
getWalletCypher
public KeyContexts.WalletCypher getWalletCypher()
- Specified by:
getWalletCypherin interfaceInstanceWalletKeystoreInterface- Returns:
- the wallet cypher
-
getKeyPairAtIndex
public org.bouncycastle.crypto.AsymmetricCipherKeyPair getKeyPairAtIndex(int i) throws InvalidWalletIndexException- Specified by:
getKeyPairAtIndexin interfaceInstanceWalletKeystoreInterface- Returns:
- the key pair public and private address related to the index
- Throws:
InvalidWalletIndexException
-
getPublicKeyAtIndexURL64
public String getPublicKeyAtIndexURL64(int i) throws InvalidWalletIndexException, PublicKeySerializzationException
- Specified by:
getPublicKeyAtIndexURL64in interfaceInstanceWalletKeystoreInterface- Returns:
- the public key as URL64 image String
- Throws:
InvalidWalletIndexExceptionPublicKeySerializzationException
-
getPublicKeyAtIndexByte
public byte[] getPublicKeyAtIndexByte(int i) throws InvalidWalletIndexException, PublicKeySerializzationException- Specified by:
getPublicKeyAtIndexBytein interfaceInstanceWalletKeystoreInterface- Returns:
- the public key as byte array
- Throws:
InvalidWalletIndexExceptionPublicKeySerializzationException
-
getCurrentWalletID
public String getCurrentWalletID()
- Specified by:
getCurrentWalletIDin interfaceInstanceWalletKeystoreInterface- Returns:
- the current wallet ID
-
compareTo
public int compareTo(InstanceWalletKeystoreInterface t)
- Specified by:
compareToin interfaceComparable<InstanceWalletKeystoreInterface>
-
-