| Package | Description |
|---|---|
| org.apache.commons.crypto.cipher |
CryptoCipher classes
|
| org.apache.commons.crypto.jna |
JNA classes
|
| org.apache.commons.crypto.stream |
Stream classes
|
| org.apache.commons.crypto.utils |
Utils classes
|
| Modifier and Type | Method and Description |
|---|---|
static CryptoCipher |
CryptoCipherFactory.getCryptoCipher(String transformation)
Gets a cipher for algorithm/mode/padding in config value
commons.crypto.cipher.transformation
|
static CryptoCipher |
CryptoCipherFactory.getCryptoCipher(String transformation,
Properties properties)
Gets a cipher instance for specified algorithm/mode/padding.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends CryptoCipher> |
CryptoCipherFactory.CipherProvider.getImplClass()
Gets the implementation class of the provider.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends CryptoCipher> |
OpenSslJna.getCipherClass() |
| Modifier and Type | Method and Description |
|---|---|
protected CryptoCipher |
CryptoInputStream.getCipher()
Gets the internal CryptoCipher.
|
protected CryptoCipher |
CryptoOutputStream.getCipher()
Gets the internal Cipher.
|
| Constructor and Description |
|---|
CryptoInputStream(Input input,
CryptoCipher cipher,
int bufferSize,
Key key,
AlgorithmParameterSpec params)
Constructs a
CryptoInputStream. |
CryptoInputStream(InputStream inputStream,
CryptoCipher cipher,
int bufferSize,
Key key,
AlgorithmParameterSpec params)
Constructs a
CryptoInputStream. |
CryptoInputStream(ReadableByteChannel channel,
CryptoCipher cipher,
int bufferSize,
Key key,
AlgorithmParameterSpec params)
Constructs a
CryptoInputStream. |
CryptoOutputStream(Output output,
CryptoCipher cipher,
int bufferSize,
Key key,
AlgorithmParameterSpec params)
Constructs a
CryptoOutputStream. |
CryptoOutputStream(OutputStream outputStream,
CryptoCipher cipher,
int bufferSize,
Key key,
AlgorithmParameterSpec params)
Constructs a
CryptoOutputStream. |
CryptoOutputStream(WritableByteChannel channel,
CryptoCipher cipher,
int bufferSize,
Key key,
AlgorithmParameterSpec params)
Constructs a
CryptoOutputStream. |
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. |
CtrCryptoInputStream(InputStream inputStream,
CryptoCipher cipher,
int bufferSize,
byte[] key,
byte[] iv)
Constructs a
CtrCryptoInputStream. |
CtrCryptoInputStream(InputStream inputStream,
CryptoCipher cipher,
int bufferSize,
byte[] key,
byte[] iv,
long streamOffset)
Constructs a
CtrCryptoInputStream. |
CtrCryptoInputStream(ReadableByteChannel channel,
CryptoCipher cipher,
int bufferSize,
byte[] key,
byte[] iv)
Constructs a
CtrCryptoInputStream. |
CtrCryptoInputStream(ReadableByteChannel channel,
CryptoCipher cipher,
int bufferSize,
byte[] key,
byte[] iv,
long streamOffset)
Constructs a
CtrCryptoInputStream. |
CtrCryptoOutputStream(Output output,
CryptoCipher cipher,
int bufferSize,
byte[] key,
byte[] iv)
Constructs a
CtrCryptoOutputStream. |
CtrCryptoOutputStream(Output output,
CryptoCipher cipher,
int bufferSize,
byte[] key,
byte[] iv,
long streamOffset)
Constructs a
CtrCryptoOutputStream. |
CtrCryptoOutputStream(OutputStream out,
CryptoCipher cipher,
int bufferSize,
byte[] key,
byte[] iv)
Constructs a
CtrCryptoOutputStream. |
CtrCryptoOutputStream(OutputStream outputStream,
CryptoCipher cipher,
int bufferSize,
byte[] key,
byte[] iv,
long streamOffset)
Constructs a
CtrCryptoOutputStream. |
CtrCryptoOutputStream(WritableByteChannel channel,
CryptoCipher cipher,
int bufferSize,
byte[] key,
byte[] iv)
Constructs a
CtrCryptoOutputStream. |
CtrCryptoOutputStream(WritableByteChannel channel,
CryptoCipher cipher,
int bufferSize,
byte[] key,
byte[] iv,
long streamOffset)
Constructs a
CtrCryptoOutputStream. |
PositionedCryptoInputStream(Properties properties,
Input input,
CryptoCipher cipher,
int bufferSize,
byte[] key,
byte[] iv,
long streamOffset)
Constructs a
PositionedCryptoInputStream. |
| Modifier and Type | Method and Description |
|---|---|
static CryptoCipher |
Utils.getCipherInstance(String transformation,
Properties properties)
Helper method to create a CryptoCipher instance and throws only
IOException.
|
Copyright © 2016–2022 The Apache Software Foundation. All rights reserved.