com.ibm.websphere.wssecurity.wssapi.token

Interface DerivedKeyToken

    • Field Detail

      • PSHA1

        static final java.lang.String PSHA1
        The algorithm for the PSHA1: http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1.
        See Also:
        Constant Field Values
      • PSHA1L128

        static final java.lang.String PSHA1L128
        The algorithm for the PSHA1_L128: http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1.
        See Also:
        Constant Field Values
      • PSHA1L192

        static final java.lang.String PSHA1L192
        The algorithm for the PSHA1_L192: http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1.
        See Also:
        Constant Field Values
      • PSHA1L256

        static final java.lang.String PSHA1L256
        The algorithm for the PSHA1_L256: http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1.
        See Also:
        Constant Field Values
      • TokenQname

        static final javax.xml.namespace.QName TokenQname
        Represents the QName of this class, <wsu:DerivedKeyToken>.
        NamespaceURI:
        "http://schemas.xmlsoap.org/ws/2005/02/sc"
        LocalPart:
        "DerivedKeyToken"
      • ValueType

        static final javax.xml.namespace.QName ValueType
        Represents the value type.
        ValueType:
        "http://schemas.xmlsoap.org/ws/2005/02/sc/dk"
    • Method Detail

      • getSecret

        byte[] getSecret()
        Returns the secret is processed as octets representing their binary value. It is used to calcurate the DerivedKey.
        Returns:
        secret secret
      • getNonce

        byte[] getNonce()
        Returns the nonce. This optional elements defines a label to use for all keys derived from this key.
        Returns:
        nonce nonce
      • setClientLabel

        void setClientLabel(java.lang.String label)
        Sets the client label.
        Parameters:
        label - client label
      • setServiceLabel

        void setServiceLabel(java.lang.String label)
        Sets the service label.
        Parameters:
        label - service label
      • getClientLabel

        java.lang.String getClientLabel()
        Returns the client label.
        Returns:
        client label
      • getServiceLabel

        java.lang.String getServiceLabel()
        Returns the service label.
        Returns:
        service label
      • getLength

        int getLength()
        Returns the length of the derived key.
        Returns:
        length of the derived key
      • getOffset

        int getOffset()
        Returns the offset of the byte stream to find the generated key.
        Returns:
        offset offset
      • getAlgorithm

        java.lang.String getAlgorithm()
        Returns the key derivation algorithm.
        Returns:
        name of algorithm
      • setSecurityContextTokenUUID

        void setSecurityContextTokenUUID(java.lang.String uuid)
        Sets the uuid of the related security context token.
        Parameters:
        uuid - uuid of related security context token
      • getSecurityContextTokenTokenUUID

        java.lang.String getSecurityContextTokenTokenUUID()
        Gets the uuid of the related security context token.
        Returns:
        the uuid of the related security context token
IBM WebSphere Application ServerTM
Release 9.0