Specifying an alternate encryption provider

You can specify an alternate provider when you create the database with the encryptionProvider=providerName attribute.

You must specify the full package and class name of the provider, and you must also add the libraries to the application's classpath.

-- using the the provider library bcprov-jdk15on-147.jar
-- available from www.bouncycastle.org
jdbc:derby:encryptedDB3;create=true;dataEncryption=true;
bootPassword=clo760uds2caPe;
encryptionProvider=org.bouncycastle.jce.provider.BouncyCastleProvider;
encryptionAlgorithm=DES/CBC/NoPadding

-- using a provider available from
-- http://jce.iaik.tugraz.at/sic/Download
jdbc:derby:encryptedDB3;create=true;dataEncryption=true;
bootPassword=clo760uds2caPe;
encryptionProvider=iaik.security.provider.IAIK;
encryptionAlgorithm=DES/CBC/NoPadding
Related concepts
Encrypting databases on creation
Specifying an alternate encryption algorithm