aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/main/java/at
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2016-06-13 09:43:51 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2016-06-13 09:43:51 +0200
commite3d88a0a046665e8901e65ef18a1bbf741777885 (patch)
tree2211a410a80fc169a719b64d2b49c401446e1582 /pdf-as-lib/src/main/java/at
parent0674e9be0ceae8fbe7fbb126f874169e650c44fb (diff)
downloadpdf-as-4-e3d88a0a046665e8901e65ef18a1bbf741777885.tar.gz
pdf-as-4-e3d88a0a046665e8901e65ef18a1bbf741777885.tar.bz2
pdf-as-4-e3d88a0a046665e8901e65ef18a1bbf741777885.zip
Fixed log output to hide user information on info level
Diffstat (limited to 'pdf-as-lib/src/main/java/at')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/verify/IntegrityVerifier.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/verify/IntegrityVerifier.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/verify/IntegrityVerifier.java
index 3b617d8e..e0b487ec 100644
--- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/verify/IntegrityVerifier.java
+++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/verify/IntegrityVerifier.java
@@ -109,12 +109,12 @@ public class IntegrityVerifier implements IVerifier {
}
}
- logger.info("Signature Algo: {}, Digest {}", signedData
+ logger.debug("Signature Algo: {}, Digest {}", signedData
.getSignerInfos()[i].getSignatureAlgorithm(),
signedData.getSignerInfos()[i].getDigestAlgorithm());
// if the signature is OK the certificate of the
// signer is returned
- logger.info("Signature OK from signer: "
+ logger.debug("Signature OK from signer: "
+ signer_cert.getSubjectDN());
verifyResult.setSignerCertificate(signer_cert);
verifyResult.setValueCheckCode(new SignatureCheckImpl(0,
@@ -127,7 +127,7 @@ public class IntegrityVerifier implements IVerifier {
} catch (SignatureException ex) {
// if the signature is not OK a SignatureException
// is thrown
- logger.info(
+ logger.warn(
"Signature ERROR from signer: "
+ signedData.getCertificate(
signerInfos[i]