org.apache.hadoop.hbase.io.crypto
Interface CipherProvider

All Superinterfaces:
org.apache.hadoop.conf.Configurable
All Known Implementing Classes:
DefaultCipherProvider

@InterfaceAudience.Public
@InterfaceStability.Unstable
public interface CipherProvider
extends org.apache.hadoop.conf.Configurable

An CipherProvider contributes support for various cryptographic Ciphers.


Method Summary
 Cipher getCipher(String name)
          Get an Cipher
 String getName()
          Return the provider's name
 String[] getSupportedCiphers()
          Return the set of Ciphers supported by this provider
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Method Detail

getName

String getName()
Return the provider's name


getSupportedCiphers

String[] getSupportedCiphers()
Return the set of Ciphers supported by this provider


getCipher

Cipher getCipher(String name)
Get an Cipher

Parameters:
name - Cipher name, e.g. "AES"
Returns:
the appropriate Cipher


Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.