Module crypt.api

Interface Algorithm

All Known Implementing Classes:
AesAlgorithm, AlgorithmParameterGeneratorAlgorithm, AlgorithmParametersAlgorithm, CertPathBuilderAlgorithm, CertPathValidatorAlgorithm, ChecksumAlgorithm, CipherAlgorithm, CompoundAlgorithm, HashAlgorithm, KeyAgreementAlgorithm, KeyFactoryAlgorithm, KeyGeneratorAlgorithm, KeyManagerFactoryAlgorithm, KeyPairGeneratorAlgorithm, KeyPairWithModeAndPaddingAlgorithm, MacAlgorithm, MdAlgorithm, MessageDigestAlgorithm, SecretKeyFactoryAlgorithm, SecureRandomAlgorithm, SunJCEAlgorithm

public interface Algorithm
The interface Algorithm is for enums that represents an algorithm for encryption or decryption
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The Constant UNKNOWN_ALGORITHM_NAME is if the algorithm name is unknown
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the algorithm for encryption or decryption
  • Field Details

    • UNKNOWN_ALGORITHM_NAME

      static final String UNKNOWN_ALGORITHM_NAME
      The Constant UNKNOWN_ALGORITHM_NAME is if the algorithm name is unknown
      See Also:
  • Method Details

    • getAlgorithm

      String getAlgorithm()
      Gets the algorithm for encryption or decryption
      Returns:
      the algorithm