|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ECKey.ECDSASignature | |
|---|---|
| com.google.bitcoin.core | |
| com.google.bitcoin.crypto | |
| Uses of ECKey.ECDSASignature in com.google.bitcoin.core |
|---|
| Methods in com.google.bitcoin.core that return ECKey.ECDSASignature | |
|---|---|
static ECKey.ECDSASignature |
ECKey.ECDSASignature.decodeFromDER(byte[] bytes)
|
ECKey.ECDSASignature |
ECKey.sign(Sha256Hash input)
Signs the given hash and returns the R and S components as BigIntegers. |
ECKey.ECDSASignature |
ECKey.sign(Sha256Hash input,
org.spongycastle.crypto.params.KeyParameter aesKey)
Signs the given hash and returns the R and S components as BigIntegers. |
| Methods in com.google.bitcoin.core with parameters of type ECKey.ECDSASignature | |
|---|---|
static ECKey |
ECKey.recoverFromSignature(int recId,
ECKey.ECDSASignature sig,
Sha256Hash message,
boolean compressed)
Given the components of a signature and a selector value, recover and return the public key that generated the signature according to the algorithm in SEC1v2 section 4.1.6. |
static boolean |
ECKey.verify(byte[] data,
ECKey.ECDSASignature signature,
byte[] pub)
Verifies the given ECDSA signature against the message bytes using the public key bytes. |
boolean |
ECKey.verify(Sha256Hash sigHash,
ECKey.ECDSASignature signature)
Verifies the given R/S pair (signature) against a hash using the public key. |
| Uses of ECKey.ECDSASignature in com.google.bitcoin.crypto |
|---|
| Subclasses of ECKey.ECDSASignature in com.google.bitcoin.crypto | |
|---|---|
class |
TransactionSignature
A TransactionSignature wraps an ECKey.ECDSASignature and adds methods for handling
the additional SIGHASH mode byte that is used. |
| Constructors in com.google.bitcoin.crypto with parameters of type ECKey.ECDSASignature | |
|---|---|
TransactionSignature(ECKey.ECDSASignature signature,
Transaction.SigHash mode,
boolean anyoneCanPay)
Constructs a transaction signature based on the ECDSA signature. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||