aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-lib/src/main')
-rw-r--r--pdf-as-lib/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/moa/MOASoapWithAttachmentConnector.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf-as-lib/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/moa/MOASoapWithAttachmentConnector.java b/pdf-as-lib/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/moa/MOASoapWithAttachmentConnector.java
index ff27a64..99b39f7 100644
--- a/pdf-as-lib/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/moa/MOASoapWithAttachmentConnector.java
+++ b/pdf-as-lib/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/moa/MOASoapWithAttachmentConnector.java
@@ -360,7 +360,7 @@ public class MOASoapWithAttachmentConnector implements Connector {
byte[] data_value_hash = CodingHelper.buildDigest(
data.getDataSource(), algSuite.getDataDigestMethod());
String object_data_hash = CodingHelper
- .encodeBase64(data_value_hash);
+ .encodeBase64PEM(data_value_hash);
verify_xml = verify_xml.replaceFirst(
TemplateReplaces.DIGEST_VALUE_SIGNED_DATA_REPLACE,
@@ -427,7 +427,7 @@ public class MOASoapWithAttachmentConnector implements Connector {
byte[] sig_prop_code = CodingHelper.buildDigest(
bytes_to_be_hashed,
algSuite.getPropertiesDigestMethod());
- String sig_prop_hash = CodingHelper.encodeBase64(sig_prop_code);
+ String sig_prop_hash = CodingHelper.encodeBase64PEM(sig_prop_code);
verify_xml = verify_xml
.replaceFirst(