aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-11-13 13:16:41 +0000
committerferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-11-13 13:16:41 +0000
commitafd27f636eaf5b23227d93405700e6dc7fdfb156 (patch)
tree5241d5cb4a1683878cea5d7be1263cb059da6c0c
parent458cdf10e614d85a4e21c2eb395d938d8da0c814 (diff)
downloadpdf-as-3-afd27f636eaf5b23227d93405700e6dc7fdfb156.tar.gz
pdf-as-3-afd27f636eaf5b23227d93405700e6dc7fdfb156.tar.bz2
pdf-as-3-afd27f636eaf5b23227d93405700e6dc7fdfb156.zip
baik: sigalg
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@417 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/sig/signatureobject/SignatureObjectHelper.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/signatureobject/SignatureObjectHelper.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/signatureobject/SignatureObjectHelper.java
index bb5dc86..7fc3d15 100644
--- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/signatureobject/SignatureObjectHelper.java
+++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/signatureobject/SignatureObjectHelper.java
@@ -33,6 +33,8 @@ public final class SignatureObjectHelper
so.setKZ(new PdfASID(sso.getSigKZ()));
so.setSignationName(sso.getName());
+ so.setSigAlg(sso.getSigAlgorithm());
+
so.setX509Certificate(sso.getX509Certificate());
return so;
@@ -52,6 +54,7 @@ public final class SignatureObjectHelper
sso.x509Certificate = cert.getX509Certificate();
sso.id = so.getSignationIds();
sso.kz = so.getKZ() == null ? null : so.getKZ().toString();
+ sso.sigAlgorithm = so.getSigAlg();
return sso;
}