diff options
Diffstat (limited to 'pdf-as-lib/src')
-rw-r--r-- | pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/PdfAsFactory.java | 4 | ||||
-rw-r--r-- | pdf-as-lib/src/main/java/at/gv/egiz/sl/util/ISignatureConnectorSLWrapper.java | 3 | ||||
-rw-r--r-- | pdf-as-lib/src/main/resources/config/config.zip | bin | 1039811 -> 1039807 bytes |
3 files changed, 3 insertions, 4 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/PdfAsFactory.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/PdfAsFactory.java index bd7c9d3e..b73cc9af 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/PdfAsFactory.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/PdfAsFactory.java @@ -31,8 +31,8 @@ public class PdfAsFactory { private static final String DEFAULT_CONFIG_RES = "config/config.zip"; static { - PropertyConfigurator.configure(ClassLoader - .getSystemResourceAsStream("resources/log4j.properties")); + /*PropertyConfigurator.configure(ClassLoader + .getSystemResourceAsStream("resources/log4j.properties"));*/ IAIK.addAsProvider(); ECCelerate.addAsProvider(); } diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/ISignatureConnectorSLWrapper.java b/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/ISignatureConnectorSLWrapper.java index 273f08ab..75b10c4c 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/ISignatureConnectorSLWrapper.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/ISignatureConnectorSLWrapper.java @@ -54,8 +54,7 @@ public class ISignatureConnectorSLWrapper implements ISignatureConnector { } } } catch (CertificateException e) { - // TODO Auto-generated catch block - e.printStackTrace(); + throw new PdfAsSignatureException("error.pdf.sig.01", e); } return certificate; } diff --git a/pdf-as-lib/src/main/resources/config/config.zip b/pdf-as-lib/src/main/resources/config/config.zip Binary files differindex dd8892c2..f277bd76 100644 --- a/pdf-as-lib/src/main/resources/config/config.zip +++ b/pdf-as-lib/src/main/resources/config/config.zip |