diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2016-06-13 09:43:51 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2016-06-13 09:43:51 +0200 |
commit | e3d88a0a046665e8901e65ef18a1bbf741777885 (patch) | |
tree | 2211a410a80fc169a719b64d2b49c401446e1582 /pdf-as-lib/src/main | |
parent | 0674e9be0ceae8fbe7fbb126f874169e650c44fb (diff) | |
download | pdf-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')
-rw-r--r-- | pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/verify/IntegrityVerifier.java | 6 |
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] |