org.bouncycastle.crypto

## Interface MacDerivationFunction

- All Superinterfaces:
    DerivationFunction
  All Known Implementing Classes:
    KDFCounterBytesGenerator, KDFDoublePipelineIterationBytesGenerator, KDFFeedbackBytesGenerator

      public interface MacDerivationFunction
      extends DerivationFunction

  base interface for general purpose Mac based byte derivation functions.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Mac` | `getMac()` return the MAC used as the basis for the function

    - ### Methods inherited from interface org.bouncycastle.crypto.DerivationFunction

      `generateBytes, init`

- - ### Method Detail

    - #### getMac

          Mac getMac()

      return the MAC used as the basis for the function
      Returns:
        the Mac.