|
|||||||||
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.WSSKeyBindingExtension com.sun.xml.wss.impl.policy.mls.SignaturePolicy
public class SignaturePolicy
Objects of this class represent a policy for Signing parts of a SOAP Message. The Message Parts to be signed and the Canonicalization Algorithm to be used for the ds:SignedInfo are captured as FeatureBindings of this Policy. The exact Key to be used is to be represented as a distinct KeyBinding for this policy instance. The SignatureMethod for the signature is obtained as the keyAlgorithm on the corresponding KeyBinding associated with this SignaturePolicy Allowed KeyBindings for a SignaturePolicy include the following :
Nested Class Summary | |
---|---|
static class |
SignaturePolicy.FeatureBinding
A class representing FeatureBindings for a SignaturePolicy The FeatureBinding would contain information about the MessageParts to be Signed, and the CanonicalizationMethod. |
Constructor Summary | |
---|---|
SignaturePolicy()
Default constructor |
Method Summary | |
---|---|
java.lang.Object |
clone()
clone operator |
boolean |
equals(WSSPolicy policy)
Equals operator |
boolean |
equalsIgnoreTargets(WSSPolicy policy)
|
java.lang.String |
getType()
Get the type of the policy. |
Methods inherited from class com.sun.xml.wss.impl.policy.mls.WSSKeyBindingExtension |
---|
newSAMLAssertionKeyBinding, newSymmetricKeyBinding, newX509CertificateKeyBinding |
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 SignaturePolicy()
Method Detail |
---|
public java.lang.Object clone()
clone
in class WSSPolicy
SignaturePolicy
,
EncryptionPolicy
,
AuthenticationTokenPolicy
public boolean equals(WSSPolicy policy)
equals
in class WSSPolicy
policy
- WSSPolicy
to be compared for equality
SignaturePolicy
,
EncryptionPolicy
,
AuthenticationTokenPolicy
,
PrivateKeyBinding
,
SymmetricKeyBinding
public boolean equalsIgnoreTargets(WSSPolicy policy)
equalsIgnoreTargets
in class WSSPolicy
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 |