|
||||||||||
| 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.AsymmetricBinding
public class AsymmetricBinding
| 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 | |
|---|---|
AsymmetricBinding()
Creates a new instance of AsymmetricBinding |
|
AsymmetricBinding(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 |
getInitiatorToken()
returns Initiator token |
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 |
getRecipientToken()
returns Recipient token |
SecurityPolicyVersion |
getSecurityPolicyVersion()
|
boolean |
getSignatureProtection()
|
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 |
setInitiatorToken(Token token)
|
void |
setLayout(MessageLayout layout)
|
void |
setProtectionOrder(java.lang.String order)
|
void |
setRecipientToken(Token token)
|
void |
setSignatureProtection(boolean value)
|
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 AsymmetricBinding()
public AsymmetricBinding(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 getRecipientToken()
AsymmetricBinding
getRecipientToken in interface AsymmetricBindingX509Tokenpublic Token getInitiatorToken()
AsymmetricBinding
getInitiatorToken in interface AsymmetricBindingX509Tokenpublic 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 setInitiatorToken(Token token)
public void setRecipientToken(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 | |||||||||