You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by co...@apache.org on 2020/04/06 12:17:16 UTC
svn commit: r1876183 -
/santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/encryption/XMLCipher.java
Author: coheigea
Date: Mon Apr 6 12:17:16 2020
New Revision: 1876183
URL: http://svn.apache.org/viewvc?rev=1876183&view=rev
Log:
Fixing up some log messages in XMLCipher
Modified:
santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/encryption/XMLCipher.java
Modified: santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/encryption/XMLCipher.java
URL: http://svn.apache.org/viewvc/santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/encryption/XMLCipher.java?rev=1876183&r1=1876182&r2=1876183&view=diff
==============================================================================
--- santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/encryption/XMLCipher.java (original)
+++ santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/encryption/XMLCipher.java Mon Apr 6 12:17:16 2020
@@ -1472,7 +1472,7 @@ public class XMLCipher {
}
}
if (key == null) {
- LOG.error("XMLCipher::decryptKey called without a KEK and cannot resolve");
+ LOG.error("XMLCipher::decryptKey unable to resolve a KEK");
throw new XMLEncryptionException("empty", "Unable to decrypt without a KEK");
}
}
@@ -1768,7 +1768,7 @@ public class XMLCipher {
if (key == null) {
LOG.error(
- "XMLCipher::decryptElement called without a key and unable to resolve"
+ "XMLCipher::decryptElement unable to resolve a decryption key"
);
throw new XMLEncryptionException("empty", "encryption.nokey");
}