Package | Description |
---|---|
org.apache.hadoop.hbase.io.crypto |
Modifier and Type | Field and Description |
---|---|
static Encryption.Context |
Encryption.Context.NONE
The null crypto context
|
Modifier and Type | Method and Description |
---|---|
static Encryption.Context |
Encryption.newContext() |
static Encryption.Context |
Encryption.newContext(org.apache.hadoop.conf.Configuration conf) |
Encryption.Context |
Encryption.Context.setCipher(Cipher cipher) |
Encryption.Context |
Encryption.Context.setKey(byte[] key) |
Encryption.Context |
Encryption.Context.setKey(Key key) |
Modifier and Type | Method and Description |
---|---|
static void |
Encryption.decrypt(byte[] dest,
int destOffset,
InputStream in,
int destSize,
Encryption.Context context,
byte[] iv)
Decrypt a block of ciphertext from a stream given a context and IV
|
static void |
Encryption.decrypt(OutputStream out,
InputStream in,
int outLen,
Encryption.Context context,
byte[] iv)
Decrypt a stream of ciphertext given a context and IV
|
static void |
Encryption.encrypt(OutputStream out,
byte[] src,
int offset,
int length,
Encryption.Context context,
byte[] iv)
Encrypt a block of plaintext
|
static void |
Encryption.encrypt(OutputStream out,
InputStream in,
Encryption.Context context,
byte[] iv)
Encrypt a stream of plaintext given a context and IV
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.