case class ExtPrivateKeyHardened(version: ExtKeyPrivVersion, depth: UInt8, fingerprint: ByteVector, childNum: UInt32, chainCode: ChainCode, key: ECPrivateKey) extends ExtPrivateKey with Product with Serializable

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

Instance Constructors

  1. new ExtPrivateKeyHardened(version: ExtKeyPrivVersion, depth: UInt8, fingerprint: ByteVector, childNum: UInt32, chainCode: ChainCode, key: ECPrivateKey)

Type Members

  1. type VersionType = ExtKeyPrivVersion
    Attributes
    protected
    Definition Classes
    ExtPrivateKeyExtKey

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  6. def bytes: ByteVector

    The byte representation of the NetworkElement

    The byte representation of the NetworkElement

    Definition Classes
    ExtKeyNetworkElement
  7. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  8. val 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
    ExtPrivateKeyHardenedExtKey
  9. val 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
    ExtPrivateKeyHardenedExtKey
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. val depth: UInt8

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

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

    Definition Classes
    ExtPrivateKeyHardenedExtKey
  12. def deriveAndSignFuture: (ByteVector, BIP32Path) => Future[ECDigitalSignature]

    Signs the given bytes with the given path

    Signs the given bytes with the given path

    Definition Classes
    ExtPrivateKeyExtSign
  13. def deriveChildPrivKey(idx: Long): Try[ExtPrivateKeyHardened]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    ExtPrivateKeyHardenedExtPrivateKey
  14. def deriveChildPrivKey(idx: UInt32): ExtPrivateKeyHardened

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    ExtPrivateKeyHardenedExtPrivateKey
  15. def deriveChildPrivKey(path: BIP32Path): ExtPrivateKeyHardened

    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.

    Definition Classes
    ExtPrivateKeyHardenedExtPrivateKey
  16. 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
  17. 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
  18. 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
  19. 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
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def extPublicKey: ExtPublicKey
    Definition Classes
    ExtPrivateKey
  22. val fingerprint: ByteVector

    The fingerprint of the parent key

    The fingerprint of the parent key

    Definition Classes
    ExtPrivateKeyHardenedExtKey
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  25. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. val key: ECPrivateKey

    The key at this path

    The key at this path

    Definition Classes
    ExtPrivateKeyHardenedExtPrivateKeyExtKey
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def productElementNames: Iterator[String]
    Definition Classes
    Product
  32. def publicKey: ECPublicKey
    Definition Classes
    ExtPrivateKeySign
  33. 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
  34. def sign(bytes: ByteVector): ECDigitalSignature
    Definition Classes
    Sign
  35. def signFunction: (ByteVector) => Future[ECDigitalSignature]
    Definition Classes
    ExtPrivateKeySign
  36. def signFuture(bytes: ByteVector): Future[ECDigitalSignature]
    Definition Classes
    Sign
  37. def signLowR(bytes: ByteVector)(implicit ec: ExecutionContext): ECDigitalSignature
    Definition Classes
    Sign
  38. def signLowRFuture(bytes: ByteVector)(implicit ec: ExecutionContext): Future[ECDigitalSignature]
    Definition Classes
    Sign
  39. def signWithEntropy(bytes: ByteVector, entropy: ByteVector): ECDigitalSignature
    Definition Classes
    Sign
  40. def signWithEntropyFunction: (ByteVector, 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
    ExtPrivateKeySign
  41. def signWithEntropyFuture(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
    Sign
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def toHardened: ExtPrivateKeyHardened
    Definition Classes
    ExtPrivateKey
  44. final def toString(): String
    Definition Classes
    MaskedToString → AnyRef → Any
  45. 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
  46. val version: ExtKeyPrivVersion

    The network and private/public key identifier for this key

    The network and private/public key identifier for this key

    Definition Classes
    ExtPrivateKeyHardenedExtKey
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ExtPrivateKey

Inherited from MaskedToString

Inherited from ExtSign

Inherited from Sign

Inherited from ExtKey

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped