Class HMAC

  • All Implemented Interfaces:
    Digest

    @Deprecated
    public final class HMAC
    extends java.lang.Object
    implements Digest
    Deprecated.
    HMAC.
    Version:
    $Id: HMAC.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) byte[] k_xor_ipad
      Deprecated.
       
      (package private) byte[] k_xor_opad
      Deprecated.
       
      (package private) Digest md
      Deprecated.
       
      (package private) int size
      Deprecated.
       
      (package private) byte[] tmp
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      HMAC​(Digest md, byte[] key, int size)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void digest​(byte[] out)
      Deprecated.
       
      void digest​(byte[] out, int off)
      Deprecated.
       
      int getDigestLength()
      Deprecated.
       
      void reset()
      Deprecated.
       
      void update​(byte b)
      Deprecated.
       
      void update​(byte[] b)
      Deprecated.
       
      void update​(byte[] b, int off, int len)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • k_xor_ipad

        byte[] k_xor_ipad
        Deprecated.
      • k_xor_opad

        byte[] k_xor_opad
        Deprecated.
      • tmp

        byte[] tmp
        Deprecated.
      • size

        int size
        Deprecated.
    • Constructor Detail

      • HMAC

        public HMAC​(Digest md,
                    byte[] key,
                    int size)
        Deprecated.
    • Method Detail

      • getDigestLength

        public final int getDigestLength()
        Deprecated.
        Specified by:
        getDigestLength in interface Digest
      • update

        public final void update​(byte b)
        Deprecated.
        Specified by:
        update in interface Digest
      • update

        public final void update​(byte[] b)
        Deprecated.
        Specified by:
        update in interface Digest
      • update

        public final void update​(byte[] b,
                                 int off,
                                 int len)
        Deprecated.
        Specified by:
        update in interface Digest
      • reset

        public final void reset()
        Deprecated.
        Specified by:
        reset in interface Digest
      • digest

        public final void digest​(byte[] out)
        Deprecated.
        Specified by:
        digest in interface Digest
      • digest

        public final void digest​(byte[] out,
                                 int off)
        Deprecated.
        Specified by:
        digest in interface Digest