|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.policy.PolicyAssertion
com.sun.xml.ws.security.impl.policy.SymmetricBinding
public class SymmetricBinding
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.sun.xml.ws.security.policy.SecurityAssertionValidator |
|---|
SecurityAssertionValidator.AssertionFitness |
| Field Summary |
|---|
| Fields inherited from interface com.sun.xml.ws.security.policy.Binding |
|---|
ENCRYPT_SIGN, SIGN_ENCRYPT |
| Constructor Summary | |
|---|---|
SymmetricBinding()
Creates a new instance of SymmetricBinding |
|
SymmetricBinding(com.sun.xml.ws.policy.sourcemodel.AssertionData name,
java.util.Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions,
com.sun.xml.ws.policy.AssertionSet nestedAlternative)
|
|
| Method Summary | |
|---|---|
AlgorithmSuite |
getAlgorithmSuite()
returns the AlgorithmSuite assertions defined in the policy. |
Token |
getEncryptionToken()
returns the EncryptionToken |
MessageLayout |
getLayout()
returns the Layout MessageLayoutof the SecurityHeader. |
java.lang.String |
getProtectionOrder()
gets data protection order should be one one of Binding.SIGN_ENCRYPT or Binding.ENCRYPT_SIGN |
Token |
getProtectionToken()
return token to be used for signature and encryption operations. |
SecurityPolicyVersion |
getSecurityPolicyVersion()
|
boolean |
getSignatureProtection()
|
Token |
getSignatureToken()
returns token to be used for Signature operations |
boolean |
getTokenProtection()
|
void |
includeTimeStamp(boolean value)
|
boolean |
isDisableTimestampSigning()
|
boolean |
isIncludeTimeStamp()
returns true if TimeStamp property is enabled in this binding |
boolean |
isSignContent()
returns true if body and header content only has to be signed, false if entire body and header has to be signed. |
void |
setAlgorithmSuite(AlgorithmSuite algSuite)
|
void |
setEncryptionToken(Token token)
|
void |
setLayout(MessageLayout layout)
|
void |
setProtectionOrder(java.lang.String order)
|
void |
setProtectionToken(Token token)
|
void |
setSignatureProtection(boolean value)
|
void |
setSignatureToken(Token token)
|
void |
setSignContent(boolean contentOnly)
|
void |
setTokenProtection(boolean value)
|
SecurityAssertionValidator.AssertionFitness |
validate(boolean isServer)
returns true if all the assertions embeeded under a SecurityPolicy assertion are valid and supported by the implementation. |
| Methods inherited from class com.sun.xml.ws.policy.PolicyAssertion |
|---|
equals, getAttributes, getAttributesSet, getAttributeValue, getName, getNestedAssertionsIterator, getNestedPolicy, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasNestedPolicy, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SymmetricBinding()
public SymmetricBinding(com.sun.xml.ws.policy.sourcemodel.AssertionData name,
java.util.Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions,
com.sun.xml.ws.policy.AssertionSet nestedAlternative)
| Method Detail |
|---|
public Token getEncryptionToken()
SymmetricBinding
getEncryptionToken in interface SymmetricBindingEncryptionTokenpublic Token getSignatureToken()
SymmetricBinding
getSignatureToken in interface SymmetricBindingSignatureTokenpublic Token getProtectionToken()
SymmetricBinding
getProtectionToken in interface SymmetricBindingProtectionTokenpublic void setAlgorithmSuite(AlgorithmSuite algSuite)
public AlgorithmSuite getAlgorithmSuite()
BindingAlgorithmSuite assertions defined in the policy.
getAlgorithmSuite in interface BindingAlgorithmSuitepublic void includeTimeStamp(boolean value)
public boolean isIncludeTimeStamp()
Binding
isIncludeTimeStamp in interface Bindingpublic boolean isDisableTimestampSigning()
isDisableTimestampSigning in interface Bindingpublic void setLayout(MessageLayout layout)
public MessageLayout getLayout()
BindingMessageLayoutof the SecurityHeader.
getLayout in interface BindingMessageLayoutpublic void setEncryptionToken(Token token)
public void setSignatureToken(Token token)
public void setProtectionToken(Token token)
public boolean isSignContent()
Binding
isSignContent in interface Bindingpublic void setSignContent(boolean contentOnly)
public void setProtectionOrder(java.lang.String order)
public java.lang.String getProtectionOrder()
Binding
getProtectionOrder in interface Bindingpublic void setTokenProtection(boolean value)
public void setSignatureProtection(boolean value)
public boolean getTokenProtection()
getTokenProtection in interface Bindingpublic boolean getSignatureProtection()
getSignatureProtection in interface Bindingpublic SecurityAssertionValidator.AssertionFitness validate(boolean isServer)
SecurityAssertionValidator
validate in interface SecurityAssertionValidatorpublic SecurityPolicyVersion getSecurityPolicyVersion()
getSecurityPolicyVersion in interface Binding
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||