public class TSAserviceTest extends TSAserviceNameTest
defaultDestination, DGS_POLICY_OLD2048, ecdsaLong, single1, single2, single4, single5, testMode, userPasswordCOPYRIGHT_NOTICE, POLICY_BP256, POLICY_BP512, POLICY_NIST256, POLICY_NIST521, POLICY_RSA2048, POLICY_RSA4096, VERSION| Constructor and Description |
|---|
TSAserviceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
configurationTest() |
void |
demoVerifyTest() |
void |
executionTestLegacy() |
void |
failoverTest() |
void |
minimalConfig()
get a timestamp using minimal configuration
|
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testProcessAlgoKeySize() |
executionDefault, processAlgoKeySizeAll, processLegacygetConfiguration, getTimestamp, getTimestamp, getTSAs, setConfiguration, setTSAs, toStringpublic void configurationTest()
throws IOException
IOExceptionpublic void demoVerifyTest()
throws org.bouncycastle.operator.OperatorCreationException,
org.bouncycastle.cms.CMSException,
IOException,
org.bouncycastle.tsp.cms.ImprintDigestInvalidException,
org.bouncycastle.tsp.TSPException
org.bouncycastle.operator.OperatorCreationExceptionorg.bouncycastle.cms.CMSExceptionIOExceptionorg.bouncycastle.tsp.cms.ImprintDigestInvalidExceptionorg.bouncycastle.tsp.TSPExceptionpublic void executionTestLegacy()
throws IOException
executionTestLegacy in class TSAserviceNameTestIOExceptionpublic void failoverTest()
throws IOException
IOExceptionpublic void minimalConfig()
throws IOException
IOExceptionpublic void setUp()
throws Exception
Exceptionpublic static void setUpBeforeClass()
throws Exception
Exceptionpublic void tearDown()
throws Exception
Exceptionpublic static void tearDownAfterClass()
throws Exception
Exceptionpublic void testProcessAlgoKeySize()
throws Exception
testProcessAlgoKeySize in class TSAserviceNameTestException