Class BotanAeadCipher.AesEax

Enclosing class:
BotanAeadCipher

public static final class BotanAeadCipher.AesEax extends BotanAeadCipher
  • Constructor Details

    • AesEax

      public AesEax()
  • Method Details

    • getBotanCipherName

      protected String getBotanCipherName(int keySize)
      Description copied from class: BotanBaseAsymmetricCipher
      Gets the native botan cipher name (e.g. 'AES-128/CBC/PKCS7').
      Specified by:
      getBotanCipherName in class BotanBaseAsymmetricCipher
      Parameters:
      keySize - the key length
      Returns:
      String containing the Botan cipher name.
    • isValidNonceLength

      protected boolean isValidNonceLength(int nonceLength)
      Description copied from class: BotanBaseAsymmetricCipher
      Checks whether the given nonce size is supported.
      Overrides:
      isValidNonceLength in class BotanBlockCipher
      Parameters:
      nonceLength - the nonce length
      Returns:
      True is the given nonce length is supported, False otherwise.