use of org.bitcoinj.crypto.HDPath in project Elastos.DID.Java.SDK by elastos.
the class HDKey method derive.
public HDKey derive(String path) {
HDPath derivePath = HDPath.parsePath(path);
DeterministicKey child = key;
for (ChildNumber childNumber : derivePath) child = HDKeyDerivation.deriveChildKey(child, childNumber);
return new HDKey(child);
}
Aggregations