程序包 | 说明 |
---|---|
org.apache.hadoop.hbase.io.crypto | |
org.apache.hadoop.hbase.io.hfile |
限定符和类型 | 字段和说明 |
---|---|
static Encryption.Context |
Encryption.Context.NONE
The null crypto context
|
限定符和类型 | 方法和说明 |
---|---|
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) |
限定符和类型 | 方法和说明 |
---|---|
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
|
限定符和类型 | 方法和说明 |
---|---|
Encryption.Context |
HFileContext.getEncryptionContext() |
限定符和类型 | 方法和说明 |
---|---|
void |
HFileContext.setEncryptionContext(Encryption.Context cryptoContext) |
HFileContextBuilder |
HFileContextBuilder.withEncryptionContext(Encryption.Context cryptoContext) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.