Class MAC

    • Constructor Detail

      • MAC

        public MAC​(String type,
                   byte[] key)
        Parameters:
        type - the MAC algorithm to use
        key - the key to use in the MAC
    • Method Detail

      • initMac

        public void initMac​(int seq)
      • update

        public void update​(byte[] packetdata,
                           int off,
                           int len)
      • getMac

        public void getMac​(byte[] out,
                           int off)
      • size

        public int size()