sealed abstract class ECPrivateKey extends BaseECKey with Sign with MaskedToString

Created by chris on 2/16/16.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ECPrivateKey
  2. MaskedToString
  3. Sign
  4. BaseECKey
  5. NetworkElement
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def bytes: ByteVector

    The byte representation of the NetworkElement

    The byte representation of the NetworkElement

    Definition Classes
    NetworkElement
  2. abstract def isCompressed: Boolean

    Signifies if the this private key corresponds to a compressed public key

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): ECAdaptorSignature
  5. def add(other: ECPrivateKey): ECPrivateKey
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  8. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def completeAdaptorSignature(adaptorSignature: ECAdaptorSignature, hashTypeByte: Byte): ECDigitalSignature
  11. def completeAdaptorSignature(adaptorSignature: ECAdaptorSignature): ECDigitalSignature
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def fieldElement: FieldElement
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  19. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def negate: ECPrivateKey
  23. def nonceKey: ECPrivateKey
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def publicKey: ECPublicKey

    Derives the public for a the private key

    Derives the public for a the private key

    Definition Classes
    ECPrivateKeySign
  27. def schnorrKey: ECPrivateKey
  28. def schnorrNonce: SchnorrNonce
  29. def schnorrPublicKey: SchnorrPublicKey
  30. def schnorrSign(dataToSign: ByteVector, auxRand: ByteVector): SchnorrDigitalSignature
  31. def schnorrSign(dataToSign: ByteVector): SchnorrDigitalSignature
  32. def schnorrSignWithNonce(dataToSign: ByteVector, nonce: ECPrivateKey): SchnorrDigitalSignature
  33. def sign(hash: HashDigest): ECDigitalSignature
  34. def sign(dataToSign: ByteVector): ECDigitalSignature

    Signs a given sequence of bytes with the signingKey

    Signs a given sequence of bytes with the signingKey

    dataToSign

    the bytes to be signed

    returns

    the digital signature

    Definition Classes
    ECPrivateKeySign
  35. def signFunction: (ByteVector) => Future[ECDigitalSignature]
    Definition Classes
    ECPrivateKeySign
  36. def signFuture(hash: HashDigest)(implicit ec: ExecutionContext): Future[ECDigitalSignature]
  37. def signFuture(bytes: ByteVector): Future[ECDigitalSignature]
    Definition Classes
    Sign
  38. def signLowR(bytes: ByteVector)(implicit ec: ExecutionContext): ECDigitalSignature
    Definition Classes
    Sign
  39. def signLowRFuture(bytes: ByteVector)(implicit ec: ExecutionContext): Future[ECDigitalSignature]
    Definition Classes
    Sign
  40. def signWithEntropy(bytes: ByteVector, entropy: ByteVector): ECDigitalSignature
    Definition Classes
    ECPrivateKeySign
  41. 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
    ECPrivateKeySign
  42. 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
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  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
    ECPrivateKeyMaskedToString
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  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()

Inherited from MaskedToString

Inherited from Sign

Inherited from BaseECKey

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped