Class EncryptionPolicy

All Implemented Interfaces:
SecurityPolicy, Cloneable

public class EncryptionPolicy extends WSSKeyBindingExtension
Objects of this class represent a policy for Encrypting parts of a SOAP Message. The Message Parts to be encrypted and the Data Encryption Algorithm to be used are captured as FeatureBindings of this Policy. The exact Key to be used is to be represented as a distinct KeyBinding for this policy instance. Allowed KeyBindings for an EncryptionPolicy include the following :
  • AuthenticationTokenPolicy.X509CertificateBinding
  • AuthenticationTokenPolicy.SAMLAssertionBinding
  • SymmetricKeyBinding