aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-01-05 14:25:30 +0000
committerferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-01-05 14:25:30 +0000
commite356cdca98616fa02b37f8f95cd2b827372cd70d (patch)
tree1250564bae3cab8a81473f6de8e5c489d839cd40 /src/main
parent38098e682994376f1afdb0e9ec126c1a2798e2b3 (diff)
downloadpdf-as-3-e356cdca98616fa02b37f8f95cd2b827372cd70d.tar.gz
pdf-as-3-e356cdca98616fa02b37f8f95cd2b827372cd70d.tar.bz2
pdf-as-3-e356cdca98616fa02b37f8f95cd2b827372cd70d.zip
added text sig version 1.2.0
fixed text extraction encoding bug git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@526 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java b/src/main/java/at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java
index 02ebf79..4b9a566 100644
--- a/src/main/java/at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java
+++ b/src/main/java/at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java
@@ -427,4 +427,10 @@ public class BinarySignator_1_0_0 implements Signator
System.arraycopy(iui.sign_iui_block, 0, iui.signed_pdf, iui.original_document.getLength(), iui.sign_iui_block.length);
}
+ public String getEncoding() {
+ // not used for binary signature
+ return "utf-8";
+
+ }
+
}