Class HMACSHA1

  • All Implemented Interfaces:
    MAC
    Direct Known Subclasses:
    HMACSHA196

    public class HMACSHA1
    extends Object
    • Field Detail

      • bsize

        protected int bsize
      • algorithm

        protected String algorithm
    • Constructor Detail

      • HMACSHA1

        public HMACSHA1()
    • Method Detail

      • getBlockSize

        public int getBlockSize()
        Specified by:
        getBlockSize in interface MAC
      • update

        public void update​(int i)
        Specified by:
        update in interface MAC
      • update

        public void update​(byte[] foo,
                           int s,
                           int l)
        Specified by:
        update in interface MAC
      • doFinal

        public void doFinal​(byte[] buf,
                            int offset)
        Specified by:
        doFinal in interface MAC