public class CadesSignerTest extends AbstractSignatureTest
Class that defines tests for CadesSigner.
@Firma and TS@ Web Services Integration Platform.
| Constructor and Description |
|---|
CadesSignerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testCoSign()
|
void |
testCoSignWithTimestamp()
Tests for generating CAdES co-signatures with timestamp.
|
void |
testCounterSign()
|
void |
testCounterSignWithTimestamp()
Tests for generating CAdES counter-ignatures with timestamp.
|
void |
testGetSignedDataCadesExplicit()
Test for method
CadesSigner.getSignedData(byte[]). |
void |
testGetSignedDataCadesImplicit()
Test for methods
CadesSigner.getSignedData(byte[]). |
void |
testSign()
|
void |
testSignWithTimestamp()
Tests for generating CAdES signatures with timestamp.
|
void |
testUpgrade()
Tests for
CadesSigner.upgrade(byte[], List). |
void |
testVerifySignature()
Tests for
CadesSigner.verifySignature(byte[], byte[]). |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toStringpublic void testVerifySignature()
throws java.lang.Exception
CadesSigner.verifySignature(byte[], byte[]).java.lang.Exception - If the test fails.public void testSign()
throws java.lang.Exception
java.lang.Exception - If the test fails.public void testCounterSign()
throws java.lang.Exception
java.lang.Exception - If the test fails.public void testCoSign()
throws java.lang.Exception
java.lang.Exception - If the test fails.public void testSignWithTimestamp()
java.lang.Exception - If the test fails.public void testCoSignWithTimestamp()
java.lang.Exception - If the test fails.public void testCounterSignWithTimestamp()
java.lang.Exception - If the test fails.public void testUpgrade()
CadesSigner.upgrade(byte[], List).java.lang.Exception - If the test fails.public final void testGetSignedDataCadesImplicit()
CadesSigner.getSignedData(byte[]).public final void testGetSignedDataCadesExplicit()
CadesSigner.getSignedData(byte[]).