Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java 2.0.1
-
None
Description
XMLCipher encryptKey generates the appropriate children of xenc:EncryptionMethod when RSA OAEP is parameterized. If an explicit digest method is used however, the resulting ds:DigestMethod child element does not have a namespace declaration for the signature namespace, so the "ds" prefix is not resolveable.
My fix is copied from what is currently done for the xenc11:MGF element, a few lines below.