org.apache.derby.impl.services.jce
Class JCECipherFactoryBuilder

java.lang.Object
  extended by org.apache.derby.impl.services.jce.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.


Constructor Summary
JCECipherFactoryBuilder()
           
 
Method Summary
 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

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.