Package org.bitcoinj.crypto

Examples of org.bitcoinj.crypto.ChildNumber


        DeterministicKey key = (DeterministicKey) findKeyFromPubKey(pubkey);
        if (key == null) {
            if (index == -1)
                return null;
            List<ChildNumber> path = checkNotNull(freshAuthKey().getParent()).getPath();
            key = getKeyByPath(HDUtils.append(path, new ChildNumber(index)));
            if (!Arrays.equals(key.getPubKey(), pubkey))
                return null;
        }
        return key;
    }
View Full Code Here

TOP

Related Classes of org.bitcoinj.crypto.ChildNumber

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.