- toAddress
Returns the address that corresponds to the public part of this ECKey. Note that
an address is deriv
- <init>
Creates an ECKey given only the private key bytes. This is the same as using the
BigInteger construc
- getPubKey
Gets the raw public key value. This appears in transaction scriptSigs. Note that
this is not the sam
- fromPrivate
Creates an ECKey given the private key only. The public key is calculated from
it (this is slow), ei
- fromPublicOnly
Creates an ECKey that cannot be used for signing, only verifying signatures,
from the given encoded
- getPublicKeyAsHex
- sign
Signs the given hash and returns the R and S components as BigIntegers. In the
Bitcoin protocol, the
- getPrivateKeyAsHex
- getPrivKey
Gets the private key in the form of an integer field element. The public key is
derived by performin
- getPrivKeyBytes
Returns a 32 byte array containing the private key.
- getPrivateKeyAsWiF
- getPubKeyHash
Gets the hash160 form of the public key (as seen in addresses).