public class TestEdDHVectorsKAS extends ECDHTestBase
Modifier and Type | Class and Description |
---|---|
static class |
TestEdDHVectorsKAS.KASTestVector
KAS test vector
|
Modifier and Type | Field and Description |
---|---|
org.junit.rules.TestRule |
rule_ |
Constructor and Description |
---|
TestEdDHVectorsKAS(TestEdDHVectorsKAS.KASTestVector testVector,
boolean sideChannelProtection) |
Modifier and Type | Method and Description |
---|---|
static Collection<Object[]> |
getParameters() |
void |
testVectors() |
static void |
verifyKeys(EdParameterSpec params,
EdPrivateKey privateKey,
EdPublicKey publicKey) |
setUp
addProviders
public TestEdDHVectorsKAS(TestEdDHVectorsKAS.KASTestVector testVector, boolean sideChannelProtection)
public static Collection<Object[]> getParameters() throws IOException
IOException
public static void verifyKeys(EdParameterSpec params, EdPrivateKey privateKey, EdPublicKey publicKey)
public void testVectors() throws InvalidAlgorithmParameterException, InvalidKeyException, NoSuchAlgorithmException
Copyright © 2011–2022 Stiftung SIC. All rights reserved.