Package com.microej.crypto.test
Class SignatureTest
- java.lang.Object
-
- com.microej.crypto.test.SignatureTest
-
public class SignatureTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SignatureTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtearDown()voidtestInvalidVerifySHA256withECDSA_key_192()Test invalid signature verification using SHA256withECDSA algorithm with 192-bit Elliptic Curve keyvoidtestInvalidVerifySHA256withECDSA_key_224()Test invalid signature verification using SHA256withECDSA algorithm with 224-bit Elliptic Curve keyvoidtestInvalidVerifySHA256withECDSA_key_256()Test invalid signature verification using SHA256withECDSA algorithm with 256-bit Elliptic Curve keyvoidtestInvalidVerifySHA256withRSA_key_1024()Test invalid signature verification using SHA256withRSA algorithm with 1024-bit RSA keyvoidtestInvalidVerifySHA256withRSA_key_2048()Test invalid signature verification using SHA256withRSA algorithm with 2048-bit RSA keyvoidtestMalformedVerifySHA256withECDSA_key_192()Test malformed signature verification using SHA256withRSA algorithm with 2048-bit RSA keyvoidtestMalformedVerifySHA256withECDSA_key_224()Test malformed signature verification using SHA256withECDSA algorithm with 224-bit Elliptic Curve keyvoidtestMalformedVerifySHA256withECDSA_key_256()Test invalid signature verification using SHA256withECDSA algorithm with 256-bit Elliptic Curve keyvoidtestMalformedVerifySHA256withRSA_key_1024()Test malformed signature verification using SHA256withRSA algorithm with 1024-bit RSA keyvoidtestMalformedVerifySHA256withRSA_key_2048()Test signature verification using SHA256withRSA algorithm with 2048-bit RSA keyvoidtestSignSHA256withECDSA_key_192()Test signature creation using SHA256withECDSA algorithm with 192-bit Elliptic Curve keyvoidtestSignSHA256withECDSA_key_224()Test signature creation using SHA256withECDSA algorithm with 224-bit Elliptic Curve keyvoidtestSignSHA256withECDSA_key_256()Test signature creation using SHA256withECDSA algorithm with 256-bit Elliptic Curve keyvoidtestSignSHA256withRSA_key_1024()Test signature creation using SHA256withRSA algorithm with 1024-bit RSA keyvoidtestSignSHA256withRSA_key_2048()Test signature creation using SHA256withRSA algorithm with 2048-bit RSA keyvoidtestVerifySHA256withECDSA_key_192()Test signature verification using SHA256withECDSA algorithm with 192-bit Elliptic Curve keyvoidtestVerifySHA256withECDSA_key_224()Test signature verification using SHA256withECDSA algorithm with 224-bit Elliptic Curve keyvoidtestVerifySHA256withECDSA_key_256()Test signature verification using SHA256withECDSA algorithm with 256-bit Elliptic Curve keyvoidtestVerifySHA256withRSA_key_1024()Test signature verification using SHA256withRSA algorithm with 1024-bit RSA keyvoidtestVerifySHA256withRSA_key_2048()Test signature verification using SHA256withRSA algorithm with 2048-bit RSA key
-
-
-
Method Detail
-
testVerifySHA256withRSA_key_1024
public void testVerifySHA256withRSA_key_1024() throws java.lang.ExceptionTest signature verification using SHA256withRSA algorithm with 1024-bit RSA key- Throws:
java.lang.Exception
-
testInvalidVerifySHA256withRSA_key_1024
public void testInvalidVerifySHA256withRSA_key_1024() throws java.lang.ExceptionTest invalid signature verification using SHA256withRSA algorithm with 1024-bit RSA key- Throws:
java.lang.Exception
-
testMalformedVerifySHA256withRSA_key_1024
public void testMalformedVerifySHA256withRSA_key_1024() throws java.lang.ExceptionTest malformed signature verification using SHA256withRSA algorithm with 1024-bit RSA key- Throws:
java.lang.Exception
-
testVerifySHA256withRSA_key_2048
public void testVerifySHA256withRSA_key_2048() throws java.lang.ExceptionTest signature verification using SHA256withRSA algorithm with 2048-bit RSA key- Throws:
java.lang.Exception
-
testInvalidVerifySHA256withRSA_key_2048
public void testInvalidVerifySHA256withRSA_key_2048() throws java.lang.ExceptionTest invalid signature verification using SHA256withRSA algorithm with 2048-bit RSA key- Throws:
java.lang.Exception
-
testMalformedVerifySHA256withRSA_key_2048
public void testMalformedVerifySHA256withRSA_key_2048() throws java.lang.ExceptionTest signature verification using SHA256withRSA algorithm with 2048-bit RSA key- Throws:
java.lang.Exception
-
testVerifySHA256withECDSA_key_192
public void testVerifySHA256withECDSA_key_192() throws java.lang.ExceptionTest signature verification using SHA256withECDSA algorithm with 192-bit Elliptic Curve key- Throws:
java.lang.Exception
-
testInvalidVerifySHA256withECDSA_key_192
public void testInvalidVerifySHA256withECDSA_key_192() throws java.lang.ExceptionTest invalid signature verification using SHA256withECDSA algorithm with 192-bit Elliptic Curve key- Throws:
java.lang.Exception
-
testMalformedVerifySHA256withECDSA_key_192
public void testMalformedVerifySHA256withECDSA_key_192() throws java.lang.ExceptionTest malformed signature verification using SHA256withRSA algorithm with 2048-bit RSA key- Throws:
java.lang.Exception
-
testVerifySHA256withECDSA_key_224
public void testVerifySHA256withECDSA_key_224() throws java.lang.ExceptionTest signature verification using SHA256withECDSA algorithm with 224-bit Elliptic Curve key- Throws:
java.lang.Exception
-
testInvalidVerifySHA256withECDSA_key_224
public void testInvalidVerifySHA256withECDSA_key_224() throws java.lang.ExceptionTest invalid signature verification using SHA256withECDSA algorithm with 224-bit Elliptic Curve key- Throws:
java.lang.Exception
-
testMalformedVerifySHA256withECDSA_key_224
public void testMalformedVerifySHA256withECDSA_key_224() throws java.lang.ExceptionTest malformed signature verification using SHA256withECDSA algorithm with 224-bit Elliptic Curve key- Throws:
java.lang.Exception
-
testVerifySHA256withECDSA_key_256
public void testVerifySHA256withECDSA_key_256() throws java.lang.ExceptionTest signature verification using SHA256withECDSA algorithm with 256-bit Elliptic Curve key- Throws:
java.lang.Exception
-
testInvalidVerifySHA256withECDSA_key_256
public void testInvalidVerifySHA256withECDSA_key_256() throws java.lang.ExceptionTest invalid signature verification using SHA256withECDSA algorithm with 256-bit Elliptic Curve key- Throws:
java.lang.Exception
-
testMalformedVerifySHA256withECDSA_key_256
public void testMalformedVerifySHA256withECDSA_key_256() throws java.lang.ExceptionTest invalid signature verification using SHA256withECDSA algorithm with 256-bit Elliptic Curve key- Throws:
java.lang.Exception
-
testSignSHA256withRSA_key_1024
public void testSignSHA256withRSA_key_1024() throws java.lang.ExceptionTest signature creation using SHA256withRSA algorithm with 1024-bit RSA key- Throws:
java.lang.Exception
-
testSignSHA256withRSA_key_2048
public void testSignSHA256withRSA_key_2048() throws java.lang.ExceptionTest signature creation using SHA256withRSA algorithm with 2048-bit RSA key- Throws:
java.lang.Exception
-
testSignSHA256withECDSA_key_192
public void testSignSHA256withECDSA_key_192() throws java.lang.ExceptionTest signature creation using SHA256withECDSA algorithm with 192-bit Elliptic Curve key- Throws:
java.lang.Exception
-
testSignSHA256withECDSA_key_224
public void testSignSHA256withECDSA_key_224() throws java.lang.ExceptionTest signature creation using SHA256withECDSA algorithm with 224-bit Elliptic Curve key- Throws:
java.lang.Exception
-
testSignSHA256withECDSA_key_256
public void testSignSHA256withECDSA_key_256() throws java.lang.ExceptionTest signature creation using SHA256withECDSA algorithm with 256-bit Elliptic Curve key- Throws:
java.lang.Exception
-
tearDown
public void tearDown()
-
-