For the client-application of a webservice we have the following requirements:
- Client with WCF
- SOAP-messages are signed and encrypted
- The outgoing message should be logged. The logging must take place when the message is in the state
signed and NOT encrypted.
We would like to use the AsymmetricSecurityBindingElement as base.
There is no configuration where you can only encrypt.
Unfortunately it is also not possible to inherit from AsymmetricSecurityBindingElement, as AsymmetricSecurityBindingElement is marked as "sealed".
How do I get a "EncryptOnlyBindingElement" without implementing all the stuff from the beginning?
Actually all would be ready in WCF - but the relevant classes are marked "sealed" or "internal" :-(
The question considers only the client. The webservice is same Java stuff an can be considered as blackbox.
We would like to focus a solution like this:
class Ext_AsymmetricSecurityBindingElement : A
View Complete Post