aboutsummaryrefslogtreecommitdiff
path: root/moaSig/moa-asic/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'moaSig/moa-asic/src/main')
-rw-r--r--moaSig/moa-asic/src/main/java/at/gv/egiz/asic/api/ASiCFactory.java4
-rw-r--r--moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/BaseVerifier.java2
-rw-r--r--moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/ExtendedCAdESVerifier.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/api/ASiCFactory.java b/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/api/ASiCFactory.java
index 6b067f7..661e418 100644
--- a/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/api/ASiCFactory.java
+++ b/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/api/ASiCFactory.java
@@ -78,7 +78,7 @@ public class ASiCFactory {
String fileComment = commentReaderStream.getFileComment();
ASiCFormat fileCommentFormat = null;
if (fileComment != null) {
- logger.info("Found file comment in ASiC {}", fileComment);
+ logger.debug("Found file comment in ASiC {}", fileComment);
if(fileComment.startsWith("mimetype=")) {
String fileCommentMimeType = fileComment.substring("mimetype=".length());
if(fileCommentMimeType.startsWith(MIMETYPE_FORMAT_E)) {
@@ -94,7 +94,7 @@ public class ASiCFactory {
ASiCFormat mimeTypeFileFormat = null;
if (mimeTypeFile != null) {
- logger.info("Found mimetype file in ASiC {}", mimeTypeFile);
+ logger.debug("Found mimetype file in ASiC {}", mimeTypeFile);
if(MIMETYPE_FORMAT_E.equalsIgnoreCase(mimeTypeFile)) {
mimeTypeFileFormat = ASiCFormat.ASiCE;
} else if(MIMETYPE_FORMAT_S.equalsIgnoreCase(mimeTypeFile)) {
diff --git a/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/BaseVerifier.java b/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/BaseVerifier.java
index a0bc516..cc2d363 100644
--- a/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/BaseVerifier.java
+++ b/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/BaseVerifier.java
@@ -34,7 +34,7 @@ public abstract class BaseVerifier implements Verifier {
String referenceHex = Hex.encodeHexString(reference);
String calculatedHex = Hex.encodeHexString(calculated);
if(Arrays.equals(reference, calculated)) {
- logger.info("Digest from manifest do match for {}", refName);
+ logger.debug("Digest from manifest do match for {}", refName);
return true;
} else {
logger.info("Digest from manifest do not match for {}", refName);
diff --git a/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/ExtendedCAdESVerifier.java b/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/ExtendedCAdESVerifier.java
index e71f263..9f16035 100644
--- a/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/ExtendedCAdESVerifier.java
+++ b/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/ExtendedCAdESVerifier.java
@@ -120,7 +120,7 @@ public class ExtendedCAdESVerifier extends CAdESVerifier {
dis.close();
String fullDigest = Hex.encodeHexString(md.digest());
- logger.info("CMS Input data {}", fullDigest);
+ logger.debug("CMS Input data {}", fullDigest);
if (!allReferencesValid) {
logger.warn("ASiCManifest {} References do not match data files!",