Class JCECipherFactoryBuilder
java.lang.Object
org.apache.derby.impl.services.jce.JCECipherFactoryBuilder
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptioncreateCipherFactory
(boolean create, Properties props, boolean newAttrs) Create an instance of the cipher factory.
-
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 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
-