Encryption

  • Before a request is forwarded the Encryption policy is applied.
  • The message is encrypted using the shared resource specified in the policy.

Example Policy

Encryption.policy

<wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
<wsp:All>
<wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:ns1="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
<ns:Encryption xmlns:ns="http://xsd.tns.tibco.com/governance/policy/action/2009" ResourceInstance="TrustIsp">
<ns1:EncryptedParts>
<ns1:Body />
<ns1:Header />
</ns1:EncryptedParts>
<!-- The keyAlias should be replaced with a valid one from the keystore from the TipIsp -->
<ns:keyAlias>john_key</ns:keyAlias>
<!-- Change the AlgorithmSuite to use a different encryption algorithm -->
<ns1:AlgorithmSuite>
<ns1:Basic128 />
</ns1:AlgorithmSuite>
</ns:Encryption>
</wsp:Policy>
</wsp:All>
</wsp:Policy>