Apache CXF API

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

java.lang.Object
  extended by org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
      extended by org.apache.cxf.ws.security.policy.model.TokenWrapper
          extended by org.apache.cxf.ws.security.policy.model.EncryptionToken
All Implemented Interfaces:
PolicyAssertion, org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent, org.apache.neethi.PolicyContainingAssertion

public class EncryptionToken
extends TokenWrapper


Field Summary
 
Fields inherited from class org.apache.cxf.ws.security.policy.model.TokenWrapper
builder, token
 
Fields inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
constants
 
Constructor Summary
EncryptionToken(SPConstants version, PolicyBuilder b)
           
 
Method Summary
 Token getEncryptionToken()
           
 QName getName()
           
 QName getRealName()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 void setEncryptionToken(Token encryptionToken)
           
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.TokenWrapper
getPolicy, getToken, normalize, setToken
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
equal, getSPConstants, getType, isAsserted, 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.cxf.ws.policy.PolicyAssertion
isAsserted
 
Methods inherited from interface org.apache.neethi.Assertion
isIgnorable, isOptional
 
Methods inherited from interface org.apache.neethi.PolicyComponent
equal, getType
 
Methods inherited from interface org.apache.neethi.Assertion
isIgnorable, isOptional
 
Methods inherited from interface org.apache.neethi.PolicyComponent
equal, getType
 

Constructor Detail

EncryptionToken

public EncryptionToken(SPConstants version,
                       PolicyBuilder b)
Method Detail

getEncryptionToken

public Token getEncryptionToken()
Returns:
Returns the encryptionToken.

setEncryptionToken

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

getRealName

public QName getRealName()

getName

public QName getName()

serialize

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

Apache CXF API

Apache CXF