Class JceMac

  • All Implemented Interfaces:
    Mac

    public class JceMac
    extends java.lang.Object
    implements Mac
    • Constructor Summary

      Constructors 
      Constructor Description
      JceMac​(java.lang.String algorithm, java.security.Provider jceProvider, java.lang.String providerName)  
    • Method Summary

      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
    • Constructor Detail

      • JceMac

        public JceMac​(java.lang.String algorithm,
                      java.security.Provider jceProvider,
                      java.lang.String providerName)
               throws SecurityException
        Throws:
        SecurityException
    • Method Detail

      • 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