Class OpenSSLMac

java.lang.Object
javax.crypto.MacSpi
org.conscrypt.OpenSSLMac
Direct Known Subclasses:
OpenSSLMac.AesCmac, OpenSSLMac.Hmac

@Internal public abstract class OpenSSLMac extends MacSpi
An implementation of Mac which uses BoringSSL to perform all the operations.
  • Field Details

    • size

      private final int size
      Holds the output size of the message digest.
    • singleByte

      private final byte[] singleByte
      Holds a dummy buffer for writing single bytes to the digest.
    • initialized

      protected boolean initialized
  • Constructor Details

    • OpenSSLMac

      private OpenSSLMac(int size)
  • Method Details