Top Methods
org.apache.derby.iapi.services.crypto

public Interface CipherFactoryBuilder

Known Direct Implementers
org.apache.derby.impl.services.jce.JCECipherFactoryBuilder
Imports
org.apache.derby.shared.common.error.StandardException, java.util.Properties

Method Summary

Modifier and TypeMethod and Description
public CipherFactory

Returns:

a cipher factory
createCipherFactory
(boolean
true, if the database is getting configured for encryption.
create
,
Properties
encryption properties/attributes to use for creating the cipher factory.
props
,
boolean
true, if cipher factory has to be created using the new attributes specified by the user.
newAttrs
)

Create an instance of the cipher factory.

Method Detail

createCipherFactoryback to summary
public CipherFactory createCipherFactory(boolean create, Properties props, boolean newAttrs) throws StandardException

Create an instance of the cipher factory.

Parameters
create:boolean

true, if the database is getting configured for encryption.

props:Properties

encryption properties/attributes to use for creating the cipher factory.

newAttrs:boolean

true, if cipher factory has to be created using the new attributes specified by the user.

Returns:CipherFactory

a cipher factory

Exceptions
StandardException:
on error