Class X509SecurityToken

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

public class X509SecurityToken extends BinarySecurityToken implements com.sun.xml.ws.security.Token
An X509 v3 certificate BinarySecurityToken.
Author:
Manveen Kaur, Edwin Goei
  • Constructor Details

  • Method Details

    • getCertificate

      public X509Certificate getCertificate() throws com.sun.xml.wss.XWSSecurityException
      Throws:
      com.sun.xml.wss.XWSSecurityException
    • fromSoapElement

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

      public String getTextValue() throws com.sun.xml.wss.XWSSecurityException
      Description copied from class: BinarySecurityToken
      get the actual value of the text node. This will typically be encoded. It is the onus of the filter to decode this before operation upon it.
      Overrides:
      getTextValue in class BinarySecurityToken
      Throws:
      com.sun.xml.wss.XWSSecurityException
    • 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