org.apache.cxf.ws.security.policy.model
Class EncryptionToken
java.lang.Object
org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
org.apache.cxf.ws.security.policy.model.EncryptionToken
- All Implemented Interfaces:
- PolicyAssertion, TokenWrapper, org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent
public class EncryptionToken
- extends AbstractSecurityAssertion
- implements TokenWrapper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncryptionToken
public EncryptionToken(SPConstants version)
getEncryptionToken
public Token getEncryptionToken()
- Returns:
- Returns the encryptionToken.
setEncryptionToken
public void setEncryptionToken(Token encryptionToken)
- Parameters:
encryptionToken
- The encryptionToken to set.
setToken
public void setToken(Token tok)
- Specified by:
setToken
in interface TokenWrapper
getName
public javax.xml.namespace.QName getName()
- Specified by:
getName
in interface org.apache.neethi.Assertion
serialize
public void serialize(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
- Specified by:
serialize
in interface org.apache.neethi.Assertion
- Specified by:
serialize
in interface org.apache.neethi.PolicyComponent
- Throws:
javax.xml.stream.XMLStreamException
Apache CXF