From f3476576c50efd922593c82656efda7aec5ae97f Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Wed, 27 Nov 2013 10:05:17 +0100 Subject: MOA integration sign/verification (not finished yet ...) Lots of PDF-AS Web implementation --- signature-standards/sigs-pcks7detached/build.gradle | 3 ++- .../sigs-pcks7detached/src/main/java/META-INF/MANIFEST.MF | 3 +++ .../java/at/gv/egiz/pdfas/sigs/pkcs7detached/PKCS7DetachedSigner.java | 2 -- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 signature-standards/sigs-pcks7detached/src/main/java/META-INF/MANIFEST.MF (limited to 'signature-standards/sigs-pcks7detached') diff --git a/signature-standards/sigs-pcks7detached/build.gradle b/signature-standards/sigs-pcks7detached/build.gradle index cc0a4e33..6864bc00 100644 --- a/signature-standards/sigs-pcks7detached/build.gradle +++ b/signature-standards/sigs-pcks7detached/build.gradle @@ -8,13 +8,14 @@ jar { } repositories { + mavenLocal() mavenCentral() } dependencies { compile project (':pdf-as-lib') compile project (':pdf-as-common') - compile group: 'iaik', name: 'iaik_cms', version: '4.1-moa' + compile group: 'iaik', name: 'iaik_cms', version: '4.1' compile group: 'eu.europa.ec.joinup.egovlabs.pdf-as.iaik', name: 'iaik_jce_eval_signed', version: '4.0' compile group: 'eu.europa.ec.joinup.egovlabs.pdf-as.iaik', name: 'iaik_ecc_eval_signed', version: '2.19' compile group: 'commons-collections', name: 'commons-collections', version: '3.2' diff --git a/signature-standards/sigs-pcks7detached/src/main/java/META-INF/MANIFEST.MF b/signature-standards/sigs-pcks7detached/src/main/java/META-INF/MANIFEST.MF new file mode 100644 index 00000000..5e949512 --- /dev/null +++ b/signature-standards/sigs-pcks7detached/src/main/java/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: + diff --git a/signature-standards/sigs-pcks7detached/src/main/java/at/gv/egiz/pdfas/sigs/pkcs7detached/PKCS7DetachedSigner.java b/signature-standards/sigs-pcks7detached/src/main/java/at/gv/egiz/pdfas/sigs/pkcs7detached/PKCS7DetachedSigner.java index c6b12897..25b42f5f 100644 --- a/signature-standards/sigs-pcks7detached/src/main/java/at/gv/egiz/pdfas/sigs/pkcs7detached/PKCS7DetachedSigner.java +++ b/signature-standards/sigs-pcks7detached/src/main/java/at/gv/egiz/pdfas/sigs/pkcs7detached/PKCS7DetachedSigner.java @@ -19,8 +19,6 @@ import java.security.NoSuchAlgorithmException; import java.security.PrivateKey; import java.security.cert.Certificate; -import org.apache.pdfbox.cos.COSName; -import org.apache.pdfbox.exceptions.SignatureException; import org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature; import at.gv.egiz.pdfas.common.exceptions.PDFIOException; -- cgit v1.2.3