Interface EncryptionAlgorithm

All Superinterfaces:
Algorithm, JoseAlgorithm, KeyBasedAlgorithm
All Known Subinterfaces:
BlockEncryptionAlgorithm
All Known Implementing Classes:
AbstractEncryptionAlgorithm, BlockEncryptionAlgorithmImpl, SymmetricKeyWrapImpl

public interface EncryptionAlgorithm extends KeyBasedAlgorithm, JoseAlgorithm
Base interface for an encryption algorithm.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Method Details

    • getKeyLength

      int getKeyLength()
      Gets the key length in bits.
      Returns:
      the key length