com.github.DNAProject.crypto.bip32.Derivation Maven / Gradle / Ivy
The newest version!
/*
* Copyright (C) 2018 The DNA Authors
* This file is part of The DNA library.
*
* The DNA is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The DNA is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with The DNA. If not, see .
*
*/
package com.github.DNAProject.crypto.bip32;
import com.github.DNAProject.crypto.bip32.derivation.CkdFunction;
public interface Derivation {
/**
* Traverse the nodes from the root key node to find the node referenced by the path.
*
* @param rootKey The root of the path
* @param path The path to follow
* @param ckdFunction Allows you to follow one link
* @param The type of node we are visiting
* @return The final node found at the end of the path
*/
Key derive(final Key rootKey, final Path path, final CkdFunction ckdFunction);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy