Hello,

I wonder if CXF can be configured to decrypt attachments that come as a web
service response?

I hoped that WSS4JInInterceptor will take care of this use case, but it
fails with "The signature or decryption was invalid" exception, which is
caused by "org.apache.xml.security.encryption.XMLEncryptionException: Could
not find a resolver for URI
cid:urn%3Auuid%@apache.org and Base null

I managed to write a custom resolver to provide attachment data, but then
it fails with yet another exception:
org.apache.xml.security.encryption.XMLEncryptionException:
Unknown transformation. No handler installed for URI
http://docs.oasis-open.org/wss/oasis-wss-SwAProfile-1.1#Attachment-Ciphertext-Transform

Can somebody point me in the right direction, please? Any help is greatly
appreciated.

Thanks in advance.

Reply via email to