Class BCMac

  • All Implemented Interfaces:
    Mac

    public class BCMac
    extends java.lang.Object
    implements Mac
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] doFinal()  
      void init​(byte[] key)  
      void reset()  
      void update​(byte b)  
      void update​(byte[] array)  
      void update​(byte[] array, int offset, int length)  
      • Methods inherited from class java.lang.Object

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

      • init

        public void init​(byte[] key)
        Specified by:
        init in interface Mac
      • update

        public void update​(byte b)
        Specified by:
        update in interface Mac
      • update

        public void update​(byte[] array)
        Specified by:
        update in interface Mac
      • update

        public void update​(byte[] array,
                           int offset,
                           int length)
        Specified by:
        update in interface Mac
      • doFinal

        public byte[] doFinal()
        Specified by:
        doFinal in interface Mac
      • reset

        public void reset()
        Specified by:
        reset in interface Mac