Index: XMLCipher.java
===================================================================
--- XMLCipher.java	(revision 1640741)
+++ XMLCipher.java	(working copy)
@@ -1646,6 +1646,16 @@
                 } catch (Exception ex) {
                     throw new XMLEncryptionException("empty", ex);
                 }
+            } else if (MessageDigestAlgorithm.ALGO_ID_DIGEST_SHA256.equals(digestAlgorithm)) {
+                try {
+                    if (requestedJCEProvider == null) {
+                        c = Cipher.getInstance("RSA/ECB/OAEPWithSHA-256AndMGF1Padding");
+                    } else {
+                        c = Cipher.getInstance("RSA/ECB/OAEPWithSHA-256AndMGF1Padding", requestedJCEProvider);
+                    }
+                } catch (Exception ex) {
+                    throw new XMLEncryptionException("empty", ex);
+                }
             } else {
                 throw new XMLEncryptionException("empty", nsae);
             }
