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(idx: Long): Try[ExtPrivateKey]
  20. def deriveChildPrivKey(idx: UInt32): ExtPrivateKey
  21. 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

  22. 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
  23. 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
  24. 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
  25. 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
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  28. def extPublicKey: ExtPublicKey
  29. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  30. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  33. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. def publicKey: ECPublicKey
    Definition Classes
    ExtPrivateKeyAsyncSign
  39. def sign(bytes: ByteVector): ECDigitalSignature
    Definition Classes
    ExtPrivateKeySign
  40. 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
  41. def signLowR(bytes: ByteVector): ECDigitalSignature
    Definition Classes
    Sign
  42. 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
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. def toHardened: ExtPrivateKeyHardened
  45. final def toString(): String
    Definition Classes
    MaskedToString → AnyRef → Any
  46. 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
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. 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