public class PkeyHDDeriveService
extends java.lang.Object
构造器和说明 |
---|
PkeyHDDeriveService() |
限定符和类型 | 方法和说明 |
---|---|
ExtendedPrivateKey |
buildExtendedPrivateKey(PkeyInfo pkeyInfo)
convert a private key to ExtendedPrivateKey
|
ExtendedPrivateKey |
deriveChild(PkeyInfo pkeyInfo,
int childIdx)
Derive a child
|
ExtendedPrivateKey |
derivePath(PkeyInfo pkeyInfo,
Purpose44Path purpose44Path)
Derive from a path
|
ExtendedPrivateKey |
derivePath(PkeyInfo pkeynIfo,
java.lang.String derivePath)
Derive from a path
|
Purpose44PathBuilder |
getPurpose44PathBuilder()
returns a Purpose44PathBuilder to build BIP-44 Path
|
public ExtendedPrivateKey buildExtendedPrivateKey(PkeyInfo pkeyInfo)
pkeyInfo
- public ExtendedPrivateKey deriveChild(PkeyInfo pkeyInfo, int childIdx)
pkeyInfo
- private keychildIdx
- child indexpublic ExtendedPrivateKey derivePath(PkeyInfo pkeynIfo, java.lang.String derivePath)
pkeynIfo
- private keyderivePath
- The path containing a sequence of child numbers like "2/3/4" that the private key will derive with.public ExtendedPrivateKey derivePath(PkeyInfo pkeyInfo, Purpose44Path purpose44Path)
pkeyInfo
- plain private key bytespurpose44Path
- The bip-44 path containing a sequence of child numbers like "2/3/4" that the private key will derive with.public Purpose44PathBuilder getPurpose44PathBuilder()