public class TestECDSA extends ECDSATestBase
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.TestRule |
rule_ |
| Constructor and Description |
|---|
TestECDSA(String algorithm,
int bitLength,
boolean sideChannelProtection,
boolean deterministicSigning) |
| Modifier and Type | Method and Description |
|---|---|
static Collection<Object[]> |
getParameters() |
void |
signAndVerify() |
void |
testPsychicSignature()
Tests if ECDSA signature verification checks for zero r and s values.
|
void |
testSignatureVerificationAfterSigning()
Tests if ECDSA signature verification checks for zero r and s values.
|
setUpaddProviderspublic TestECDSA(String algorithm, int bitLength, boolean sideChannelProtection, boolean deterministicSigning)
public static Collection<Object[]> getParameters()
public void signAndVerify()
throws InvalidAlgorithmParameterException,
NoSuchAlgorithmException,
InvalidKeyException,
SignatureException
public void testPsychicSignature()
throws UnsupportedEncodingException,
InvalidAlgorithmParameterException,
NoSuchAlgorithmException,
SignatureException,
InvalidKeyException
public void testSignatureVerificationAfterSigning()
throws InvalidAlgorithmParameterException,
NoSuchAlgorithmException,
InvalidKeyException,
SignatureException
Copyright © 2011–2022 Stiftung SIC. All rights reserved.