sealed abstract class ExtPrivateKey extends ExtKey with ExtSign with MaskedToString

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtPrivateKey
  2. MaskedToString
  3. ExtSign
  4. AdaptorSign
  5. Sign
  6. AsyncExtSign
  7. AsyncAdaptorSign
  8. AsyncSign
  9. ExtKey
  10. NetworkElement
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type VersionType = ExtKeyPrivVersion
    Attributes
    protected
    Definition Classes
    ExtPrivateKeyExtKey

Abstract Value Members

  1. abstract def chainCode: ChainCode

    In order to prevent these from depending solely on the key itself, we extend both private and public keys first with an extra 256 bits of entropy.

    In order to prevent these from depending solely on the key itself, we extend both private and public keys first with an extra 256 bits of entropy. This extension, called the chain code, is identical for corresponding private and public keys, and consists of 32 bytes.

    Definition Classes
    ExtKey
  2. abstract def childNum: UInt32

    Child number.

    Child number. This is ser32(i) for i in xi = xpar/i, with xi the key being serialized. (0x00000000 if master key)

    Definition Classes
    ExtKey
  3. abstract def depth: UInt8

    0 for master nodes, 1 for level-1 derived keys, ....

    0 for master nodes, 1 for level-1 derived keys, ....

    Definition Classes
    ExtKey
  4. abstract def fingerprint: ByteVector

    The fingerprint of the parent key

    The fingerprint of the parent key

    Definition Classes
    ExtKey
  5. abstract def key: ECPrivateKey

    The key at this path

    The key at this path

    Definition Classes
    ExtPrivateKeyExtKey
  6. abstract def version: VersionType

    The network and private/public key identifier for this key

    The network and private/public key identifier for this key

    Definition Classes
    ExtKey

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def adaptorSign(adaptorPoint: ECPublicKey, msg: ByteVector, auxRand: ByteVector): ECAdaptorSignature
    Definition Classes
    ExtPrivateKeyAdaptorSign
  5. def adaptorSign(adaptorPoint: ECPublicKey, msg: ByteVector): ECAdaptorSignature
    Definition Classes
    AdaptorSign
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def asyncAdaptorSign(adaptorPoint: ECPublicKey, msg: ByteVector, auxRand: ByteVector): Future[ECAdaptorSignature]
    Definition Classes
    AdaptorSignAsyncAdaptorSign
  8. def asyncAdaptorSign(adaptorPoint: ECPublicKey, msg: ByteVector): Future[ECAdaptorSignature]
    Definition Classes
    AsyncAdaptorSign
  9. def asyncDeriveAndSign(bytes: ByteVector, path: BIP32Path): Future[ECDigitalSignature]
    Definition Classes
    ExtSignAsyncExtSign
  10. def asyncSign(bytes: ByteVector): Future[ECDigitalSignature]
    Definition Classes
    SignAsyncSign
  11. def asyncSign(bytes: ByteVector, path: BIP32Path): Future[ECDigitalSignature]

    First derives the child key that corresponds to path and then signs

    First derives the child key that corresponds to path and then signs

    Definition Classes
    AsyncExtSign
  12. def asyncSignLowR(bytes: ByteVector)(implicit ec: ExecutionContext): Future[ECDigitalSignature]
    Definition Classes
    SignAsyncSign
  13. def asyncSignWithEntropy(bytes: ByteVector, entropy: ByteVector): Future[ECDigitalSignature]

    Note that using this function to generate digital signatures with specific properties (by trying a bunch of entropy values) can reduce privacy as it will fingerprint your wallet.

    Note that using this function to generate digital signatures with specific properties (by trying a bunch of entropy values) can reduce privacy as it will fingerprint your wallet. Additionally it could lead to a loss of entropy in the resulting nonce should the property you are interested in cause a constraint on the input space.

    In short, ALL USES OF THIS FUNCTION THAT SIGN THE SAME DATA WITH DIFFERENT ENTROPY HAVE THE POTENTIAL TO CAUSE REDUCTIONS IN SECURITY AND PRIVACY, BEWARE!

    Definition Classes
    SignAsyncSign
  14. def byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  15. def bytes: ByteVector

    The byte representation of the NetworkElement

    The byte representation of the NetworkElement

    Definition Classes
    ExtKeyNetworkElement
  16. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  18. def deriveAndSign(bytes: ByteVector, path: BIP32Path): ECDigitalSignature

    Signs the given bytes with the given path

    Signs the given bytes with the given path

    Definition Classes
    ExtPrivateKeyExtSign
  19. def deriveChildPrivKey(child: BIP32Node): ExtPrivateKey
  20. def deriveChildPrivKey(idx: Long): Try[ExtPrivateKey]
  21. def deriveChildPrivKey(idx: UInt32): ExtPrivateKey
  22. def deriveChildPrivKey(path: BIP32Path): ExtPrivateKey

    Derives the child key corresponding to the given path.

    Derives the child key corresponding to the given path. The given path could signify account levels, one sublevel for each currency, or how to derive change addresses.

    See also

    HDPath for a more specialized version of a BIP32 path

  23. def deriveChildPubKey(path: BIP32Path): Try[ExtPublicKey]

    Derives the child pubkey at the specified path

    Derives the child pubkey at the specified path

    Definition Classes
    ExtKey
  24. def deriveChildPubKey(child: BIP32Node): Try[ExtPublicKey]

    Derives the child pubkey at the specified index and hardening value

    Derives the child pubkey at the specified index and hardening value

    Definition Classes
    ExtKey
  25. def deriveChildPubKey(idx: Long): Try[ExtPublicKey]

    Derives the child pubkey at the specified index

    Derives the child pubkey at the specified index

    Definition Classes
    ExtKey
  26. def deriveChildPubKey(idx: UInt32): Try[ExtPublicKey]

    Derives the child pubkey at the specified index

    Derives the child pubkey at the specified index

    Definition Classes
    ExtKey
  27. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  29. def extPublicKey: ExtPublicKey
  30. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  31. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  34. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. def publicKey: ECPublicKey
    Definition Classes
    ExtPrivateKeyAsyncSign
  40. final def schnorrPublicKey: SchnorrPublicKey
    Definition Classes
    AsyncSign
  41. def schnorrSign(dataToSign: ByteVector, auxRand: ByteVector): SchnorrDigitalSignature
    Definition Classes
    ExtPrivateKeySign
  42. final def schnorrSign(dataToSign: ByteVector): SchnorrDigitalSignature
    Definition Classes
    Sign
  43. final def schnorrSignWithHashType(dataToSign: ByteVector, hashType: HashType): SchnorrDigitalSignature
    Definition Classes
    Sign
  44. def schnorrSignWithNonce(dataToSign: ByteVector, nonce: ECPrivateKey): SchnorrDigitalSignature
    Definition Classes
    ExtPrivateKeySign
  45. def sign(bytes: ByteVector): ECDigitalSignature
    Definition Classes
    ExtPrivateKeySign
  46. def sign(bytes: ByteVector, path: BIP32Path): ECDigitalSignature

    First derives the child key that corresponds to path and then signs

    First derives the child key that corresponds to path and then signs

    Definition Classes
    ExtSign
  47. def signLowR(bytes: ByteVector): ECDigitalSignature
    Definition Classes
    Sign
  48. def signLowRWithHashType(bytes: ByteVector, hashType: HashType): ECDigitalSignature
    Definition Classes
    Sign
  49. def signWithEntropy(bytes: ByteVector, entropy: ByteVector): ECDigitalSignature

    Note that using this function to generate digital signatures with specific properties (by trying a bunch of entropy values) can reduce privacy as it will fingerprint your wallet.

    Note that using this function to generate digital signatures with specific properties (by trying a bunch of entropy values) can reduce privacy as it will fingerprint your wallet. Additionally it could lead to a loss of entropy in the resulting nonce should the property you are interested in cause a constraint on the input space.

    In short, ALL USES OF THIS FUNCTION THAT SIGN THE SAME DATA WITH DIFFERENT ENTROPY HAVE THE POTENTIAL TO CAUSE REDUCTIONS IN SECURITY AND PRIVACY, BEWARE!

    Definition Classes
    ExtPrivateKeySign
  50. def signWithHashType(bytes: ByteVector, hashType: HashType): ECDigitalSignature
    Definition Classes
    Sign
  51. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  52. def toHardened: ExtPrivateKeyHardened
  53. final def toString(): String
    Definition Classes
    MaskedToString → AnyRef → Any
  54. def toStringSensitive: String

    Returns the real value of a sensitive string This should be considered unsafe in the sense that this information is sensitive and could cause loss of funds if used anywhere things are persisted like logs

    Returns the real value of a sensitive string This should be considered unsafe in the sense that this information is sensitive and could cause loss of funds if used anywhere things are persisted like logs

    Definition Classes
    ExtPrivateKeyMaskedToString
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from MaskedToString

Inherited from ExtSign

Inherited from AdaptorSign

Inherited from Sign

Inherited from AsyncExtSign

Inherited from AsyncAdaptorSign

Inherited from AsyncSign

Inherited from ExtKey

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped