Class CryptoFactoryLoader


  • public class CryptoFactoryLoader
    extends Object
    • Constructor Detail

      • CryptoFactoryLoader

        public CryptoFactoryLoader()
    • Method Detail

      • getServiceForServer

        public static CryptoService getServiceForServer​(AccumuloConfiguration conf)
        For use by server utilities not associated with a table. Requires Instance, general and table configuration. Creates a new Factory from the configuration and gets the CryptoService from that Factory.
      • getServiceForClient

        public static CryptoService getServiceForClient​(CryptoEnvironment.Scope scope,
                                                        Map<String,​String> properties)
        Returns a CryptoService configured for the scope using the properties. This is used for client operations not associated with a table, either for r-files (TABLE scope) or WALs. The GenericCryptoServiceFactory is used for loading the CryptoService.