The XMLCipher.loadEncryptedKey(Document, Element) has a very high logging level. If the _cipherMode is not in UNWRAP_MODE or DECRYPT_MODE an error is logged, something like:

"XMLCipher unexpectedly not in UNWRAP_MODE or DECRYPT_MODE..."

I think this is not OK as loadEncryptedKey() is a like a factory method for generating EncryptedKey instances. This log should probably be removed from the code.

Thanks,

Vishal

Reply via email to