Interface BlockEncryptionAlgorithm

All Superinterfaces:
AlgorithmDescriptor, KeyLengthSpecifiedAlgorithm, KeySpecifiedAlgorithm
All Known Implementing Classes:
BlockEncryptionAES128CBC, BlockEncryptionAES128GCM, BlockEncryptionAES192CBC, BlockEncryptionAES192GCM, BlockEncryptionAES256CBC, BlockEncryptionAES256GCM, BlockEncryptionDESede

public interface BlockEncryptionAlgorithm extends KeySpecifiedAlgorithm, KeyLengthSpecifiedAlgorithm
Interface for block encryption algorithm descriptors.
  • Method Details

    • getCipherMode

      @Nonnull @NotEmpty String getCipherMode()
      Get the JCA cipher mode specified by this algorithm.
      Returns:
      the cipher mode
    • getPadding

      @Nonnull @NotEmpty String getPadding()
      Get the JCA padding algorithm specified by this algorithm.
      Returns:
      the padding algorithm