org.apache.cxf.ws.security.policy.model
Class SymmetricBinding
java.lang.Object
org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
org.apache.cxf.ws.security.policy.model.Binding
org.apache.cxf.ws.security.policy.model.SymmetricAsymmetricBindingBase
org.apache.cxf.ws.security.policy.model.SymmetricBinding
- All Implemented Interfaces:
- PolicyAssertion, AlgorithmWrapper, org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent, org.apache.neethi.PolicyContainingAssertion
public class SymmetricBinding
- extends SymmetricAsymmetricBindingBase
Fields inherited from class org.apache.cxf.ws.security.policy.model.Binding |
builder |
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 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 |
SymmetricBinding
public SymmetricBinding(PolicyBuilder b)
SymmetricBinding
public SymmetricBinding(SPConstants version,
PolicyBuilder b)
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