diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2016-07-25 11:54:22 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2016-07-25 11:54:22 +0200 |
commit | 493b539067969be381da8bcb487732b156afe439 (patch) | |
tree | 4d098467d2a49808bcc7e41e8515c0617c9408c2 /pdf-as-cli/src/main | |
parent | 2af992106a61df9d13d9d57fd98079715b0aeafa (diff) | |
download | pdf-as-4-493b539067969be381da8bcb487732b156afe439.tar.gz pdf-as-4-493b539067969be381da8bcb487732b156afe439.tar.bz2 pdf-as-4-493b539067969be381da8bcb487732b156afe439.zip |
developer changes
Diffstat (limited to 'pdf-as-cli/src/main')
-rw-r--r-- | pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/DeveloperMain.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/DeveloperMain.java b/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/DeveloperMain.java index ccf4b80e..4c84ce30 100644 --- a/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/DeveloperMain.java +++ b/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/DeveloperMain.java @@ -24,8 +24,11 @@ package at.gv.egiz.pdfas.cli; import java.io.File; +import java.util.Iterator; +import at.gv.egiz.pdfas.lib.api.PdfAs; import at.gv.egiz.pdfas.lib.api.PdfAsFactory; +import at.gv.egiz.pdfas.lib.impl.configuration.ConfigurationImpl; public class DeveloperMain { @@ -35,14 +38,15 @@ public class DeveloperMain { //public static final String keyAlias = "pdf"; public static final String keyAlias = "ecc_test"; public static final String keyPass = "123456"; - + public static void main(String[] args) { String user_home = System.getProperty("user.home"); String pdfas_dir = user_home + File.separator + ".pdfas"; - /*PdfAs pdfas = */PdfAsFactory.createPdfAs(new File(pdfas_dir)); + PdfAs pdfas = PdfAsFactory.createPdfAs(new File(pdfas_dir)); + ((ConfigurationImpl)pdfas.getConfiguration()).debugDumpProfileSettings("SIGNATURBLOCK_EN_SEAL"); System.out.println(PdfAsFactory.getVersion()); return; |