Thomas Beckers created WSS-716:
----------------------------------
Summary: DigestMethod is written for key EncryptionMethod AES-KW
Key: WSS-716
URL: https://issues.apache.org/jira/browse/WSS-716
Project: WSS4J
Issue Type: Bug
Components: WSS4J Core
Affects Versions: 3.0.4
Reporter: Thomas Beckers
Assignee: Colm O hEigeartaigh
Attachments: image-2025-01-07-13-30-48-625.png,
image-2025-01-07-13-31-45-738.png, image-2025-01-07-13-33-47-690.png, wss4j.xml
_DigestMethod_ is written for key _EncryptionMethod_ AES-KW:
!image-2025-01-07-13-30-48-625.png|width=693,height=225!
The digest is only relevant for RSA-OAEP key transport, not for AES-KW:
!image-2025-01-07-13-31-45-738.png|width=457,height=61!
According to XML Encryption 1.1 spec this must also be treated as an error:
!image-2025-01-07-13-33-47-690.png|width=694,height=120!
[https://www.w3.org/TR/xmlenc-core1/#sec-EncryptionMethod]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]