apache > db
Apache DB Project
 
Font size:      

encryptionProvider=providerName

encryptionProvider=providerName

Function

Specifies the provider for data encryption. (For information about data encryption, see "Encrypting Databases on Disk" in the Derby Developer's Guide.)

If this attribute is not specified, the default encryption provider is com.sun.crypto.provider.SunJCE.

Combining with Other Attributes

Must be combined with create=true, bootPassword=key, and dataEncryption=true. You have the option of also specifying encryptionAlgorithm=algorithm.

Example

jdbc:derby:encryptedDB;create=true;dataEncryption=true;
    encryptionProvider=com.sun.crypto.provider.SunJCE;
    encryptionAlgorithm=DESede/CBC/NoPadding;
    bootPassword=cLo4u922sc23aPe


Previous Page
Next Page
Table of Contents
Index