Skip to content

Commit

Permalink
tests: remove verification of external signatures. These tests are no…
Browse files Browse the repository at this point in the history
…w on xades4j.interop.
  • Loading branch information
luisgoncalves committed Sep 21, 2014
1 parent c8ed2ec commit 8331016
Show file tree
Hide file tree
Showing 34 changed files with 10 additions and 27,085 deletions.
2 changes: 1 addition & 1 deletion src/main/java/xades4j/utils/DOMHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public static void setIdAsXmlId(Element e, String id)
}

/**
* Defines the element's "Id" atribute as its XML ID, if present.
* Defines the element's "Id" attribute as its XML ID, if present.
* @param e the element
*/
public static void useIdAsXmlId(Element e)
Expand Down
File renamed without changes.
File renamed without changes.
16 changes: 8 additions & 8 deletions src/test/cert/tsl/be/readme.txt → src/test/cert/be/readme.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
========== Description ==========
Self-signed certificate for the Belgian Trust List Scheme Operator. Used to verify the BE TSL.
Java keystore ("beStore") with the above certificate so that a cert path can be built.
=========== Creation of trust-anchors keystore ===========
========== Description ==========

Self-signed certificate for the Belgian Trust List Scheme Operator. Used to verify the BE TSL.

Java keystore ("beStore") with the above certificate so that a cert path can be built.

=========== Creation of trust-anchors keystore ===========

keytool -importcert -alias beTLSO -file be_tlso.cer -keystore beStore -storepass bestorepass
Binary file removed src/test/cert/petition/CC001.cer
Binary file not shown.
Binary file removed src/test/cert/petition/CyberTrust.cer
Binary file not shown.
Binary file removed src/test/cert/petition/ECQualifSigCC002.cer
Binary file not shown.
Binary file removed src/test/cert/petition/ECRaizEstado.cer
Binary file not shown.
Binary file removed src/test/cert/petition/IAIKtsaCert.cer
Binary file not shown.
15 changes: 0 additions & 15 deletions src/test/cert/petition/readme.txt

This file was deleted.

Binary file removed src/test/cert/petition/signitStore
Binary file not shown.
3 changes: 0 additions & 3 deletions src/test/cert/tsl/es/TSL_OPERATOR.cer

This file was deleted.

Binary file removed src/test/cert/tsl/es/esStore
Binary file not shown.
9 changes: 0 additions & 9 deletions src/test/cert/tsl/es/readme.txt

This file was deleted.

Binary file removed src/test/cert/tsl/it/DigitPA.cer
Binary file not shown.
28 changes: 0 additions & 28 deletions src/test/cert/tsl/it/DigitPA.cer.b64

This file was deleted.

Binary file removed src/test/cert/tsl/it/itStore
Binary file not shown.
11 changes: 0 additions & 11 deletions src/test/cert/tsl/it/readme.txt

This file was deleted.

29 changes: 0 additions & 29 deletions src/test/cert/tsl/pt/ECCE.cer

This file was deleted.

Binary file removed src/test/cert/tsl/pt/ECRaizEstado.cer
Binary file not shown.
5 changes: 0 additions & 5 deletions src/test/cert/tsl/pt/readme.txt

This file was deleted.

Binary file not shown.
Binary file removed src/test/cert/tsl/sk/kcanbusr3_der.cer
Binary file not shown.
11 changes: 0 additions & 11 deletions src/test/cert/tsl/sk/readme.txt

This file was deleted.

Binary file removed src/test/cert/tsl/sk/skStore
Binary file not shown.
141 changes: 0 additions & 141 deletions src/test/java/xades4j/verification/VerifyExternalSigsTest.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void testErrVerifyNoSignCert() throws Exception
{
System.out.println("ErrVerifyNoSignCert");

KeyStore ks = createAndLoadJKSKeyStore("tsl/be/beStore", "bestorepass");
KeyStore ks = createAndLoadJKSKeyStore("be/beStore", "bestorepass");
PKIXCertificateValidationProvider cvp = new PKIXCertificateValidationProvider(ks, false);
verifyBadSignature("TSL_BE.nocert.xml", new XadesVerificationProfile(cvp));
}
Expand Down
Loading

0 comments on commit 8331016

Please sign in to comment.