|
|||||||||
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.MLSPolicy com.sun.xml.wss.impl.policy.mls.WSSPolicy com.sun.xml.wss.impl.policy.mls.EncryptionPolicy.FeatureBinding
public static class EncryptionPolicy.FeatureBinding
A class representing FeatureBindings for an EncryptionPolicy The FeatureBinding would contain information about the MessageParts to be Encrypted, The data encryption algorithm to be used.
Constructor Summary | |
---|---|
EncryptionPolicy.FeatureBinding()
default constructor |
Method Summary | |
---|---|
void |
addTargetBinding(EncryptionTarget target)
|
void |
addTargetBinding(Target target)
|
java.lang.Object |
clone()
clone operator |
boolean |
equals(WSSPolicy policy)
Equals operator |
boolean |
equalsIgnoreTargets(WSSPolicy policy)
|
java.lang.String |
getDataEncryptionAlgorithm()
|
java.util.ArrayList |
getTargetBindings()
|
java.lang.String |
getType()
Get the type of the policy. |
void |
removeTargetBindings(java.util.ArrayList targets)
|
void |
setDataEncryptionAlgorithm(java.lang.String algorithm)
set the DataEncryptionAlgorithm to be used |
Methods inherited from class com.sun.xml.wss.impl.policy.mls.WSSPolicy |
---|
getFeatureBinding, getKeyBinding, getPolicyIdentifier, getUUID, isBSP, isBSP, isOptional, isOptional, setFeatureBinding, setKeyBinding, setPolicyIdentifier, setUUID |
Methods inherited from class com.sun.xml.wss.impl.policy.MLSPolicy |
---|
isReadOnly, isReadOnly |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncryptionPolicy.FeatureBinding()
Method Detail |
---|
public java.lang.String getDataEncryptionAlgorithm()
public void setDataEncryptionAlgorithm(java.lang.String algorithm)
algorithm
- the DataEncryptionAlgorithmpublic java.util.ArrayList getTargetBindings()
public void addTargetBinding(EncryptionTarget target)
target
- EncryptionTargetpublic void addTargetBinding(Target target)
public void removeTargetBindings(java.util.ArrayList targets)
targets
- ArrayList of all targets to be removedpublic boolean equals(WSSPolicy policy)
equals
in class WSSPolicy
SignaturePolicy
,
EncryptionPolicy
,
AuthenticationTokenPolicy
,
PrivateKeyBinding
,
SymmetricKeyBinding
public boolean equalsIgnoreTargets(WSSPolicy policy)
equalsIgnoreTargets
in class WSSPolicy
public java.lang.Object clone()
clone
in class WSSPolicy
SignaturePolicy
,
EncryptionPolicy
,
AuthenticationTokenPolicy
public java.lang.String getType()
SecurityPolicy
Implementation Note: Useful to avoid instanceof checks and String.equals checks
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |