- <init>
Generates an entirely new keypair with the given SecureRandom object.
BouncyCastle will be used as
- doSign
Signs the given hash and returns the R and S components as BigIntegers and put
them in ECDSASignatur
- fromPrivate
Creates an ECKey given the private key only.
- fromPublicOnly
Creates an ECKey that cannot be used for signing, only verifying signatures,
from the given encoded
- getAddress
Gets the address form of the public key.
- getNodeId
Generates the NodeID based on this key, that is the public key without first
format byte
- getPrivKeyBytes
Returns a 32 byte array containing the private key, or null if the key is
encrypted or public only
- getPubKey
Gets the encoded public key value.
- isPubKeyCanonical
Returns true if the given pubkey is canonical, i.e. the correct length taking
into wallet compressio
- recoverPubBytesFromSignature
Given the components of a signature and a selector value, recover and return the
public key that gen
- sign
Takes the keccak hash (32 bytes) of data and returns the ECDSA signature
- signatureToKey
Compute the key that signed the given signature.