Bitcoin
Static Public Member Functions | List of all members
org.bitcoin.NativeSecp256k1Test Class Reference

Static Public Member Functions

static void testVerifyPos () throws AssertFailException
 
static void testVerifyNeg () throws AssertFailException
 
static void testSecKeyVerifyPos () throws AssertFailException
 
static void testSecKeyVerifyNeg () throws AssertFailException
 
static void testPubKeyCreatePos () throws AssertFailException
 
static void testPubKeyCreateNeg () throws AssertFailException
 
static void testSignPos () throws AssertFailException
 
static void testSignNeg () throws AssertFailException
 
static void testPrivKeyTweakAdd_1 () throws AssertFailException
 
static void testPrivKeyTweakMul_1 () throws AssertFailException
 
static void testPrivKeyTweakAdd_2 () throws AssertFailException
 
static void testPrivKeyTweakMul_2 () throws AssertFailException
 
static void testRandomize () throws AssertFailException
 
static void testCreateECDHSecret () throws AssertFailException
 
static void main (String[] args) throws AssertFailException
 

Detailed Description

This class holds test cases defined for testing this library.

Member Function Documentation

◆ main()

static void org.bitcoin.NativeSecp256k1Test.main ( String []  args) throws AssertFailException
inlinestatic

◆ testCreateECDHSecret()

static void org.bitcoin.NativeSecp256k1Test.testCreateECDHSecret ( ) throws AssertFailException
inlinestatic

◆ testPrivKeyTweakAdd_1()

static void org.bitcoin.NativeSecp256k1Test.testPrivKeyTweakAdd_1 ( ) throws AssertFailException
inlinestatic

This tests private key tweak-add

◆ testPrivKeyTweakAdd_2()

static void org.bitcoin.NativeSecp256k1Test.testPrivKeyTweakAdd_2 ( ) throws AssertFailException
inlinestatic

This tests private key tweak-add uncompressed

◆ testPrivKeyTweakMul_1()

static void org.bitcoin.NativeSecp256k1Test.testPrivKeyTweakMul_1 ( ) throws AssertFailException
inlinestatic

This tests private key tweak-mul

◆ testPrivKeyTweakMul_2()

static void org.bitcoin.NativeSecp256k1Test.testPrivKeyTweakMul_2 ( ) throws AssertFailException
inlinestatic

This tests private key tweak-mul uncompressed

◆ testPubKeyCreateNeg()

static void org.bitcoin.NativeSecp256k1Test.testPubKeyCreateNeg ( ) throws AssertFailException
inlinestatic

This tests public key create() for a invalid secretkey

◆ testPubKeyCreatePos()

static void org.bitcoin.NativeSecp256k1Test.testPubKeyCreatePos ( ) throws AssertFailException
inlinestatic

This tests public key create() for a valid secretkey

◆ testRandomize()

static void org.bitcoin.NativeSecp256k1Test.testRandomize ( ) throws AssertFailException
inlinestatic

This tests seed randomization

◆ testSecKeyVerifyNeg()

static void org.bitcoin.NativeSecp256k1Test.testSecKeyVerifyNeg ( ) throws AssertFailException
inlinestatic

This tests secret key verify() for an invalid secretkey

◆ testSecKeyVerifyPos()

static void org.bitcoin.NativeSecp256k1Test.testSecKeyVerifyPos ( ) throws AssertFailException
inlinestatic

This tests secret key verify() for a valid secretkey

◆ testSignNeg()

static void org.bitcoin.NativeSecp256k1Test.testSignNeg ( ) throws AssertFailException
inlinestatic

This tests sign() for a invalid secretkey

◆ testSignPos()

static void org.bitcoin.NativeSecp256k1Test.testSignPos ( ) throws AssertFailException
inlinestatic

This tests sign() for a valid secretkey

◆ testVerifyNeg()

static void org.bitcoin.NativeSecp256k1Test.testVerifyNeg ( ) throws AssertFailException
inlinestatic

This tests verify() for a non-valid signature

◆ testVerifyPos()

static void org.bitcoin.NativeSecp256k1Test.testVerifyPos ( ) throws AssertFailException
inlinestatic

This tests verify() for a valid signature


The documentation for this class was generated from the following file: