Class SignaturePolicy

All Implemented Interfaces:
SecurityPolicy, Cloneable

public class SignaturePolicy extends WSSKeyBindingExtension
Objects of this class represent a policy for Signing parts of a SOAP Message. The Message Parts to be signed and the Canonicalization Algorithm to be used for the ds:SignedInfo 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. The SignatureMethod for the signature is obtained as the keyAlgorithm on the corresponding KeyBinding associated with this SignaturePolicy Allowed KeyBindings for a SignaturePolicy include the following :
  • AuthenticationTokenPolicy.X509CertificateBinding
  • AuthenticationTokenPolicy.SAMLAssertionBinding
  • SymmetricKeyBinding