aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/main/java/at/gv/egiz
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-01-09 12:52:06 +0100
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-01-09 12:52:06 +0100
commit11c4bfac46f66ab3ba24b6354a6a372da40c0b1f (patch)
treec1e8f6f9b11eb8d939fefb08ef35ece09eab51a5 /pdf-as-lib/src/main/java/at/gv/egiz
parentcec0065b747d30c6a0a17d18f2c7c8962a9102ed (diff)
downloadpdf-as-4-11c4bfac46f66ab3ba24b6354a6a372da40c0b1f.tar.gz
pdf-as-4-11c4bfac46f66ab3ba24b6354a6a372da40c0b1f.tar.bz2
pdf-as-4-11c4bfac46f66ab3ba24b6354a6a372da40c0b1f.zip
PDF-AS web Developments
Diffstat (limited to 'pdf-as-lib/src/main/java/at/gv/egiz')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/PdfAsFactory.java4
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/sl/util/ISignatureConnectorSLWrapper.java3
2 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;
}