- java.lang.Object
-
- com.sun.xml.wss.impl.policy.mls.Target
-
- com.sun.xml.wss.impl.policy.mls.SignatureTarget
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSignatureTarget.TransformThis class represents a Transform that can appear on a SignatureTarget.
-
Field Summary
-
Fields inherited from class com.sun.xml.wss.impl.policy.mls.Target
ALL_MESSAGE_HEADERS, BODY, BODY_QNAME, BODY1_2, SIGNATURE_CONFIRMATION, TARGET_TYPE_VALUE_QNAME, TARGET_TYPE_VALUE_URI, TARGET_TYPE_VALUE_XPATH, TARGET_VALUE_SOAP_BODY
-
-
Constructor Summary
Constructors Constructor Description SignatureTarget()Default constructorSignatureTarget(Target target)Constructor that takes a TargetSignatureTarget(String digest, String transform)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTransform(SignatureTarget.Transform transform)Add a Transform for this TargetObjectclone()clone operatorbooleanequals(SignatureTarget target)Equals operatorStringgetDigestAlgorithm()ArrayListgetTransforms()StringgetXPathVersion()returns xpath version to be used if the Target Type is XPATH.booleanisIsOptimized()booleanisITNever()is the include token type Never?voidisITNever(boolean iToken)is the include token type Never?SignatureTarget.TransformnewSignatureTransform()voidsetDigestAlgorithm(String digest)set the Digest Algorithm to be used for this TargetvoidsetIsOptimized(boolean isOptimized)voidsetXPathVersion(String version)sets xpath version to be used if the Target Type is XPATH.-
Methods inherited from class com.sun.xml.wss.impl.policy.mls.Target
convertToXPATH, getContentOnly, getEnforce, getPolicyQName, getQName, getType, getValue, isAttachment, isBSP, isBSP, isSOAPHeadersOnly, isSOAPHeadersOnly, setContentOnly, setEnforce, setPolicyQName, setQName, setType, setValue
-
-
-
-
Constructor Detail
-
SignatureTarget
public SignatureTarget()
Default constructor
-
SignatureTarget
public SignatureTarget(Target target)
Constructor that takes a Target
-
-
Method Detail
-
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
-
isIsOptimized
public boolean isIsOptimized()
-
setIsOptimized
public void setIsOptimized(boolean isOptimized)
-
setXPathVersion
public void setXPathVersion(String version)
Description copied from class:Targetsets xpath version to be used if the Target Type is XPATH.- Overrides:
setXPathVersionin classTarget
-
getXPathVersion
public String getXPathVersion()
Description copied from class:Targetreturns xpath version to be used if the Target Type is XPATH.- Overrides:
getXPathVersionin classTarget
-
-