Class JCECipherFactoryBuilder
- java.lang.Object
-
- 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
Constructors Constructor Description JCECipherFactoryBuilder()
-
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.
-
-
-
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 interfaceCipherFactoryBuilder
- 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
-
-