Lines Matching refs:logging
87 private static java.util.logging.Logger log =
88 java.util.logging.Logger.getLogger(XMLCipher.class.getName());
294 if (log.isLoggable(java.util.logging.Level.FINE)) {
295 log.log(java.util.logging.Level.FINE, "Constructing XMLCipher...");
366 log.log(java.util.logging.Level.WARNING, "Algorithm non-standard, expected one of " + ENC_ALGORITHMS);
399 if (log.isLoggable(java.util.logging.Level.FINE)) {
400 log.log(java.util.logging.Level.FINE, "Getting XMLCipher with transformation");
421 if (log.isLoggable(java.util.logging.Level.FINE)) {
422 log.log(java.util.logging.Level.FINE, "Getting XMLCipher with transformation and c14n algorithm");
444 if (log.isLoggable(java.util.logging.Level.FINE)) {
445 log.log(java.util.logging.Level.FINE, "Getting XMLCipher with transformation and c14n algorithm");
462 if (log.isLoggable(java.util.logging.Level.FINE)) {
463 log.log(java.util.logging.Level.FINE, "Getting XMLCipher with transformation and provider");
489 if (log.isLoggable(java.util.logging.Level.FINE)) {
490 log.log(java.util.logging.Level.FINE, "Getting XMLCipher with transformation, provider and c14n algorithm");
517 if (log.isLoggable(java.util.logging.Level.FINE)) {
518 log.log(java.util.logging.Level.FINE, "Getting XMLCipher with transformation, provider and c14n algorithm");
537 if (log.isLoggable(java.util.logging.Level.FINE)) {
538 log.log(java.util.logging.Level.FINE, "Getting XMLCipher with no arguments");
557 if (log.isLoggable(java.util.logging.Level.FINE)) {
558 log.log(java.util.logging.Level.FINE, "Getting XMLCipher with provider");
585 if (log.isLoggable(java.util.logging.Level.FINE)) {
586 log.log(java.util.logging.Level.FINE, "Initializing XMLCipher...");
595 if (log.isLoggable(java.util.logging.Level.FINE)) {
596 log.log(java.util.logging.Level.FINE, "opmode = ENCRYPT_MODE");
601 if (log.isLoggable(java.util.logging.Level.FINE)) {
602 log.log(java.util.logging.Level.FINE, "opmode = DECRYPT_MODE");
606 if (log.isLoggable(java.util.logging.Level.FINE)) {
607 log.log(java.util.logging.Level.FINE, "opmode = WRAP_MODE");
612 if (log.isLoggable(java.util.logging.Level.FINE)) {
613 log.log(java.util.logging.Level.FINE, "opmode = UNWRAP_MODE");
617 log.log(java.util.logging.Level.SEVERE, "Mode unexpectedly invalid");
657 if (log.isLoggable(java.util.logging.Level.FINE)) {
658 log.log(java.util.logging.Level.FINE, "Returning EncryptedData");
674 if (log.isLoggable(java.util.logging.Level.FINE)) {
675 log.log(java.util.logging.Level.FINE, "Returning EncryptedKey");
808 if (log.isLoggable(java.util.logging.Level.FINE)) {
809 log.log(java.util.logging.Level.FINE, "Encrypting element...");
812 log.log(java.util.logging.Level.SEVERE, "Element unexpectedly null...");
814 if (cipherMode != ENCRYPT_MODE && log.isLoggable(java.util.logging.Level.FINE)) {
815 log.log(java.util.logging.Level.FINE, "XMLCipher unexpectedly not in ENCRYPT_MODE...");
846 if (log.isLoggable(java.util.logging.Level.FINE)) {
847 log.log(java.util.logging.Level.FINE, "Encrypting element content...");
850 log.log(java.util.logging.Level.SEVERE, "Element unexpectedly null...");
852 if (cipherMode != ENCRYPT_MODE && log.isLoggable(java.util.logging.Level.FINE)) {
853 log.log(java.util.logging.Level.FINE, "XMLCipher unexpectedly not in ENCRYPT_MODE...");
879 if (log.isLoggable(java.util.logging.Level.FINE)) {
880 log.log(java.util.logging.Level.FINE, "Processing source document...");
883 log.log(java.util.logging.Level.SEVERE, "Context document unexpectedly null...");
886 log.log(java.util.logging.Level.SEVERE, "Source document unexpectedly null...");
920 if (log.isLoggable(java.util.logging.Level.FINE)) {
921 log.log(java.util.logging.Level.FINE, "Processing source element...");
924 log.log(java.util.logging.Level.SEVERE, "Context document unexpectedly null...");
927 log.log(java.util.logging.Level.SEVERE, "Source element unexpectedly null...");
965 if (log.isLoggable(java.util.logging.Level.FINE)) {
966 log.log(java.util.logging.Level.FINE, "Processing source element...");
969 log.log(java.util.logging.Level.SEVERE, "Context document unexpectedly null...");
972 log.log(java.util.logging.Level.SEVERE, "Source element unexpectedly null...");
1038 if (log.isLoggable(java.util.logging.Level.FINE)) {
1039 log.log(java.util.logging.Level.FINE, "Encrypting element...");
1042 log.log(java.util.logging.Level.SEVERE, "Context document unexpectedly null...");
1045 log.log(java.util.logging.Level.SEVERE, "Serialized data unexpectedly null...");
1047 if (cipherMode != ENCRYPT_MODE && log.isLoggable(java.util.logging.Level.FINE)) {
1048 log.log(java.util.logging.Level.FINE, "XMLCipher unexpectedly not in ENCRYPT_MODE...");
1071 if (log.isLoggable(java.util.logging.Level.FINE)) {
1072 log.log(java.util.logging.Level.FINE, "Encrypting element...");
1075 log.log(java.util.logging.Level.SEVERE, "Context document unexpectedly null...");
1078 log.log(java.util.logging.Level.SEVERE, "Element unexpectedly null...");
1080 if (cipherMode != ENCRYPT_MODE && log.isLoggable(java.util.logging.Level.FINE)) {
1081 log.log(java.util.logging.Level.FINE, "XMLCipher unexpectedly not in ENCRYPT_MODE...");
1113 if (log.isLoggable(java.util.logging.Level.FINE)) {
1114 log.log(java.util.logging.Level.FINE, "Serialized octets:\n" + new String(serializedOctets, "UTF-8"));
1162 if (log.isLoggable(java.util.logging.Level.FINE)) {
1163 log.log(java.util.logging.Level.FINE, "Expected cipher.outputSize = " +
1167 if (log.isLoggable(java.util.logging.Level.FINE)) {
1168 log.log(java.util.logging.Level.FINE, "Actual cipher.outputSize = "
1189 if (log.isLoggable(java.util.logging.Level.FINE)) {
1190 log.log(java.util.logging.Level.FINE, "Encrypted octets:\n" + base64EncodedEncryptedOctets);
1191 log.log(java.util.logging.Level.FINE, "Encrypted octets length = " + base64EncodedEncryptedOctets.length());
1225 if (log.isLoggable(java.util.logging.Level.FINE)) {
1226 log.log(java.util.logging.Level.FINE, "Loading encrypted element...");
1256 if (log.isLoggable(java.util.logging.Level.FINE)) {
1257 log.log(java.util.logging.Level.FINE, "Loading encrypted key...");
1321 if (log.isLoggable(java.util.logging.Level.FINE)) {
1322 log.log(java.util.logging.Level.FINE, "Encrypting key ...");
1326 log.log(java.util.logging.Level.SEVERE, "Key unexpectedly null...");
1329 log.log(java.util.logging.Level.FINE, "XMLCipher unexpectedly not in WRAP_MODE...");
1370 if (log.isLoggable(java.util.logging.Level.FINE)) {
1371 log.log(java.util.logging.Level.FINE, "Encrypted key octets:\n" + base64EncodedEncryptedOctets);
1372 log.log(java.util.logging.Level.FINE, "Encrypted key octets length = " + base64EncodedEncryptedOctets.length());
1401 if (log.isLoggable(java.util.logging.Level.FINE)) {
1402 log.log(java.util.logging.Level.FINE, "Decrypting key from previously loaded EncryptedKey...");
1405 if (cipherMode != UNWRAP_MODE && log.isLoggable(java.util.logging.Level.FINE)) {
1406 log.log(java.util.logging.Level.FINE, "XMLCipher unexpectedly not in UNWRAP_MODE...");
1414 if (log.isLoggable(java.util.logging.Level.FINE)) {
1415 log.log(java.util.logging.Level.FINE, "Trying to find a KEK via key resolvers");
1431 if (log.isLoggable(java.util.logging.Level.FINE)) {
1432 log.log(java.util.logging.Level.FINE, e.getMessage(), e);
1437 log.log(java.util.logging.Level.SEVERE, "XMLCipher::decryptKey called without a KEK and cannot resolve");
1448 if (log.isLoggable(java.util.logging.Level.FINE)) {
1449 log.log(java.util.logging.Level.FINE, "JCE Key Algorithm: " + jceKeyAlgorithm);
1486 if (log.isLoggable(java.util.logging.Level.FINE)) {
1487 log.log(java.util.logging.Level.FINE, "Decryption of key type " + algorithm + " OK");
1536 if (log.isLoggable(java.util.logging.Level.FINE)) {
1537 log.log(java.util.logging.Level.FINE, "JCE Algorithm = " + jceAlgorithm);
1608 if (log.isLoggable(java.util.logging.Level.FINE)) {
1609 log.log(java.util.logging.Level.FINE, "Decrypting element...");
1613 log.log(java.util.logging.Level.SEVERE, "XMLCipher unexpectedly not in DECRYPT_MODE...");
1618 if (log.isLoggable(java.util.logging.Level.FINE)) {
1619 log.log(java.util.logging.Level.FINE, "Decrypted octets:\n" + new String(octets));
1669 if (log.isLoggable(java.util.logging.Level.FINE)) {
1670 log.log(java.util.logging.Level.FINE, "Decrypting to ByteArray...");
1674 log.log(java.util.logging.Level.SEVERE, "XMLCipher unexpectedly not in DECRYPT_MODE...");
1696 if (log.isLoggable(java.util.logging.Level.FINE)) {
1697 log.log(java.util.logging.Level.FINE, kre.getMessage(), kre);
1703 log.log(java.util.logging.Level.SEVERE,
1718 if (log.isLoggable(java.util.logging.Level.FINE)) {
1719 log.log(java.util.logging.Level.FINE, "JCE Algorithm = " + jceAlgorithm);
2153 if (log.isLoggable(java.util.logging.Level.FINE)) {
2154 log.log(java.util.logging.Level.FINE, "Creating a DSIG based Transforms element");