public class NativeSecp256k1 extends Object
This class holds native methods to handle ECDSA verification.
You can find an example library that can be used for this at https://github.com/sipa/secp256k1
To build secp256k1 for use with bitcoinj, run `./configure` and `make libjavasecp256k1.so` then copy libjavasecp256k1.so to your system library path or point the JVM to the folder containing it with -Djava.library.path
|Modifier and Type||Field and Description|
|Constructor and Description|
|Modifier and Type||Method and Description|
Verifies the given secp256k1 signature in native code.
public static boolean verify(byte data, byte signature, byte pub)
data- The data which was signed, must be exactly 32 bytes
signature- The signature
pub- The public key which did the signing
Copyright © 2014. All rights reserved.