Class BinarySecurity

java.lang.Object
org.apache.ws.security.message.token.BinarySecurity
Direct Known Subclasses:
PKIPathSecurity, X509Security

public class BinarySecurity extends Object
Binary Security Token.

Author:
Davanum Srinivas (dims@yahoo.com)., Werner Dittmann (Werner.Dittmann@t-onile.de).
  • Field Details

    • TOKEN_BST

      public static final QName TOKEN_BST
    • TOKEN_KI

      public static final QName TOKEN_KI
    • BASE64_ENCODING

      public static final String BASE64_ENCODING
      See Also:
    • element

      protected Element element
  • Constructor Details

  • Method Details

    • getValueType

      public String getValueType()
      get the value type.

      Returns:
      TODO
    • setValueType

      protected void setValueType(String type)
      set the value type.

      Parameters:
      type -
    • getEncodingType

      public String getEncodingType()
      get the encoding type.

      Returns:
      TODO
    • setEncodingType

      protected void setEncodingType(String encoding)
      set the encoding type.

      Parameters:
      encoding -
    • getToken

      public byte[] getToken()
      get the byte array containing token information.

      Returns:
      TODO
    • setToken

      protected void setToken(byte[] data)
      set the token information.

      Parameters:
      data -
    • getFirstNode

      protected Text getFirstNode()
      return the first text node.

      Returns:
      TODO
    • getElement

      public Element getElement()
      return the dom element.

      Returns:
      TODO
    • getID

      public String getID()
      get the id.

      Returns:
      TODO
    • setID

      public void setID(String id)
      set the id.

      Parameters:
      id -
    • toString

      public String toString()
      return the string representation of the token.

      Overrides:
      toString in class Object
      Returns:
      TODO