Class JCECipherFactoryBuilder

java.lang.Object
org.apache.derby.impl.services.jce.JCECipherFactoryBuilder
All Implemented Interfaces:
CipherFactoryBuilder

public class JCECipherFactoryBuilder extends Object implements CipherFactoryBuilder
Cipher Factory instance builder. New instances of the cipher factory are created based on the on the user specified encryption properties.
  • Constructor Details

    • JCECipherFactoryBuilder

      public JCECipherFactoryBuilder()
  • Method Details

    • createCipherFactory

      public CipherFactory createCipherFactory(boolean create, Properties props, boolean newAttrs) throws StandardException
      Create an instance of the cipher factory.
      Specified by:
      createCipherFactory in interface CipherFactoryBuilder
      Parameters:
      create - true, if the database is getting configured for encryption.
      props - encryption properties/attributes to use for creating the cipher factory.
      newAttrs - true, if cipher factory has to be created using should using the new attributes specified by the user.
      Throws:
      StandardException