Interface CipherFactory

All Known Implementing Classes:
DHE, RSA

public interface CipherFactory
Cipher Factory Layout Class
  • Method Details

    • newCipher

      Pair<Cipher,String> newCipher(String handle)
      Get a cipher by name
      Parameters:
      handle - Cipher name
      Returns:
      Cipher/Token pair
    • getCipher

      Cipher getCipher(String handle, String key)
      Get a cipher by name
      Parameters:
      handle - Cipher name
      key - Token
      Returns:
      Cipher