Apache CXF API

org.apache.cxf.ws.security.policy.model
Class AsymmetricBinding

java.lang.Object
  extended by org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
      extended by org.apache.cxf.ws.security.policy.model.Binding
          extended by org.apache.cxf.ws.security.policy.model.SymmetricAsymmetricBindingBase
              extended by org.apache.cxf.ws.security.policy.model.AsymmetricBinding
All Implemented Interfaces:
AlgorithmWrapper, org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent, org.apache.neethi.PolicyContainingAssertion

public class AsymmetricBinding
extends SymmetricAsymmetricBindingBase


Field Summary
 
Fields inherited from class org.apache.cxf.ws.security.policy.model.Binding
builder
 
Fields inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
constants
 
Constructor Summary
AsymmetricBinding(SPConstants version, PolicyBuilder b)
           
 
Method Summary
 InitiatorEncryptionToken getInitiatorEncryptionToken()
           
 InitiatorSignatureToken getInitiatorSignatureToken()
           
 InitiatorToken getInitiatorToken()
           
 QName getName()
           
 org.apache.neethi.Policy getPolicy()
           
 QName getRealName()
           
 RecipientEncryptionToken getRecipientEncryptionToken()
           
 RecipientSignatureToken getRecipientSignatureToken()
           
 RecipientToken getRecipientToken()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 void setInitiatorEncryptionToken(InitiatorEncryptionToken initiatorEncryptionToken)
           
 void setInitiatorSignatureToken(InitiatorSignatureToken initiatorSignatureToken)
           
 void setInitiatorToken(InitiatorToken initiatorToken)
           
 void setRecipientEncryptionToken(RecipientEncryptionToken recipientEncryptionToken)
           
 void setRecipientSignatureToken(RecipientSignatureToken recipientSignatureToken)
           
 void setRecipientToken(RecipientToken recipientToken)
           
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.SymmetricAsymmetricBindingBase
getProtectionOrder, isEntireHeadersAndBodySignatures, isSignatureProtection, setEntireHeadersAndBodySignatures, setProtectionOrder, setSignatureProtection
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.Binding
getAlgorithmSuite, getLayout, getSignedEndorsingSupportingTokens, getSignedSupportingToken, isIncludeTimestamp, isTokenProtection, setAlgorithmSuite, setIncludeTimestamp, setLayout, setSignedEndorsingSupportingTokens, setSignedSupportingToken, setTokenProtection
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
equal, getSPConstants, getType, isIgnorable, isNormalized, isOptional, setIgnorable, setNormalized, setOptional
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.neethi.Assertion
isIgnorable, isOptional
 
Methods inherited from interface org.apache.neethi.PolicyComponent
equal, getType
 

Constructor Detail

AsymmetricBinding

public AsymmetricBinding(SPConstants version,
                         PolicyBuilder b)
Method Detail

getInitiatorToken

public InitiatorToken getInitiatorToken()
Returns:
Returns the initiatorToken.

setInitiatorToken

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

getInitiatorSignatureToken

public InitiatorSignatureToken getInitiatorSignatureToken()
Returns:
Returns the initiatorSignatureToken.

setInitiatorSignatureToken

public void setInitiatorSignatureToken(InitiatorSignatureToken initiatorSignatureToken)
Parameters:
initiatorSignatureToken - The initiatorSignatureToken to set.

getInitiatorEncryptionToken

public InitiatorEncryptionToken getInitiatorEncryptionToken()
Returns:
Returns the initiatorEncryptionToken.

setInitiatorEncryptionToken

public void setInitiatorEncryptionToken(InitiatorEncryptionToken initiatorEncryptionToken)
Parameters:
initiatorEncryptionToken - The initiatorEncryptionToken to set.

getRecipientToken

public RecipientToken getRecipientToken()
Returns:
Returns the recipientToken.

setRecipientToken

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

getRecipientSignatureToken

public RecipientSignatureToken getRecipientSignatureToken()
Returns:
Returns the recipientSignatureToken.

setRecipientSignatureToken

public void setRecipientSignatureToken(RecipientSignatureToken recipientSignatureToken)
Parameters:
recipientSignatureToken - The recipientSignatureToken to set.

getRecipientEncryptionToken

public RecipientEncryptionToken getRecipientEncryptionToken()
Returns:
Returns the recipientEncryptionToken.

setRecipientEncryptionToken

public void setRecipientEncryptionToken(RecipientEncryptionToken recipientEncryptionToken)
Parameters:
recipientEncryptionToken - The recipientEncryptionToken to set.

getRealName

public QName getRealName()

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

getPolicy

public org.apache.neethi.Policy getPolicy()

serialize

public void serialize(javax.xml.stream.XMLStreamWriter writer)
               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

Apache CXF API

Apache CXF