Class SignatureTarget

java.lang.Object
com.sun.xml.wss.impl.policy.mls.Target
com.sun.xml.wss.impl.policy.mls.SignatureTarget
All Implemented Interfaces:
Cloneable

public class SignatureTarget extends Target implements Cloneable
Objects of this class represent a Signature Target that can be part of the FeatureBinding for a SignaturePolicy (refer SignaturePolicy.FeatureBinding).
  • Constructor Details

    • SignatureTarget

      public SignatureTarget()
      Default constructor
    • SignatureTarget

      public SignatureTarget(Target target)
      Constructor that takes a Target
    • SignatureTarget

      public SignatureTarget(String digest, String transform)
      Parameters:
      digest - Digest Algorithm to be used for this Target
      transform - Transform Algorithm to applied on this Target
  • Method Details

    • getDigestAlgorithm

      public String getDigestAlgorithm()
      Returns:
      Digest Algorithm for this Target
    • getTransforms

      public ArrayList getTransforms()
      Returns:
      Collection of Transform Algorithms
    • isITNever

      public void isITNever(boolean iToken)
      is the include token type Never?
    • isITNever

      public boolean isITNever()
      is the include token type Never?
    • setDigestAlgorithm

      public void setDigestAlgorithm(String digest)
      set the Digest Algorithm to be used for this Target
      Parameters:
      digest - Digest Algorithm
    • addTransform

      public void addTransform(SignatureTarget.Transform transform)
      Add a Transform for this Target
      Parameters:
      transform - Transform
    • newSignatureTransform

      public SignatureTarget.Transform newSignatureTransform()
      Returns:
      a new instance of Signatuer Transform
    • equals

      public boolean equals(SignatureTarget target)
      Equals operator
      Parameters:
      target - SignatureTarget
      Returns:
      true if the target argument is equal to this Target
    • clone

      public Object clone()
      clone operator
      Overrides:
      clone in class Object
      Returns:
      a clone of this SignatureTarget
    • isIsOptimized

      public boolean isIsOptimized()
    • setIsOptimized

      public void setIsOptimized(boolean isOptimized)
    • setXPathVersion

      public void setXPathVersion(String version)
      Description copied from class: Target
      sets xpath version to be used if the Target Type is XPATH.
      Overrides:
      setXPathVersion in class Target
    • getXPathVersion

      public String getXPathVersion()
      Description copied from class: Target
      returns xpath version to be used if the Target Type is XPATH.
      Overrides:
      getXPathVersion in class Target