-
- All Implemented Interfaces:
public final class DescriptorSecretKey
An extended secret key.
-
-
Constructor Summary
Constructors Constructor Description DescriptorSecretKey(Network network, Mnemonic mnemonic, String password)
-
Method Summary
Modifier and Type Method Description final DescriptorSecretKey
fromString(String secretKey)
Build a DescriptorSecretKey from a String final DescriptorSecretKey
derive(DerivationPath path)
Derive a private descriptor at a given path. final DescriptorSecretKey
extend(DerivationPath path)
Extend the private descriptor with a custom path. final DescriptorPublicKey
asPublic()
Return the public version of the descriptor. final List<UByte>
secretBytes()
Return the raw private key as bytes. final String
asString()
Return the private descriptor as a string. -
-
Method Detail
-
fromString
final DescriptorSecretKey fromString(String secretKey)
Build a DescriptorSecretKey from a String
-
derive
final DescriptorSecretKey derive(DerivationPath path)
Derive a private descriptor at a given path.
-
extend
final DescriptorSecretKey extend(DerivationPath path)
Extend the private descriptor with a custom path.
-
asPublic
final DescriptorPublicKey asPublic()
Return the public version of the descriptor.
-
secretBytes
final List<UByte> secretBytes()
Return the raw private key as bytes.
-
-
-
-