aboutsummaryrefslogtreecommitdiff
path: root/moaSig/moa-asic/src/main/java/at/gv
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2017-11-27 09:19:33 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2017-11-27 09:19:33 +0100
commit95ce1a4f7e2b0be1d359e815fe7e631609c44844 (patch)
tree4d992c2813a109aa6b56d7125df37a63fb466a1f /moaSig/moa-asic/src/main/java/at/gv
parent887d2444a1e75b0ff5f1d63127f71570c24f921d (diff)
downloadmoa-sig-95ce1a4f7e2b0be1d359e815fe7e631609c44844.tar.gz
moa-sig-95ce1a4f7e2b0be1d359e815fe7e631609c44844.tar.bz2
moa-sig-95ce1a4f7e2b0be1d359e815fe7e631609c44844.zip
change some log levels
Diffstat (limited to 'moaSig/moa-asic/src/main/java/at/gv')
-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!",