org.apache.ws.secpolicy.model
Class AsymmetricBinding

java.lang.Object
  extended byorg.apache.ws.secpolicy.model.AbstractSecurityAssertion
      extended byorg.apache.ws.secpolicy.model.Binding
          extended byorg.apache.ws.secpolicy.model.SymmetricAsymmetricBindingBase
              extended byorg.apache.ws.secpolicy.model.AsymmetricBinding
All Implemented Interfaces:
AlgorithmWrapper, org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent

public class AsymmetricBinding
extends SymmetricAsymmetricBindingBase


Constructor Summary
AsymmetricBinding()
           
 
Method Summary
 InitiatorToken getInitiatorToken()
           
 QName getName()
           
 RecipientToken getRecipientToken()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void serialize(XMLStreamWriter writer)
           
 void setInitiatorToken(InitiatorToken initiatorToken)
           
 void setRecipientToken(RecipientToken recipientToken)
           
 
Methods inherited from class org.apache.ws.secpolicy.model.SymmetricAsymmetricBindingBase
getProtectionOrder, isEntireHeadersAndBodySignatures, isSignatureProtection, isTokenProtection, setEntireHeadersAndBodySignatures, setProtectionOrder, setSignatureProtection, setTokenProtection
 
Methods inherited from class org.apache.ws.secpolicy.model.Binding
getAlgorithmSuite, getLayout, getSignedEndorsingSupportingTokens, getSignedSupportingToken, isIncludeTimestamp, setAlgorithmSuite, setIncludeTimestamp, setLayout, setSignedEndorsingSupportingTokens, setSignedSupportingToken
 
Methods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getType, isNormalized, isOptional, setNormalized, setOptional
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsymmetricBinding

public AsymmetricBinding()
Method Detail

getInitiatorToken

public InitiatorToken getInitiatorToken()
Returns:
Returns the initiatorToken.

setInitiatorToken

public void setInitiatorToken(InitiatorToken initiatorToken)
Parameters:
initiatorToken - The initiatorToken to set.

getRecipientToken

public RecipientToken getRecipientToken()
Returns:
Returns the recipientToken.

setRecipientToken

public void setRecipientToken(RecipientToken recipientToken)
Parameters:
recipientToken - The recipientToken to set.

getName

public QName getName()

normalize

public org.apache.neethi.PolicyComponent normalize()
Specified by:
normalize in interface org.apache.neethi.Assertion
Overrides:
normalize in class AbstractSecurityAssertion

serialize

public void serialize(XMLStreamWriter writer)
               throws XMLStreamException
Throws:
XMLStreamException