Class DerivedKeyTokenHeaderBlock

All Implemented Interfaces:
com.sun.xml.ws.security.Token, SecurityHeaderBlock, SecurityToken, javax.xml.soap.Node, javax.xml.soap.SOAPElement, Element, Node

public class DerivedKeyTokenHeaderBlock extends SecurityHeaderBlockImpl implements com.sun.xml.ws.security.Token, SecurityToken
Author:
Abhijit Das
  • Constructor Details

    • DerivedKeyTokenHeaderBlock

      public DerivedKeyTokenHeaderBlock(Document contextDocument, SecurityTokenReference securityTokenRefElement, String wsuId) throws com.sun.xml.wss.XWSSecurityException
      Throws:
      com.sun.xml.wss.XWSSecurityException
    • DerivedKeyTokenHeaderBlock

      public DerivedKeyTokenHeaderBlock(Document contextDocument, SecurityTokenReference securityTokenRefElement, String nonce, String wsuId) throws com.sun.xml.wss.XWSSecurityException
      Throws:
      com.sun.xml.wss.XWSSecurityException
    • DerivedKeyTokenHeaderBlock

      public DerivedKeyTokenHeaderBlock(Document contextDocument, SecurityTokenReference securityTokenRefElement, String nonce, long generation, String wsuId) throws com.sun.xml.wss.XWSSecurityException
      Throws:
      com.sun.xml.wss.XWSSecurityException
    • DerivedKeyTokenHeaderBlock

      public DerivedKeyTokenHeaderBlock(Document contextDocument, SecurityTokenReference securityTokenRefElement, String nonce, long offset, long length, String wsuId) throws com.sun.xml.wss.XWSSecurityException
      Throws:
      com.sun.xml.wss.XWSSecurityException
    • DerivedKeyTokenHeaderBlock

      public DerivedKeyTokenHeaderBlock(Document contextDocument, SecurityTokenReference securityTokenRefElement, String nonce, long offset, long length, String wsuId, String label) throws com.sun.xml.wss.XWSSecurityException
      Throws:
      com.sun.xml.wss.XWSSecurityException
    • DerivedKeyTokenHeaderBlock

      public DerivedKeyTokenHeaderBlock(javax.xml.soap.SOAPElement derivedKeyTokenHeaderBlock) throws com.sun.xml.wss.XWSSecurityException
      Throws:
      com.sun.xml.wss.XWSSecurityException
  • Method Details

    • fromSoapElement

      public static SecurityHeaderBlock fromSoapElement(javax.xml.soap.SOAPElement element) throws com.sun.xml.wss.XWSSecurityException
      Parameters:
      element -
      Returns:
      Throws:
      com.sun.xml.wss.XWSSecurityException
    • getAsSoapElement

      public javax.xml.soap.SOAPElement getAsSoapElement() throws com.sun.xml.wss.XWSSecurityException
      Specified by:
      getAsSoapElement in interface SecurityHeaderBlock
      Overrides:
      getAsSoapElement in class SecurityHeaderBlockImpl
      Throws:
      com.sun.xml.wss.XWSSecurityException
    • getContextDocument

      public Document getContextDocument()
    • getNonce

      public byte[] getNonce()
    • getOffset

      public long getOffset()
    • getLength

      public long getLength()
    • getDerivedKeyElement

      public SecurityTokenReference getDerivedKeyElement()
    • getType

      public String getType()
      Specified by:
      getType in interface com.sun.xml.ws.security.Token
    • getTokenValue

      public Object getTokenValue()
      Specified by:
      getTokenValue in interface com.sun.xml.ws.security.Token
    • getLabel

      public String getLabel()