| Package | Description |
|---|---|
| org.apache.hadoop.crypto | |
| org.apache.hadoop.fs.crypto |
| Modifier and Type | Class | Description |
|---|---|---|
class |
JceAesCtrCryptoCodec |
Implement the AES-CTR crypto codec using JCE provider.
|
class |
JceCtrCryptoCodec |
|
class |
JceSm4CtrCryptoCodec |
Implement the SM4-CTR crypto codec using JCE provider.
|
class |
OpensslAesCtrCryptoCodec |
Implement the AES-CTR crypto codec using JNI into OpenSSL.
|
class |
OpensslCtrCryptoCodec |
|
class |
OpensslSm4CtrCryptoCodec |
Implement the SM4-CTR crypto codec using JNI into OpenSSL.
|
| Modifier and Type | Method | Description |
|---|---|---|
static CryptoCodec |
CryptoCodec.getInstance(Configuration conf) |
Get crypto codec for algorithm/mode/padding in config value
hadoop.security.crypto.cipher.suite
|
static CryptoCodec |
CryptoCodec.getInstance(Configuration conf,
CipherSuite cipherSuite) |
Get crypto codec for specified algorithm/mode/padding.
|
| Modifier and Type | Method | Description |
|---|---|---|
static int |
CryptoStreamUtils.checkBufferSize(CryptoCodec codec,
int bufferSize) |
Check and floor buffer size.
|
static void |
CryptoStreamUtils.checkCodec(CryptoCodec codec) |
AES/CTR/NoPadding or SM4/CTR/NoPadding is required.
|
| Constructor | Description |
|---|---|
CryptoInputStream(java.io.InputStream in,
CryptoCodec codec,
byte[] key,
byte[] iv) |
|
CryptoInputStream(java.io.InputStream in,
CryptoCodec codec,
int bufferSize,
byte[] key,
byte[] iv) |
|
CryptoInputStream(java.io.InputStream in,
CryptoCodec codec,
int bufferSize,
byte[] key,
byte[] iv,
long streamOffset) |
|
CryptoOutputStream(java.io.OutputStream out,
CryptoCodec codec,
byte[] key,
byte[] iv) |
|
CryptoOutputStream(java.io.OutputStream out,
CryptoCodec codec,
byte[] key,
byte[] iv,
long streamOffset) |
|
CryptoOutputStream(java.io.OutputStream out,
CryptoCodec codec,
byte[] key,
byte[] iv,
long streamOffset,
boolean closeOutputStream) |
|
CryptoOutputStream(java.io.OutputStream out,
CryptoCodec codec,
int bufferSize,
byte[] key,
byte[] iv) |
|
CryptoOutputStream(java.io.OutputStream out,
CryptoCodec codec,
int bufferSize,
byte[] key,
byte[] iv,
long streamOffset) |
|
CryptoOutputStream(java.io.OutputStream out,
CryptoCodec codec,
int bufferSize,
byte[] key,
byte[] iv,
long streamOffset,
boolean closeOutputStream) |
| Constructor | Description |
|---|---|
CryptoFSDataInputStream(FSDataInputStream in,
CryptoCodec codec,
byte[] key,
byte[] iv) |
|
CryptoFSDataInputStream(FSDataInputStream in,
CryptoCodec codec,
int bufferSize,
byte[] key,
byte[] iv) |
|
CryptoFSDataOutputStream(FSDataOutputStream out,
CryptoCodec codec,
byte[] key,
byte[] iv) |
|
CryptoFSDataOutputStream(FSDataOutputStream out,
CryptoCodec codec,
int bufferSize,
byte[] key,
byte[] iv) |
|
CryptoFSDataOutputStream(FSDataOutputStream out,
CryptoCodec codec,
int bufferSize,
byte[] key,
byte[] iv,
boolean closeOutputStream) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.