Uses of Interface
org.apache.commons.crypto.cipher.CryptoCipher
-
Packages that use CryptoCipher Package Description org.apache.commons.crypto.cipher CryptoCipher classesorg.apache.commons.crypto.jna JNA classesorg.apache.commons.crypto.stream Stream classesorg.apache.commons.crypto.utils Utils classes -
-
Uses of CryptoCipher in org.apache.commons.crypto.cipher
Classes in org.apache.commons.crypto.cipher that implement CryptoCipher Modifier and Type Class Description (package private) class
JceCipher
Implements theCryptoCipher
using JCE provider.(package private) class
OpenSslCipher
Implements the CryptoCipher using JNI into OpenSSL.Fields in org.apache.commons.crypto.cipher with type parameters of type CryptoCipher Modifier and Type Field Description private java.lang.Class<? extends CryptoCipher>
CryptoCipherFactory.CipherProvider. klass
Methods in org.apache.commons.crypto.cipher that return CryptoCipher Modifier and Type Method Description static CryptoCipher
CryptoCipherFactory. getCryptoCipher(java.lang.String transformation)
Gets a cipher for algorithm/mode/padding in config value commons.crypto.cipher.transformationstatic CryptoCipher
CryptoCipherFactory. getCryptoCipher(java.lang.String transformation, java.util.Properties properties)
Gets a cipher instance for specified algorithm/mode/padding.Methods in org.apache.commons.crypto.cipher that return types with arguments of type CryptoCipher Modifier and Type Method Description java.lang.Class<? extends CryptoCipher>
CryptoCipherFactory.CipherProvider. getImplClass()
Gets the implementation class of the provider.Constructor parameters in org.apache.commons.crypto.cipher with type arguments of type CryptoCipher Constructor Description CipherProvider(java.lang.Class<? extends CryptoCipher> klass)
The private constructor. -
Uses of CryptoCipher in org.apache.commons.crypto.jna
Classes in org.apache.commons.crypto.jna that implement CryptoCipher Modifier and Type Class Description (package private) class
OpenSslJnaCipher
Implements the CryptoCipher using JNA into OpenSSL.Methods in org.apache.commons.crypto.jna that return types with arguments of type CryptoCipher Modifier and Type Method Description static java.lang.Class<? extends CryptoCipher>
OpenSslJna. getCipherClass()
-
Uses of CryptoCipher in org.apache.commons.crypto.stream
Fields in org.apache.commons.crypto.stream declared as CryptoCipher Modifier and Type Field Description (package private) CryptoCipher
CryptoInputStream. cipher
The CryptoCipher instance.(package private) CryptoCipher
CryptoOutputStream. cipher
the CryptoCipher instanceprivate CryptoCipher
PositionedCryptoInputStream.CipherState. cryptoCipher
Methods in org.apache.commons.crypto.stream that return CryptoCipher Modifier and Type Method Description protected CryptoCipher
CryptoInputStream. getCipher()
Gets the internal CryptoCipher.protected CryptoCipher
CryptoOutputStream. getCipher()
Gets the internal Cipher.CryptoCipher
PositionedCryptoInputStream.CipherState. getCryptoCipher()
Gets the CryptoCipher instance.Methods in org.apache.commons.crypto.stream with parameters of type CryptoCipher Modifier and Type Method Description (package private) static int
CryptoInputStream. checkBufferSize(CryptoCipher cipher, int bufferSize)
Checks and floors buffer size.(package private) static void
CryptoInputStream. checkStreamCipher(CryptoCipher cipher)
Checks whether the cipher is supported streaming.Constructors in org.apache.commons.crypto.stream with parameters of type CryptoCipher Constructor Description CipherState(CryptoCipher cryptoCipher)
Constructs a new instance.CryptoInputStream(java.io.InputStream inputStream, CryptoCipher cipher, int bufferSize, java.security.Key key, java.security.spec.AlgorithmParameterSpec params)
Constructs aCryptoInputStream
.CryptoInputStream(java.nio.channels.ReadableByteChannel channel, CryptoCipher cipher, int bufferSize, java.security.Key key, java.security.spec.AlgorithmParameterSpec params)
Constructs aCryptoInputStream
.CryptoInputStream(Input input, CryptoCipher cipher, int bufferSize, java.security.Key key, java.security.spec.AlgorithmParameterSpec params)
Constructs aCryptoInputStream
.CryptoOutputStream(java.io.OutputStream outputStream, CryptoCipher cipher, int bufferSize, java.security.Key key, java.security.spec.AlgorithmParameterSpec params)
Constructs aCryptoOutputStream
.CryptoOutputStream(java.nio.channels.WritableByteChannel channel, CryptoCipher cipher, int bufferSize, java.security.Key key, java.security.spec.AlgorithmParameterSpec params)
Constructs aCryptoOutputStream
.CryptoOutputStream(Output output, CryptoCipher cipher, int bufferSize, java.security.Key key, java.security.spec.AlgorithmParameterSpec params)
Constructs aCryptoOutputStream
.CtrCryptoInputStream(java.io.InputStream inputStream, CryptoCipher cipher, int bufferSize, byte[] key, byte[] iv)
Constructs aCtrCryptoInputStream
.CtrCryptoInputStream(java.io.InputStream inputStream, CryptoCipher cipher, int bufferSize, byte[] key, byte[] iv, long streamOffset)
Constructs aCtrCryptoInputStream
.CtrCryptoInputStream(java.nio.channels.ReadableByteChannel channel, CryptoCipher cipher, int bufferSize, byte[] key, byte[] iv)
Constructs aCtrCryptoInputStream
.CtrCryptoInputStream(java.nio.channels.ReadableByteChannel channel, CryptoCipher cipher, int bufferSize, byte[] key, byte[] iv, long streamOffset)
Constructs aCtrCryptoInputStream
.CtrCryptoInputStream(Input input, CryptoCipher cipher, int bufferSize, byte[] key, byte[] iv)
Constructs aCtrCryptoInputStream
.CtrCryptoInputStream(Input input, CryptoCipher cipher, int bufferSize, byte[] key, byte[] iv, long streamOffset)
Constructs aCtrCryptoInputStream
.CtrCryptoOutputStream(java.io.OutputStream out, CryptoCipher cipher, int bufferSize, byte[] key, byte[] iv)
Constructs aCtrCryptoOutputStream
.CtrCryptoOutputStream(java.io.OutputStream outputStream, CryptoCipher cipher, int bufferSize, byte[] key, byte[] iv, long streamOffset)
Constructs aCtrCryptoOutputStream
.CtrCryptoOutputStream(java.nio.channels.WritableByteChannel channel, CryptoCipher cipher, int bufferSize, byte[] key, byte[] iv)
Constructs aCtrCryptoOutputStream
.CtrCryptoOutputStream(java.nio.channels.WritableByteChannel channel, CryptoCipher cipher, int bufferSize, byte[] key, byte[] iv, long streamOffset)
Constructs aCtrCryptoOutputStream
.CtrCryptoOutputStream(Output output, CryptoCipher cipher, int bufferSize, byte[] key, byte[] iv)
Constructs aCtrCryptoOutputStream
.CtrCryptoOutputStream(Output output, CryptoCipher cipher, int bufferSize, byte[] key, byte[] iv, long streamOffset)
Constructs aCtrCryptoOutputStream
.PositionedCryptoInputStream(java.util.Properties properties, Input input, CryptoCipher cipher, int bufferSize, byte[] key, byte[] iv, long streamOffset)
Constructs aPositionedCryptoInputStream
. -
Uses of CryptoCipher in org.apache.commons.crypto.utils
Methods in org.apache.commons.crypto.utils that return CryptoCipher Modifier and Type Method Description static CryptoCipher
Utils. getCipherInstance(java.lang.String transformation, java.util.Properties properties)
Helper method to create a CryptoCipher instance and throws only IOException.
-