diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-15 10:18:41 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-15 10:18:41 +0200 |
commit | 40e77eea8328ff9cef8d45b2ff3134349d7a65af (patch) | |
tree | 60549da81e9fd059900fda55c09ae0c0ec9c8592 /pdf-as-common/src | |
parent | 49f389e3e943dd9e1e4c9271a9e03a1ba9201b2d (diff) | |
download | pdf-as-4-40e77eea8328ff9cef8d45b2ff3134349d7a65af.tar.gz pdf-as-4-40e77eea8328ff9cef8d45b2ff3134349d7a65af.tar.bz2 pdf-as-4-40e77eea8328ff9cef8d45b2ff3134349d7a65af.zip |
Signingdate added Timezone konfiguration #42
Diffstat (limited to 'pdf-as-common/src')
3 files changed, 6 insertions, 1 deletions
diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/DefaultSignatureProfileSettings.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/DefaultSignatureProfileSettings.java index 611a9480..f5293935 100644 --- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/DefaultSignatureProfileSettings.java +++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/DefaultSignatureProfileSettings.java @@ -63,7 +63,7 @@ public class DefaultSignatureProfileSettings { public static final String VALUE_SIG_META_DEFAULT = "Informationen zur Pr\u00FCfung der elektronischen Signatur finden Sie unter: https://www.signaturpruefung.gv.at\n\nInformationen zur Pr\u00FCfung des Ausdrucks finden Sie unter: https://www.behoerde.gv.at/el_signatur/"; - public static final String VALUE_SIG_DATE_DEFAULT = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"; + public static final String VALUE_SIG_DATE_DEFAULT = "yyyy-MM-dd'T'HH:mm:ssXXX"; static { profileSettings.put(KEY_SIG_SUBJECT, new SignatureProfileEntry(KEY_SIG_SUBJECT, KEY_SIG_SUBJECT_DEFAULT, VALUE_SIG_SUBJECT_DEFAULT) ); diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/IProfileConstants.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/IProfileConstants.java index aaa00ed6..6cdfa0b3 100644 --- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/IProfileConstants.java +++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/IProfileConstants.java @@ -90,5 +90,6 @@ public interface IProfileConstants { public final static String SIGNING_REASON = "adobeSignReasonValue"; public final static String SIGNFIELD_VALUE = "adobeSignFieldValue"; + public final static String TIMEZONE_BASE = "timezone"; public final static String SIG_PDFA1B_VALID = "SIG_PDFA1B_VALID"; } diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/SignatureProfileSettings.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/SignatureProfileSettings.java index 45b5c375..462bf743 100644 --- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/SignatureProfileSettings.java +++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/SignatureProfileSettings.java @@ -199,6 +199,10 @@ public class SignatureProfileSettings implements IProfileConstants { return this.getValue(SIGNFIELD_VALUE); } + public String getProfileTimeZone() { + return this.getValue(TIMEZONE_BASE); + } + public boolean isPDFA() { SignatureProfileEntry entry = profileInformations.get(SIG_PDFA1B_VALID); if (entry != null) { |