Package | Description |
---|---|
org.apache.commons.crypto.stream |
Stream classes
|
org.apache.commons.crypto.stream.input |
Input classes
|
org.apache.commons.crypto.utils |
Utils classes
|
Modifier and Type | Method and Description |
---|---|
protected Input |
CryptoInputStream.getInput()
Gets the input.
|
Constructor and Description |
---|
CryptoInputStream(Input input,
CryptoCipher cipher,
int bufferSize,
Key key,
AlgorithmParameterSpec params)
Constructs a
CryptoInputStream . |
CtrCryptoInputStream(Input input,
CryptoCipher cipher,
int bufferSize,
byte[] key,
byte[] iv)
Constructs a
CtrCryptoInputStream . |
CtrCryptoInputStream(Input input,
CryptoCipher cipher,
int bufferSize,
byte[] key,
byte[] iv,
long streamOffset)
Constructs a
CtrCryptoInputStream . |
PositionedCryptoInputStream(Properties properties,
Input in,
byte[] key,
byte[] iv,
long streamOffset)
Constructs a
PositionedCryptoInputStream . |
PositionedCryptoInputStream(Properties properties,
Input input,
CryptoCipher cipher,
int bufferSize,
byte[] key,
byte[] iv,
long streamOffset)
Constructs a
PositionedCryptoInputStream . |
Modifier and Type | Class and Description |
---|---|
class |
ChannelInput
The ChannelInput class takes a
ReadableByteChannel object and
wraps it as Input object acceptable by
CryptoInputStream . |
class |
StreamInput
The StreamInput class takes a
InputStream object and wraps it as
Input object acceptable by CryptoInputStream . |
Modifier and Type | Method and Description |
---|---|
static void |
IoUtils.readFully(Input in,
long position,
byte[] buffer,
int offset,
int length)
Does the readFully based on Input's positioned read.
|
Copyright © 2016–2022 The Apache Software Foundation. All rights reserved.