Class JCECipherFactoryBuilder

  • All Implemented Interfaces:
    CipherFactoryBuilder

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CipherFactory createCipherFactory​(boolean create, java.util.Properties props, boolean newAttrs)
      Create an instance of the cipher factory.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JCECipherFactoryBuilder

        public JCECipherFactoryBuilder()
    • Method Detail

      • createCipherFactory

        public CipherFactory createCipherFactory​(boolean create,
                                                 java.util.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