@InterfaceAudience.Public @InterfaceStability.Evolving public class Context extends Object implements org.apache.hadoop.conf.Configurable
Modifier and Type | Field and Description |
---|---|
private Cipher |
cipher |
private org.apache.hadoop.conf.Configuration |
conf |
private Key |
key |
private String |
keyHash |
Constructor and Description |
---|
Context() |
Context(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
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() |
private org.apache.hadoop.conf.Configuration conf
private Cipher cipher
private Key key
private String keyHash
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public Cipher getCipher()
public byte[] getKeyBytes()
public String getKeyBytesHash()
public String getKeyFormat()
public Key getKey()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.