aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-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;
}