org.apache.hadoop.hbase.io.crypto
Class Context

java.lang.Object
  extended by org.apache.hadoop.hbase.io.crypto.Context
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
Direct Known Subclasses:
Encryption.Context

@InterfaceAudience.Public
@InterfaceStability.Unstable
public class Context
extends Object
implements org.apache.hadoop.conf.Configurable

Crypto context. Encapsulates an encryption algorithm and its key material.


Method Summary
 Cipher getCipher()
           
 org.apache.hadoop.conf.Configuration getConf()
           
 Key getKey()
           
 byte[] getKeyBytes()
           
 String getKeyBytesHash()
           
 String getKeyFormat()
           
 Context setCipher(Cipher cipher)
           
 void setConf(org.apache.hadoop.conf.Configuration conf)
           
 Context setKey(Key key)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getConf

public org.apache.hadoop.conf.Configuration getConf()
Specified by:
getConf in interface org.apache.hadoop.conf.Configurable

setConf

public void setConf(org.apache.hadoop.conf.Configuration conf)
Specified by:
setConf in interface org.apache.hadoop.conf.Configurable

toString

public String toString()
Overrides:
toString in class Object

getCipher

public Cipher getCipher()

setCipher

public Context setCipher(Cipher cipher)

getKeyBytes

public byte[] getKeyBytes()

getKeyBytesHash

public String getKeyBytesHash()

getKeyFormat

public String getKeyFormat()

getKey

public Key getKey()

setKey

public Context setKey(Key key)


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