Class GOST28147.AuthParameters

All Implemented Interfaces:
AuthenticationParameters<GOST28147.AuthParameters>, AuthenticationParametersWithIV<GOST28147.AuthParameters>, Parameters, ParametersWithIV<GOST28147.AuthParameters>
Enclosing class:
GOST28147

public static final class GOST28147.AuthParameters extends GeneralAuthParameters<GOST28147.AuthParameters>
Parameters for GOST28147 AEAD and MAC modes.
  • Constructor Details

    • AuthParameters

      public AuthParameters(GeneralAlgorithm algorithm, byte[] sBox)
      Base constructor - the algorithm, null IV. In this case the tag length defaults to the 64 for CMAC, 32 bits otherwise.
      Parameters:
      algorithm - algorithm mode.
      sBox - alternate sBox to use.
  • Method Details