From 0d4034f7fd780f63f90354e3f865ce1952296912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Gon=C3=A7alves?= Date: Sun, 18 Nov 2018 12:08:00 +0000 Subject: [PATCH] Fix PT CC tests (#179) --- src/test/cert/pt/GTEGlobalRoot.cer | Bin 0 -> 606 bytes src/test/cert/pt/readme.txt | 4 + src/test/cert/pt/trustAnchor | Bin 0 -> 670 bytes .../verification/VerifierTestBase.java | 13 +- .../verification/XadesVerifierErrorsTest.java | 2 - .../verification/XadesVerifierImplTest.java | 25 +-- ....ptcc.xml => document.signed.bes.ptcc.xml} | 204 +++++++++--------- 7 files changed, 122 insertions(+), 126 deletions(-) create mode 100644 src/test/cert/pt/GTEGlobalRoot.cer create mode 100644 src/test/cert/pt/trustAnchor rename src/test/xml/{document.signed.t.bes.ptcc.xml => document.signed.bes.ptcc.xml} (68%) diff --git a/src/test/cert/pt/GTEGlobalRoot.cer b/src/test/cert/pt/GTEGlobalRoot.cer new file mode 100644 index 0000000000000000000000000000000000000000..e37fa29b1df9b2542fa399b40a0c7c8c03ae045b GIT binary patch literal 606 zcmXqLVu~_oVm!>m#JJRemyJ`a&7L6q z%nM2UCF>a~ z8z_PlG7C$gDRj@tPfE;D2+GedF_07IwX`s>Ff=wWFtRi-h!W>D1apmyO+nm&a#rJf zo>T+y?ADU|vC)9769?U*J_-Ag!luPS-b34)-p1s{P^?Z@xsiiVSyJDE0r#LC%u zk(~#OK4zf1a$iexzKpvWcspGwafz0VNBQFgHOuZ5FA`yHwf()C&){gYm~o>p$GmD2 zzxxg+O0Ms$z4N6kw03rKh{VeeuRh0YyxHv}xAVYMzg@qsKC1bek+{F_4eRvy=ndBw sx0)PLS?XQ!^+wfxM_)!bF}0FW`)4*&oF literal 0 HcmV?d00001 diff --git a/src/test/cert/pt/readme.txt b/src/test/cert/pt/readme.txt index 4e3b4b53..bb107790 100644 --- a/src/test/cert/pt/readme.txt +++ b/src/test/cert/pt/readme.txt @@ -5,3 +5,7 @@ Certificates in the Portuguese Government PKI. The top most CA is "GTE CyberTrus Used to verify signatures produced with PT Citizen Cards. Cert path is: GTE Global Root > ECRaizEstado > CC001 > ECAuthCC002 > (Personal) + +======== Trust-anchors keystore ========= + +keytool -importcert -alias GTERoot-file "GTEGlobalRoot.cer" -keystore trustAnchor -storepass password diff --git a/src/test/cert/pt/trustAnchor b/src/test/cert/pt/trustAnchor new file mode 100644 index 0000000000000000000000000000000000000000..ffbe8266f63ca3718ed46463d5d1d52f05b8b2a0 GIT binary patch literal 670 zcmezO_TO6u1_mY|W(3ph=_RQ}`S~S4e!ANBrbGtT2t88+OQ4cCgC?dZgC@qqOiYYR z4S3l&wc0$|zVk9Nvam83lp1myaI!Invaks=g$5f+7>I#5T*CbBA+8F}`9%f!MTsSu z`FV!w2C5(#ZecmFOl4APQAkl~afw23eoiS!MX`>8XI`?Np|XJ@NFlSZ6q-W!ocyH3 z9EBjDBMs!lc`YprEDVhe42&!d45Gw&4Z&O^V^a`!pq$k>A31y&Ss9ocdl?KGJDD0A z8K&|t*!Ce{&Woz!9cS-~^XYAvazWab@7t6ET~m&;otQBF#EulHs=6GT;D_cK#R>JB zrU$dn5B`}OG3Ci9R8*g?y$?ZHa)o<6YtB-2FW+d+Kd&4?CK6=CT#jPesRF?DdPo4b!^pqR( y>)EMmcP&5jb2WEW{RIad-|eqHzI$eP>|u{Qf6yeW_cH;`dhE>r literal 0 HcmV?d00001 diff --git a/src/test/java/xades4j/verification/VerifierTestBase.java b/src/test/java/xades4j/verification/VerifierTestBase.java index 543272cf..2f71e0f6 100644 --- a/src/test/java/xades4j/verification/VerifierTestBase.java +++ b/src/test/java/xades4j/verification/VerifierTestBase.java @@ -73,15 +73,8 @@ public InputStream getSignaturePolicyDocumentStream( // Validation provider for "pt" folder. Used for signatures produced // with the PT citizen card. certStore = createDirectoryCertStore("pt"); - try - { - ks = KeyStore.getInstance("Windows-ROOT"); - ks.load(null); - validationProviderPtCc = new PKIXCertificateValidationProvider(ks, false, certStore.getStore()); - } catch (Exception e) - { - // Not on windows platform... - } + ks = createAndLoadJKSKeyStore("pt/trustAnchor", "password"); + validationProviderPtCc = new PKIXCertificateValidationProvider(ks, false, certStore.getStore(), gvaCRLStore.getStore()); } catch (Exception ex) { throw new NullPointerException("VerifierTestBase init failed: " + ex.getMessage()); @@ -107,7 +100,7 @@ protected static XAdESForm verifySignature( return verifySignature(sigFileName, new XadesVerificationProfile(VerifierTestBase.validationProviderMySigs), options); } - private static XAdESForm verifySignature( + protected static XAdESForm verifySignature( String sigFileName, XadesVerificationProfile p, SignatureSpecificVerificationOptions options) throws Exception diff --git a/src/test/java/xades4j/verification/XadesVerifierErrorsTest.java b/src/test/java/xades4j/verification/XadesVerifierErrorsTest.java index 7368d417..0bc9efde 100644 --- a/src/test/java/xades4j/verification/XadesVerifierErrorsTest.java +++ b/src/test/java/xades4j/verification/XadesVerifierErrorsTest.java @@ -18,7 +18,6 @@ import java.security.KeyStore; import org.junit.Test; -import static org.junit.Assume.assumeTrue; import org.junit.Before; import xades4j.providers.CannotSelectCertificateException; import xades4j.providers.impl.PKIXCertificateValidationProvider; @@ -50,7 +49,6 @@ public void testErrVerifySignedPropsIncorp() throws Exception public void testErrVerifySignedPropsIncorpNoRefType() throws Exception { System.out.println("errVerifySignedPropsIncorpNoRefType"); - assumeTrue(onWindowsPlatform() && null != validationProviderPtCc); verifyBadSignature("document.signed.bes.signedpropsrefnotype.xml", new XadesVerificationProfile(validationProviderPtCc)); diff --git a/src/test/java/xades4j/verification/XadesVerifierImplTest.java b/src/test/java/xades4j/verification/XadesVerifierImplTest.java index b15111ae..5eeb0e99 100644 --- a/src/test/java/xades4j/verification/XadesVerifierImplTest.java +++ b/src/test/java/xades4j/verification/XadesVerifierImplTest.java @@ -19,12 +19,12 @@ import java.io.File; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; -import static org.junit.Assume.assumeTrue; import java.io.FileInputStream; import java.io.InputStream; import java.text.SimpleDateFormat; import java.util.Date; +import java.util.GregorianCalendar; import org.junit.Before; import org.junit.Test; @@ -98,6 +98,18 @@ public void verify(RawSignatureVerifierContext ctx) throws InvalidSignatureExcep assertEquals(XAdESForm.BES, f); } + @Test + public void testVerifyBESPTCC() throws Exception + { + System.out.println("verifyBESPtCC"); + + XAdESForm f = verifySignature( + "document.signed.bes.ptcc.xml", + new XadesVerificationProfile(validationProviderPtCc), + new SignatureSpecificVerificationOptions().setDefaultVerificationDate(new GregorianCalendar(2014, 0, 1).getTime())); + assertEquals(XAdESForm.BES, f); + } + @Test public void testVerifyDetachedBES() throws Exception { @@ -196,17 +208,6 @@ public void testVerifyTEPES() throws Exception assertEquals(XAdESForm.T, f); } - @Test - public void testVerifyTPTCC() throws Exception - { - System.out.println("verifyTPtCC"); - assumeTrue(onWindowsPlatform() && null != validationProviderPtCc); - - XAdESForm f = verifySignature("document.signed.t.bes.ptcc.xml", - new XadesVerificationProfile(validationProviderPtCc)); - assertEquals(XAdESForm.T, f); - } - @Test public void testVerifyC() throws Exception { diff --git a/src/test/xml/document.signed.t.bes.ptcc.xml b/src/test/xml/document.signed.bes.ptcc.xml similarity index 68% rename from src/test/xml/document.signed.t.bes.ptcc.xml rename to src/test/xml/document.signed.bes.ptcc.xml index fba96eed..7a8c7da3 100644 --- a/src/test/xml/document.signed.t.bes.ptcc.xml +++ b/src/test/xml/document.signed.bes.ptcc.xml @@ -1,103 +1,103 @@ - - Questions, unanswered - Steve and the flubberblubs - 1989 - - - What do you know? - Steve and the flubberblubs - 2006-10-17-08:31 - - - Who do you know? - Steve and the flubberblubs - 2006-10-17-08:35 - - - When do you know? - Steve and the flubberblubs - 2006-10-17-08:39 - - - Do you know? - Steve and the flubberblubs - 2006-10-17-08:44 - - - - - - - - - - - -rFhUNSbn59sfre23/DB2+uxCdaSCgsc/FFwhMiqKe7A= - - - -dnJSsh82D1T1mUYMRqYlbtSBt1h7e7Lyt/mKlbcdNSY= - - - -AMfT30WD59QnQVjBr6g+9uNcYeM5XSDP2D+kZr8owg1VjLHEGe74JLXNc7RnAy+oqliXvEopSQCH -+lGCKM6CqcLP3OoVQ1OX5fRS8uRmT6PgbRcaDTU0iQPE7wG0cBEpUIVhj71tG/+c0Ze8VrMnmgLX -JDyks28YKvu0VVLHD0c= - - - -CN=JOSÉ MANUEL DE CAMPOS LAGES GARCIA SIMÃO,2.5.4.5=#130b4249313039373034313639,2.5.4.42=#0c0c4a4f53c389204d414e55454c,2.5.4.4=#0c1d44452043414d504f53204c41474553204741524349412053494dc3834f,OU=Cidadão Português,OU=Autenticação do Cidadão,O=Cartão de Cidadão,C=PT - -CN=EC de Autenticação do Cartão de Cidadão 0004,OU=subECEstado,O=Cartão de Cidadão,C=PT -6188391070440742905 - - -MIIHOjCCBiKgAwIBAgIIVeGU5BzR3/kwDQYJKoZIhvcNAQEFBQAwfDELMAkGA1UEBhMCUFQxHDAa -BgNVBAoME0NhcnTDo28gZGUgQ2lkYWTDo28xFDASBgNVBAsMC3N1YkVDRXN0YWRvMTkwNwYDVQQD -DDBFQyBkZSBBdXRlbnRpY2HDp8OjbyBkbyBDYXJ0w6NvIGRlIENpZGFkw6NvIDAwMDQwHhcNMTAw -NzE5MTMxNDE4WhcNMTUwNzE4MjMwMDAwWjCB+DELMAkGA1UEBhMCUFQxHDAaBgNVBAoME0NhcnTD -o28gZGUgQ2lkYWTDo28xIzAhBgNVBAsMGkF1dGVudGljYcOnw6NvIGRvIENpZGFkw6NvMRwwGgYD -VQQLDBNDaWRhZMOjbyBQb3J0dWd1w6pzMSYwJAYDVQQEDB1ERSBDQU1QT1MgTEFHRVMgR0FSQ0lB -IFNJTcODTzEVMBMGA1UEKgwMSk9Tw4kgTUFOVUVMMRQwEgYDVQQFEwtCSTEwOTcwNDE2OTEzMDEG -A1UEAwwqSk9Tw4kgTUFOVUVMIERFIENBTVBPUyBMQUdFUyBHQVJDSUEgU0lNw4NPMIGfMA0GCSqG -SIb3DQEBAQUAA4GNADCBiQKBgQDTC3r1baabufb76Bdtqf5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ItZWNfY2lkYWRhb19hdXRlbnRpY2FjYW9fY3Js -MDAwNF9wMDAwMi5jcmwwcQYDVR0uBGowaDBmoGSgYoZgaHR0cDovL3BraS5jYXJ0YW9kZWNpZGFk -YW8ucHQvcHVibGljby9scmMvY2Nfc3ViLWVjX2NpZGFkYW9fYXV0ZW50aWNhY2FvX2NybDAwMDRf -ZGVsdGFfcDAwMDIuY3JsMEsGCCsGAQUFBwEBBD8wPTA7BggrBgEFBQcwAYYvaHR0cDovL29jc3Au -YXVjLmNhcnRhb2RlY2lkYWRhby5wdC9wdWJsaWNvL29jc3AwEQYJYIZIAYb4QgEBBAQDAgCgMCgG -A1UdCQQhMB8wHQYIKwYBBQUHCQExERgPMTk3NzAxMjcxMjAwMDBaMA0GCSqGSIb3DQEBBQUAA4IB -AQDFzhs7E412+5uYT2SNlr9YBiOtq/Y5mm9HRBr0mvmKS+Y0oUj3NmS9Cy5CawHn01mglB5Q0Yk4 -6x2ATb2SA3G7iQy+fG/NHMKpNxhpbCQjvfD26FG2gTVYrfH3DuepebuysAjf/wgEUKK3QgG1EQhh -0iww3+qCVyfsytTnxbURa51zBiH7wUhrdrdOJAzH8JfapcNUcyNnTtXbzzsHtXYaccrso/WDLyN8 -wASCaV98MgSOrUwYpLmSdLuL2nzC2GL4hYeLbIGoKyeou85ckgG40LR0c9g9UmIY7iN8yD+SjTyw -NUuoyIiSo31TCD/e7MO4YvZwwf6lHNiZACspTSL7 - - - - - -0wt69W2mm7n2++gXban+aYM2DNv8g7x4pWHX1rSALZigPnWS50pYunvdP+cHvPhHkRhYozLHwEY7 -7WaGUCsJMWGC01K4qH2zoSVwkpWxNS3gFh6+NXPF3xg569SA8z1BUsLPwL/wRtbZMUcwZIlRQWud -BF631J33Ko2PrZoahqM= - -AQAB - - - -2010-09-29T17:23:21.518+01:00r+L6cPwxjWjlduBIEdat8I/6j0bMqWFQQu/8ml6oU8E=CN=EC de Autenticação do Cartão de Cidadão 0004,OU=subECEstado,O=Cartão de Cidadão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OTE2MjMwOFowIwYJKoZIhvcNAQkEMRYEFMvEkT7TQf/xvNi0PSOoJNQ7vQFuMCsGCyqGSIb3DQEJEAIMMRwwGjAYMBYEFA+3Am8my2/4hYsxWXVnCwzy8fR9MA0GCSqGSIb3DQEBAQUABIIBAENc7/OuROMCeG2Is7OcglnAOGvQznDqcEYDbaPrawTotkI9mFhZShnyUnjAqCgcNzr/opd8s0tF9+rl3xOjAN+msfi1iEU06zSrcM3D5B6wj+B70Z3i08TeZp9fKe+lNJmKPPlaiDGknRWzL50qZtnk+g65Ot+YqFjIv7ZfA8R0jf9FQFxE3RjREmGR/i9D89QQqA20d6twQe46NErB/VQNHzs9SwQp/WE4Ukv1PIBIHWtqa2bx9e5dmUZSRfrn7HfmsMqDpJb7ZriIdW72u4iqBmXiwXgR3y8vC6GbWRTdS6RdhLqX3as4g404hayPf36FAukth/4GCQUyMkyix9k= + + Questions, unanswered + Steve and the flubberblubs + 1989 + + + What do you know? + Steve and the flubberblubs + 2006-10-17-08:31 + + + Who do you know? + Steve and the flubberblubs + 2006-10-17-08:35 + + + When do you know? + Steve and the flubberblubs + 2006-10-17-08:39 + + + Do you know? + Steve and the flubberblubs + 2006-10-17-08:44 + + + + + + + + + + + +rFhUNSbn59sfre23/DB2+uxCdaSCgsc/FFwhMiqKe7A= + + + +dnJSsh82D1T1mUYMRqYlbtSBt1h7e7Lyt/mKlbcdNSY= + + + +AMfT30WD59QnQVjBr6g+9uNcYeM5XSDP2D+kZr8owg1VjLHEGe74JLXNc7RnAy+oqliXvEopSQCH ++lGCKM6CqcLP3OoVQ1OX5fRS8uRmT6PgbRcaDTU0iQPE7wG0cBEpUIVhj71tG/+c0Ze8VrMnmgLX +JDyks28YKvu0VVLHD0c= + + + +CN=JOSÉ MANUEL DE CAMPOS LAGES GARCIA SIMÃO,2.5.4.5=#130b4249313039373034313639,2.5.4.42=#0c0c4a4f53c389204d414e55454c,2.5.4.4=#0c1d44452043414d504f53204c41474553204741524349412053494dc3834f,OU=Cidadão Português,OU=Autenticação do Cidadão,O=Cartão de Cidadão,C=PT + +CN=EC de Autenticação do Cartão de Cidadão 0004,OU=subECEstado,O=Cartão de Cidadão,C=PT +6188391070440742905 + + +MIIHOjCCBiKgAwIBAgIIVeGU5BzR3/kwDQYJKoZIhvcNAQEFBQAwfDELMAkGA1UEBhMCUFQxHDAa +BgNVBAoME0NhcnTDo28gZGUgQ2lkYWTDo28xFDASBgNVBAsMC3N1YkVDRXN0YWRvMTkwNwYDVQQD +DDBFQyBkZSBBdXRlbnRpY2HDp8OjbyBkbyBDYXJ0w6NvIGRlIENpZGFkw6NvIDAwMDQwHhcNMTAw +NzE5MTMxNDE4WhcNMTUwNzE4MjMwMDAwWjCB+DELMAkGA1UEBhMCUFQxHDAaBgNVBAoME0NhcnTD +o28gZGUgQ2lkYWTDo28xIzAhBgNVBAsMGkF1dGVudGljYcOnw6NvIGRvIENpZGFkw6NvMRwwGgYD +VQQLDBNDaWRhZMOjbyBQb3J0dWd1w6pzMSYwJAYDVQQEDB1ERSBDQU1QT1MgTEFHRVMgR0FSQ0lB +IFNJTcODTzEVMBMGA1UEKgwMSk9Tw4kgTUFOVUVMMRQwEgYDVQQFEwtCSTEwOTcwNDE2OTEzMDEG +A1UEAwwqSk9Tw4kgTUFOVUVMIERFIENBTVBPUyBMQUdFUyBHQVJDSUEgU0lNw4NPMIGfMA0GCSqG +SIb3DQEBAQUAA4GNADCBiQKBgQDTC3r1baabufb76Bdtqf5pgzYM2/yDvHilYdfWtIAtmKA+dZLn +Sli6e90/5we8+EeRGFijMsfARjvtZoZQKwkxYYLTUriofbOhJXCSlbE1LeAWHr41c8XfGDnr1IDz +PUFSws/Av/BG1tkxRzBkiVFBa50EXrfUnfcqjY+tmhqGowIDAQABo4IDxTCCA8EwDAYDVR0TAQH/ +BAIwADAOBgNVHQ8BAf8EBAMCA4gwHQYDVR0OBBYEFGdtPp4VTTNSRuDhjBgdpOMAuEZNMB8GA1Ud +IwQYMBaAFHqcpgwkJ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nRhb2RlY2lkYWRhby5wdC9wdWJsaWNvL29jc3AwEQYJYIZIAYb4QgEBBAQDAgCgMCgG +A1UdCQQhMB8wHQYIKwYBBQUHCQExERgPMTk3NzAxMjcxMjAwMDBaMA0GCSqGSIb3DQEBBQUAA4IB +AQDFzhs7E412+5uYT2SNlr9YBiOtq/Y5mm9HRBr0mvmKS+Y0oUj3NmS9Cy5CawHn01mglB5Q0Yk4 +6x2ATb2SA3G7iQy+fG/NHMKpNxhpbCQjvfD26FG2gTVYrfH3DuepebuysAjf/wgEUKK3QgG1EQhh +0iww3+qCVyfsytTnxbURa51zBiH7wUhrdrdOJAzH8JfapcNUcyNnTtXbzzsHtXYaccrso/WDLyN8 +wASCaV98MgSOrUwYpLmSdLuL2nzC2GL4hYeLbIGoKyeou85ckgG40LR0c9g9UmIY7iN8yD+SjTyw +NUuoyIiSo31TCD/e7MO4YvZwwf6lHNiZACspTSL7 + + + + + +0wt69W2mm7n2++gXban+aYM2DNv8g7x4pWHX1rSALZigPnWS50pYunvdP+cHvPhHkRhYozLHwEY7 +7WaGUCsJMWGC01K4qH2zoSVwkpWxNS3gFh6+NXPF3xg569SA8z1BUsLPwL/wRtbZMUcwZIlRQWud +BF631J33Ko2PrZoahqM= + +AQAB + + + +2010-09-29T17:23:21.518+01:00r+L6cPwxjWjlduBIEdat8I/6j0bMqWFQQu/8ml6oU8E=CN=EC de Autenticação do Cartão de Cidadão 0004,OU=subECEstado,O=Cartão de Cidadão,C=PT6188391070440742905 \ No newline at end of file