aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-11-29 14:24:49 +0000
committerpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-11-29 14:24:49 +0000
commit00877283bd024ec86b5f4974f4ebde3a997d865a (patch)
tree9246780f5a3b8d32bd2fd33e773cad7eb887c4ee
parent6031ba41fa8c054ebb1e86b1890c75d4df34c6ac (diff)
downloadpdf-as-3-00877283bd024ec86b5f4974f4ebde3a997d865a.tar.gz
pdf-as-3-00877283bd024ec86b5f4974f4ebde3a997d865a.tar.bz2
pdf-as-3-00877283bd024ec86b5f4974f4ebde3a997d865a.zip
improved ognl eval
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@630 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
-rw-r--r--src/main/java/at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java2
1 files changed, 2 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 e1257dc..4b6f483 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
@@ -326,6 +326,8 @@ public class BinarySignator_1_0_0 implements Signator
HashMap ognlCtx = new HashMap();
ognlCtx.put("iui", iui);
ognlCtx.put("sso", iui.signed_signature_object);
+ ognlCtx.put("issuer", iui.signed_signature_object.getIssuerDNMap());
+ ognlCtx.put("subject", iui.signed_signature_object.getSubjectDNMap());
OgnlUtil ognl = new OgnlUtil(ognlCtx);
while (it.hasNext())