Class WolfCryptMac

java.lang.Object
javax.crypto.MacSpi
com.wolfssl.provider.jce.WolfCryptMac
Direct Known Subclasses:
WolfCryptMac.wcHmacMD5, WolfCryptMac.wcHmacSHA1, WolfCryptMac.wcHmacSHA256, WolfCryptMac.wcHmacSHA384, WolfCryptMac.wcHmacSHA512

public class WolfCryptMac
extends javax.crypto.MacSpi
wolfCrypt JCE Mac wrapper
Version:
1.0, March 2017
Author:
wolfSSL
  • Method Details

    • engineDoFinal

      protected byte[] engineDoFinal()
      Specified by:
      engineDoFinal in class javax.crypto.MacSpi
    • engineGetMacLength

      protected int engineGetMacLength()
      Specified by:
      engineGetMacLength in class javax.crypto.MacSpi
    • engineInit

      protected void engineInit​(java.security.Key key, java.security.spec.AlgorithmParameterSpec params) throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
      Specified by:
      engineInit in class javax.crypto.MacSpi
      Throws:
      java.security.InvalidKeyException
      java.security.InvalidAlgorithmParameterException
    • engineReset

      protected void engineReset()
      Specified by:
      engineReset in class javax.crypto.MacSpi
    • engineUpdate

      protected void engineUpdate​(byte input)
      Specified by:
      engineUpdate in class javax.crypto.MacSpi
    • engineUpdate

      protected void engineUpdate​(byte[] input, int offset, int len)
      Specified by:
      engineUpdate in class javax.crypto.MacSpi
    • finalize

      protected void finalize() throws java.lang.Throwable
      Overrides:
      finalize in class java.lang.Object
      Throws:
      java.lang.Throwable