Example usage for org.apache.commons.crypto.cipher CryptoCipherFactory JCE_PROVIDER_KEY

List of usage examples for org.apache.commons.crypto.cipher CryptoCipherFactory JCE_PROVIDER_KEY

Introduction

In this page you can find the example usage for org.apache.commons.crypto.cipher CryptoCipherFactory JCE_PROVIDER_KEY.

Prototype

String JCE_PROVIDER_KEY

To view the source code for org.apache.commons.crypto.cipher CryptoCipherFactory JCE_PROVIDER_KEY.

Click Source Link

Document

The configuration key of the provider class for JCE cipher.

Usage

From source file:org.apache.hadoop.hbase.io.crypto.aes.CommonsCryptoAES.java

private static Properties readCryptoProps(Configuration conf) {
    Properties props = new Properties();

    props.setProperty(CryptoCipherFactory.CLASSES_KEY, conf.get(CIPHER_CLASSES_KEY, ""));
    props.setProperty(CryptoCipherFactory.JCE_PROVIDER_KEY, conf.get(CIPHER_JCE_PROVIDER_KEY, ""));

    return props;
}