public class NativeServicesTest
extends junit.framework.TestCase
Class that allows to tests the @Firma native services.
Project:@Firma and TS@ Web Services Integration Platform.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SHA1
Constant attribute that represents the algorithm SHA1.
|
| Constructor and Description |
|---|
NativeServicesTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
method010StoreDocument()
Test for @Firma store document service.
|
void |
method020AlmacenarDocumento()
Test for @Firma store document service.
|
void |
method030ValidarCertificado()
Test for @Firma verify certificate service.
|
void |
method040ValidateCertificate()
Test for @Firma verify certificate service.
|
void |
method050ObtenerInfoCertificado()
Test for @Firma get info from certificate service.
|
void |
method060GetInfoCertificate()
Test for @Firma get info from certificate service.
|
void |
method070FirmaServidor()
Test for @Firma server signature service.
|
void |
method080ServerSignature()
Test for @Firma server signature service.
|
void |
method090FirmaServidorCoSign()
Test for @Firma server co-signature service.
|
void |
method100CoSignSignatureServer()
Test for @Firma server co-signature service.
|
void |
method110FirmaServidorCounterSign()
Test for @Firma server counter-signature service.
|
void |
method120ServerSignatureCounterSign()
Test for @Firma server counter-signature service.
|
void |
method230ValidarFirma()
Test for @Firma verify signature service.
|
void |
testNativeServices()
Test for @Firma store document service.
|
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 static final java.lang.String SHA1
public void testNativeServices()
throws java.lang.Exception
java.lang.Exception - If the test fails.public void method010StoreDocument()
throws java.lang.Exception
java.lang.Exception - If the test fails.public void method020AlmacenarDocumento()
throws java.lang.Exception
java.lang.Exception - If the test fails.public void method030ValidarCertificado()
throws java.lang.Exception
java.lang.Exception - If the test fails.public void method040ValidateCertificate()
throws java.lang.Exception
java.lang.Exception - If the test fails.public void method050ObtenerInfoCertificado()
throws java.lang.Exception
java.lang.Exception - If the test fails.public void method060GetInfoCertificate()
throws java.lang.Exception
java.lang.Exception - If the test fails.public void method070FirmaServidor()
throws java.lang.Exception
java.lang.Exception - If the test fails.public void method080ServerSignature()
throws java.lang.Exception
java.lang.Exception - If the test fails.public void method090FirmaServidorCoSign()
throws java.lang.Exception
java.lang.Exception - If the test fails.public void method100CoSignSignatureServer()
throws java.lang.Exception
java.lang.Exception - If the test fails.public void method110FirmaServidorCounterSign()
throws java.lang.Exception
java.lang.Exception - If the test fails.public void method120ServerSignatureCounterSign()
throws java.lang.Exception
java.lang.Exception - If the test fails.public void method230ValidarFirma()
throws java.lang.Exception
java.lang.Exception - If the test fails.