org.apache.hadoop.hbase.io.crypto
Class Context
java.lang.Object
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.
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 © 2015 The Apache Software Foundation. All Rights Reserved.