Class EncryptionToken

java.lang.Object
org.apache.ws.secpolicy.model.AbstractSecurityAssertion
org.apache.ws.secpolicy.model.EncryptionToken
All Implemented Interfaces:
org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent, TokenWrapper

public class EncryptionToken extends AbstractSecurityAssertion implements TokenWrapper
  • Constructor Details

    • EncryptionToken

      public EncryptionToken(int version)
  • Method Details

    • 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 QName getName()
      Specified by:
      getName in interface org.apache.neethi.Assertion
    • serialize

      public void serialize(XMLStreamWriter writer) throws XMLStreamException
      Specified by:
      serialize in interface org.apache.neethi.Assertion
      Specified by:
      serialize in interface org.apache.neethi.PolicyComponent
      Throws:
      XMLStreamException