Interface CryptoServiceFactory<T>


  • public interface CryptoServiceFactory<T>
    CryptoService Factory to assist in fetching an instance of CryptoService which is capable of encrypting or decrypting bytes for a given key Ensure that KeyManagementService implementation is compatible with the same key type.
    • Method Detail

      • getCryptoService

        CryptoService<T> getCryptoService()
                                   throws java.security.GeneralSecurityException
        Instantiates and returns the CryptoService
        Returns:
        the CryptoService instantiated
        Throws:
        java.security.GeneralSecurityException - on any exception during instantiation