|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.xml.wss.impl.policy.mls.Target com.sun.xml.wss.impl.policy.mls.SignatureTarget
public class SignatureTarget
Objects of this class represent a Signature Target that can be part of the FeatureBinding for a SignaturePolicy (refer SignaturePolicy.FeatureBinding).
Nested Class Summary | |
---|---|
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 |
---|
BODY, BODY1_2, TARGET_TYPE_VALUE_QNAME, TARGET_TYPE_VALUE_URI, TARGET_TYPE_VALUE_XPATH |
Constructor Summary | |
---|---|
SignatureTarget()
Default constructor |
|
SignatureTarget(java.lang.String digest,
java.lang.String transform)
|
|
SignatureTarget(Target target)
Constructor that takes a Target |
Method Summary | |
---|---|
void |
addTransform(SignatureTarget.Transform transform)
Add a Transform for this Target |
java.lang.Object |
clone()
clone operator |
boolean |
equals(SignatureTarget target)
Equals operator |
java.lang.String |
getDigestAlgorithm()
|
java.util.ArrayList |
getTransforms()
|
boolean |
isIsOptimized()
|
SignatureTarget.Transform |
newSignatureTransform()
|
void |
setDigestAlgorithm(java.lang.String digest)
set the Digest Algorithm to be used for this Target |
void |
setIsOptimized(boolean isOptimized)
|
Methods inherited from class com.sun.xml.wss.impl.policy.mls.Target |
---|
convertToXPATH, getContentOnly, getEnforce, getQName, getType, getValue, isAttachment, isBSP, isBSP, setContentOnly, setEnforce, setType, setValue |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SignatureTarget()
public SignatureTarget(Target target)
public SignatureTarget(java.lang.String digest, java.lang.String transform)
digest
- Digest Algorithm to be used for this Targettransform
- Transform Algorithm to applied on this TargetMethod Detail |
---|
public java.lang.String getDigestAlgorithm()
public java.util.ArrayList getTransforms()
public void setDigestAlgorithm(java.lang.String digest)
digest
- Digest Algorithmpublic void addTransform(SignatureTarget.Transform transform)
transform
- Transformpublic SignatureTarget.Transform newSignatureTransform()
public boolean equals(SignatureTarget target)
target
- SignatureTarget
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean isIsOptimized()
public void setIsOptimized(boolean isOptimized)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |