diff options
author | Andreas Abraham <andreas.abraham@egiz.gv.at> | 2020-11-13 13:52:09 +0100 |
---|---|---|
committer | Andreas Abraham <andreas.abraham@egiz.gv.at> | 2020-11-13 13:52:09 +0100 |
commit | 92b4ef89ee39b6b337c8201f6d330f26d5558f54 (patch) | |
tree | 08fa28b708838a79e37c24ccf7d531bed915826c /pdf-over-signer/pdf-over-sigpdfas4 | |
parent | d658f95290ea03bd0ecdc01110b48244b28e6f19 (diff) | |
download | pdf-over-92b4ef89ee39b6b337c8201f6d330f26d5558f54.tar.gz pdf-over-92b4ef89ee39b6b337c8201f6d330f26d5558f54.tar.bz2 pdf-over-92b4ef89ee39b6b337c8201f6d330f26d5558f54.zip |
Improved code
Diffstat (limited to 'pdf-over-signer/pdf-over-sigpdfas4')
-rw-r--r-- | pdf-over-signer/pdf-over-sigpdfas4/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pdf-over-signer/pdf-over-sigpdfas4/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java b/pdf-over-signer/pdf-over-sigpdfas4/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java index 62533868..68712db9 100644 --- a/pdf-over-signer/pdf-over-sigpdfas4/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java +++ b/pdf-over-signer/pdf-over-sigpdfas4/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java @@ -40,8 +40,6 @@ import at.asit.pdfover.commons.Profile; * Implementation of SignatureParameter for PDF-AS 4 Library */ public class PdfAs4SignatureParameter extends SignatureParameter { - /** The base profile ID */ - private static final String PROFILE_ID_BASE = "SIGNATURBLOCK_SMALL"; /** The profile ID extension for the German signature block */ private static final String PROFILE_ID_LANG_DE = "_DE"; /** The profile ID extension for the English signature block */ @@ -172,7 +170,7 @@ public class PdfAs4SignatureParameter extends SignatureParameter { - if (!PROFILE_VISIBILITY || this.profile.equals("Unsichtbar") || Profile.getProfile(this.profile).equals(Profile.INVISIBLE)) + if (!PROFILE_VISIBILITY || Profile.getProfile(this.profile).equals(Profile.INVISIBLE)) { profileId = "INVISIBLE"; } else { |