Class DerivedKeyTokenImpl

  • All Implemented Interfaces:
    com.sun.xml.ws.security.DerivedKeyToken, com.sun.xml.ws.security.Token

    public class DerivedKeyTokenImpl
    extends Object
    implements com.sun.xml.ws.security.DerivedKeyToken
    Author:
    Ashutosh Shahi
    • Constructor Detail

      • DerivedKeyTokenImpl

        public DerivedKeyTokenImpl​(long offset,
                                   long length,
                                   byte[] secret)
        Creates a new instance of DerivedKeyTokenImpl
      • DerivedKeyTokenImpl

        public DerivedKeyTokenImpl​(long offset,
                                   long length,
                                   byte[] secret,
                                   byte[] nonce)
      • DerivedKeyTokenImpl

        public DerivedKeyTokenImpl​(long offset,
                                   long length,
                                   byte[] secret,
                                   byte[] nonce,
                                   String label)
      • DerivedKeyTokenImpl

        public DerivedKeyTokenImpl​(long generation,
                                   byte[] secret)
    • Method Detail

      • getAlgorithm

        public URI getAlgorithm()
        Specified by:
        getAlgorithm in interface com.sun.xml.ws.security.DerivedKeyToken
      • getLength

        public long getLength()
        Specified by:
        getLength in interface com.sun.xml.ws.security.DerivedKeyToken
      • getOffset

        public long getOffset()
        Specified by:
        getOffset in interface com.sun.xml.ws.security.DerivedKeyToken
      • 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
      • getGeneration

        public long getGeneration()
        Specified by:
        getGeneration in interface com.sun.xml.ws.security.DerivedKeyToken
      • getLabel

        public String getLabel()
        Specified by:
        getLabel in interface com.sun.xml.ws.security.DerivedKeyToken
      • getNonce

        public byte[] getNonce()
        Specified by:
        getNonce in interface com.sun.xml.ws.security.DerivedKeyToken