Class Timestamp

All Implemented Interfaces:
SecurityHeaderBlock, javax.xml.soap.Node, javax.xml.soap.SOAPElement, Element, Node

public class Timestamp extends SecurityHeaderBlockImpl
Author:
XWS-Security RI Development Team
  • Field Details

  • Constructor Details

    • Timestamp

      public Timestamp()
    • Timestamp

      public Timestamp(javax.xml.soap.SOAPElement element) throws com.sun.xml.wss.XWSSecurityException
      Takes a SOAPElement and checks if it has the right name.
      Throws:
      com.sun.xml.wss.XWSSecurityException
  • Method Details

    • getCreated

      public String getCreated()
    • setCreated

      public void setCreated(String created)
    • getCreatedValueType

      public String getCreatedValueType()
    • setCreatedValueType

      public void setCreatedValueType(String createdValueType)
    • setTimeout

      public void setTimeout(long timeout)
      The timeout is assumed to be in seconds
    • getExpires

      public String getExpires()
    • setExpires

      public void setExpires(String expires)
    • getExpiresValueType

      public String getExpiresValueType()
    • setExpiresValueType

      public void setExpiresValueType(String expiresValueType)
    • getId

      public String getId()
      Specified by:
      getId in interface SecurityHeaderBlock
      Overrides:
      getId in class SecurityHeaderBlockImpl
    • setId

      public void setId(String wsuId)
    • 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
    • createDateTime

      public void createDateTime() throws com.sun.xml.wss.XWSSecurityException
      Throws:
      com.sun.xml.wss.XWSSecurityException