@InterfaceAudience.Public @InterfaceStability.Evolving 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 |
Encryption.Context() |
private |
Encryption.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 Encryption.Context()
private Encryption.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–2019 The Apache Software Foundation. All rights reserved.