Apache CXF API

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

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.SymmetricBinding
All Implemented Interfaces:
AlgorithmWrapper, org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent, org.apache.neethi.PolicyContainingAssertion

public class SymmetricBinding
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
SymmetricBinding(PolicyBuilder b)
           
SymmetricBinding(SPConstants version, PolicyBuilder b)
           
 
Method Summary
 EncryptionToken getEncryptionToken()
           
 QName getName()
           
 org.apache.neethi.Policy getPolicy()
           
 ProtectionToken getProtectionToken()
           
 QName getRealName()
           
 SignatureToken getSignatureToken()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 void setEncryptionToken(EncryptionToken encryptionToken)
           
 void setProtectionToken(ProtectionToken protectionToken)
           
 void setSignatureToken(SignatureToken signatureToken)
           
 
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

SymmetricBinding

public SymmetricBinding(PolicyBuilder b)

SymmetricBinding

public SymmetricBinding(SPConstants version,
                        PolicyBuilder b)
Method Detail

getEncryptionToken

public EncryptionToken getEncryptionToken()
Returns:
Returns the encryptionToken.

setEncryptionToken

public void setEncryptionToken(EncryptionToken encryptionToken)
Parameters:
encryptionToken - The encryptionToken to set.

getProtectionToken

public ProtectionToken getProtectionToken()
Returns:
Returns the protectionToken.

setProtectionToken

public void setProtectionToken(ProtectionToken protectionToken)
Parameters:
protectionToken - The protectionToken to set.

getSignatureToken

public SignatureToken getSignatureToken()
Returns:
Returns the signatureToken.

setSignatureToken

public void setSignatureToken(SignatureToken signatureToken)
Parameters:
signatureToken - The signatureToken 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