Top Description Constructors Methods
org.apache.derby.impl.services.jce

public Class JCECipherFactoryBuilder

extends Object
implements CipherFactoryBuilder
Class Inheritance
All Implemented Interfaces
org.apache.derby.iapi.services.crypto.CipherFactoryBuilder
Imports
org.apache.derby.iapi.services.crypto.CipherFactory, .CipherFactoryBuilder, org.apache.derby.shared.common.error.StandardException, java.util.Properties

Cipher Factory instance builder. New instances of the cipher factory are created based on the on the user specified encryption properties.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public CipherFactory
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 should using the new attributes specified by the user.
newAttrs
)

Implements org.apache.derby.iapi.services.crypto.CipherFactoryBuilder.createCipherFactory.

Create an instance of the cipher factory.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

JCECipherFactoryBuilderback to summary
public JCECipherFactoryBuilder()

Method Detail

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

Implements org.apache.derby.iapi.services.crypto.CipherFactoryBuilder.createCipherFactory.

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 should using the new attributes specified by the user.

Returns:CipherFactory

Doc from org.apache.derby.iapi.services.crypto.CipherFactoryBuilder.createCipherFactory.

a cipher factory

Exceptions
StandardException:

Doc from org.apache.derby.iapi.services.crypto.CipherFactoryBuilder.createCipherFactory.

on error