Package | Description |
---|---|
org.apache.hadoop.hbase.io.crypto | |
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
org.apache.hadoop.hbase.regionserver |
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
|
Modifier and Type | Field and Description |
---|---|
private Encryption.Context |
HFileContext.cryptoContext
Encryption algorithm and key used
|
private Encryption.Context |
HFileContextBuilder.cryptoContext
Crypto context
|
Modifier and Type | Method and Description |
---|---|
Encryption.Context |
HFileContext.getEncryptionContext() |
Modifier and Type | Method and Description |
---|---|
void |
HFileContext.setEncryptionContext(Encryption.Context cryptoContext) |
HFileContextBuilder |
HFileContextBuilder.withEncryptionContext(Encryption.Context cryptoContext) |
Constructor and Description |
---|
HFileContext(boolean useHBaseChecksum,
boolean includesMvcc,
boolean includesTags,
Compression.Algorithm compressAlgo,
boolean compressTags,
ChecksumType checksumType,
int bytesPerChecksum,
int blockSize,
DataBlockEncoding encoding,
Encryption.Context cryptoContext,
long fileCreateTime) |
Modifier and Type | Field and Description |
---|---|
private Encryption.Context |
HStore.cryptoContext |
Modifier and Type | Method and Description |
---|---|
private HFileContext |
HStore.createFileContext(Compression.Algorithm compression,
boolean includeMVCCReadpoint,
boolean includesTag,
Encryption.Context cryptoContext) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.