Class OpenSSLMac.AesCmac

Enclosing class:
OpenSSLMac

public static final class OpenSSLMac.AesCmac extends OpenSSLMac
  • Field Details

  • Constructor Details

    • AesCmac

      public AesCmac()
  • Method Details

    • initContext

      protected void initContext(byte[] keyBytes)
      Description copied from class: OpenSSLMac
      Creates and initializes the relevant BoringSSL *MAC context.
      Specified by:
      initContext in class OpenSSLMac
    • resetContext

      protected void resetContext()
      Description copied from class: OpenSSLMac
      Resets the context for a new operation with the same key.
      Specified by:
      resetContext in class OpenSSLMac
    • updateDirect

      protected void updateDirect(long ptr, int len)
      Description copied from class: OpenSSLMac
      Passes the contents of a direct ByteBuffer to the relevant BoringSSL *MAC function.
      Specified by:
      updateDirect in class OpenSSLMac
    • doFinal

      protected byte[] doFinal()
      Specified by:
      doFinal in class OpenSSLMac
    • engineUpdate

      protected void engineUpdate(byte[] input, int offset, int len)
      Specified by:
      engineUpdate in class MacSpi