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 adaptorSignWithBouncyCastle(adaptorPoint: ECPublicKey, msg: ByteVector): ECAdaptorSignature
  6. def add(other: ECPrivateKey, context: CryptoContext): ECPrivateKey
  7. def add(other: ECPrivateKey): ECPrivateKey
  8. def addWithBouncyCastle(other: ECPrivateKey): ECPrivateKey
  9. def addWithSecp(other: ECPrivateKey): ECPrivateKey
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  12. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

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

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  23. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def negate: ECPrivateKey
  27. def nonceKey: ECPrivateKey
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def publicKey(context: CryptoContext): ECPublicKey

    Derives the public for a the private key

  31. def publicKey: ECPublicKey
    Definition Classes
    ECPrivateKeySign
  32. def publicKeyWithBouncyCastle: ECPublicKey
  33. def publicKeyWithSecp: ECPublicKey
  34. def schnorrKey: ECPrivateKey
  35. def schnorrNonce: SchnorrNonce
  36. def schnorrPublicKey: SchnorrPublicKey
  37. def schnorrSign(dataToSign: ByteVector, auxRand: ByteVector): SchnorrDigitalSignature
  38. def schnorrSign(dataToSign: ByteVector): SchnorrDigitalSignature
  39. def schnorrSignWithBouncyCastle(dataToSign: ByteVector, auxRand: ByteVector): SchnorrDigitalSignature
  40. def schnorrSignWithNonce(dataToSign: ByteVector, nonce: ECPrivateKey): SchnorrDigitalSignature
  41. def schnorrSignWithNonceWithBouncyCastle(dataToSign: ByteVector, nonce: ECPrivateKey): SchnorrDigitalSignature
  42. def sign(hash: HashDigest): ECDigitalSignature
  43. def sign(dataToSign: ByteVector, context: CryptoContext): ECDigitalSignature
  44. 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
  45. def signFunction: (ByteVector) => Future[ECDigitalSignature]
    Definition Classes
    ECPrivateKeySign
  46. def signFuture(hash: HashDigest)(implicit ec: ExecutionContext): Future[ECDigitalSignature]
  47. def signFuture(bytes: ByteVector): Future[ECDigitalSignature]
    Definition Classes
    Sign
  48. def signLowR(bytes: ByteVector)(implicit ec: ExecutionContext): ECDigitalSignature
    Definition Classes
    Sign
  49. def signLowRFuture(bytes: ByteVector)(implicit ec: ExecutionContext): Future[ECDigitalSignature]
    Definition Classes
    Sign
  50. def signWithBouncyCastle(dataToSign: ByteVector): ECDigitalSignature
  51. def signWithEntropy(bytes: ByteVector, entropy: ByteVector, context: CryptoContext): ECDigitalSignature
  52. def signWithEntropy(bytes: ByteVector, entropy: ByteVector): ECDigitalSignature
    Definition Classes
    ECPrivateKeySign
  53. 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
  54. 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
  55. def signWithEntropyWithBouncyCastle(bytes: ByteVector, entropy: ByteVector): ECDigitalSignature
  56. def signWithEntropyWithSecp(bytes: ByteVector, entropy: ByteVector): ECDigitalSignature
  57. def signWithSecp(dataToSign: ByteVector): ECDigitalSignature
  58. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  59. final def toString(): String
    Definition Classes
    MaskedToString → AnyRef → Any
  60. 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
  61. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  62. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  63. 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 MaskedToString

Inherited from Sign

Inherited from BaseECKey

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped