Bouncy Castle Encryption

Applies to: Denodo 6.0 , Denodo 5.5 , Denodo 5.0
Last modified on: 23 Mar 2016
Tags: Administration Security

Download document

Goal

This document describes how to configure Bouncy Castle encryption algorithms in the Denodo Platform.

Content

The libraries for Bouncy Castle algorithm are already included in the <DENODO_HOME>/lib/contrib folder, so they do not need to include them as third party extensions.

To use a Bouncy Castle algorithm for encryption/decryption (e.g in a custom function) follow these steps:

  1. The encryption algorithm has to be supported by the provider and the additional provider has to be registered as part of the Denodo Platform JRE.
  2. To register the provider add the Bouncy Castle provider in the java.security file located under the <DENODO_HOME>/jre/lib/security folder.
  3. Add a new line:


security.provider.<n>=org.bouncycastle.jce.provider.BouncyCastleProvider

        Where <n> is the preference for the provider (1 being the most prefered).

  1. Restart the Virtual DataPort server after modifying the configuration.

References

Denodo XtraFuncs - User Manual: ENCRYPTION section.

Bouncy Castle installation guide, in "5.0 Bouncy Castle Provider" section.

Questions

Ask a question
You must sign in to ask a question. If you do not have an account, you can register here

Featured content

DENODO TRAINING

Ready for more? Great! We offer a comprehensive set of training courses, taught by our technical instructors in small, private groups for getting a full, in-depth guided training in the usage of the Denodo Platform. Check out our training courses.

Training