@InterfaceAudience.Public public static class Encryption.Context extends Context
Modifier and Type | Field and Description |
---|---|
static Encryption.Context |
NONE
The null crypto context
|
Modifier | Constructor and Description |
---|---|
private |
Context() |
private |
Context(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
Encryption.Context |
setCipher(Cipher cipher) |
Encryption.Context |
setKey(byte[] key) |
Encryption.Context |
setKey(Key key) |
getCipher, getConf, getKey, getKeyBytes, getKeyBytesHash, getKeyFormat, setConf, toString
public static final Encryption.Context NONE
private Context()
private Context(org.apache.hadoop.conf.Configuration conf)
public Encryption.Context setCipher(Cipher cipher)
public Encryption.Context setKey(Key key)
public Encryption.Context setKey(byte[] key)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.