Class DeterministicHierarchy
java.lang.Object
com.kryptokrauts.aeternity.sdk.domain.secret.DeterministicHierarchy
public class DeterministicHierarchy
extends java.lang.Object
Data structure to hold the deterministic key hierarchy tree, based on the given master keypair
HdKeyPair
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Integer
ADDRESS_INDEX_DEFAULT
-
Constructor Summary
Constructors Constructor Description DeterministicHierarchy(HdKeyPair master)
-
Method Summary
Modifier and Type Method Description void
addAccount(HdKeyPair accountKeypair)
void
addChain(HdKeyPair chainKeypair)
void
addNextAddress(HdKeyPair miKeypair, HdKeyPair mi0Keypair, HdKeyPair mi00Keypair)
HdKeyPair
getAccountKeyPair()
HdKeyPair
getChainKeyPair()
HdKeyPair
getChildAt(java.lang.Integer index)
java.util.List<HdKeyPair>
getChildKeyPairs()
java.util.Map<java.lang.Integer,HdKeyPair>
getChildKeysIndexMap()
HdKeyPair
getLastChildKeyPair()
HdKeyPair
getMasterKeyPair()
java.lang.Integer
getNextChildIndex()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ADDRESS_INDEX_DEFAULT
public static final java.lang.Integer ADDRESS_INDEX_DEFAULT
-
-
Constructor Details
-
DeterministicHierarchy
-
-
Method Details
-
addAccount
-
addChain
-
addNextAddress
- Parameters:
miKeypair
- child index keypairmi0Keypair
- this childs internal chain keypairmi00Keypair
- this childs actual address keypiar
-
getChildAt
-
getChildKeyPairs
-
getChildKeysIndexMap
-
getNextChildIndex
public java.lang.Integer getNextChildIndex() -
getLastChildKeyPair
-
getMasterKeyPair
-
getAccountKeyPair
-
getChainKeyPair
-