Interface CryptoService

All Known Implementing Classes:
DefaultCryptoService

public interface CryptoService
An implementation of CryptoService that uses either supplied crypto Algorithms
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a CryptoAlgorithm Object which represents the requested crypto algorithm.
  • Method Details

    • getCryptoAlgorithm

      CryptoAlgorithm getCryptoAlgorithm(String algorithm) throws NoSuchAlgorithmException
      Returns a CryptoAlgorithm Object which represents the requested crypto algorithm.
      Parameters:
      algorithm - Name of the requested algorithm
      Returns:
      An Object representing the algorithm
      Throws:
      NoSuchAlgorithmException - Requested algorithm is not available