All Classes and Interfaces
Class
Description
This class represents a block cipher in one of its modes.
Creates AES objects
The ChannelInput class takes a
ReadableByteChannel
object and
wraps it as Input
object acceptable by
CryptoInputStream
.The ChannelOutput class takes a
WritableByteChannel
object and
wraps it as Output
object acceptable by
CryptoOutputStream
as the output target.Provides diagnostic information about Commons Crypto and keys for native
class loading.
The interface of cryptographic cipher for encryption and decryption.
Creates
CryptoCipher
instances.Defines the internal CryptoCipher implementations.
CryptoInputStream reads input data and decrypts data in stream manner.
CryptoOutputStream
encrypts data and writes to the under layer
output.Generates random bytes.
Creates
CryptoRandom
instancesDefines the internal CryptoRandom implementations.
CtrCryptoInputStream decrypts data.
CtrCryptoOutputStream encrypts data.
The Input interface abstract the input source of
CryptoInputStream
so that different implementation of input can
be used.General utility methods for working with IO.
A CryptoRandom of Java implementation.
Implements the
CryptoCipher
using JCE provider.A helper to load the native code i.e.
OpenSSL cryptographic wrapper using JNI.
Currently only support AES/CTR/NoPadding.
Implements the CryptoCipher using JNI into OpenSSL.
This class do the real work(Encryption/Decryption) for non-authenticated modes, such as CTR, CBC.
OpenSSL secure random using JNI.
JNI interface of
CryptoRandom
implementation for OpenSSL.This enum is defined for OpenSslNative.ctrl() to allow various cipher
specific parameters to be determined and set.
This class do the real work(Encryption/Decryption/Authentication) for the authenticated mode: GCM.
JNI interface of
CryptoRandom
implementation for OpenSSL.This interface defines the API for the native code.
Provides access to package protected class objects and a
OpenSslJna.main(String[])
method that prints version information.Implements the CryptoCipher using JNA into OpenSSL.
AlgorithmMode of JNA.
OpenSSL secure random using JNA.
JNI implementation for OpenSSL 1.x called from
OpenSsl
.A Random implementation that uses random bytes sourced from the operating system.
Provides OS name and architecture name.
The Output interface abstract the output target of
CryptoOutputStream
so that different implementation of output
can be used.Padding types.
PositionedCryptoInputStream provides the capability to decrypt the stream
starting at random position as well as provides the foundation for positioned
read for decrypting.
General utility methods for working with reflection.
A unique class which is used as a sentinel value in the caching for
getClassByName.
The StreamInput class takes a
InputStream
object and wraps it as
Input
object acceptable by CryptoInputStream
.The StreamOutput class takes a
OutputStream
object and wraps it
as Output
object acceptable by CryptoOutputStream
as the output target.Transformation algorithm, mode and padding, in the format "Algorithm/Mode/Padding", for example "AES/CBC/NoPadding".
General utility methods.