Package com.sun.xml.wss.impl.policy.mls
Class SignatureTarget
- 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 class
SignatureTarget.Transform
This 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 void
addTransform(SignatureTarget.Transform transform)
Add a Transform for this TargetObject
clone()
clone operatorboolean
equals(SignatureTarget target)
Equals operatorString
getDigestAlgorithm()
ArrayList
getTransforms()
String
getXPathVersion()
returns xpath version to be used if the Target Type is XPATH.boolean
isIsOptimized()
boolean
isITNever()
is the include token type Never?void
isITNever(boolean iToken)
is the include token type Never?SignatureTarget.Transform
newSignatureTransform()
void
setDigestAlgorithm(String digest)
set the Digest Algorithm to be used for this Targetvoid
setIsOptimized(boolean isOptimized)
void
setXPathVersion(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:Target
sets xpath version to be used if the Target Type is XPATH.- Overrides:
setXPathVersion
in classTarget
-
getXPathVersion
public String getXPathVersion()
Description copied from class:Target
returns xpath version to be used if the Target Type is XPATH.- Overrides:
getXPathVersion
in classTarget
-
-