Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- aadBuffer - Variable in class org.apache.commons.crypto.cipher.OpenSslGaloisCounterMode
- AbstractOpenSslFeedbackCipher - Class in org.apache.commons.crypto.cipher
-
This class represents a block cipher in one of its modes.
- AbstractOpenSslFeedbackCipher(long, int, int) - Constructor for class org.apache.commons.crypto.cipher.AbstractOpenSslFeedbackCipher
- AEAD_GET_TAG - Enum constant in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- AEAD_SET_IV_FIXED - Enum constant in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- AEAD_SET_IVLEN - Enum constant in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- AEAD_SET_TAG - Enum constant in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- AES - Class in org.apache.commons.crypto.utils
-
Creates AES objects
- AES() - Constructor for class org.apache.commons.crypto.utils.AES
- AES_BLOCK_SIZE - Static variable in class org.apache.commons.crypto.cipher.CryptoCipherFactory
-
For AES, the algorithm block is fixed size of 128 bits.
- AES_CBC - Enum constant in enum org.apache.commons.crypto.cipher.OpenSsl.AlgorithmMode
- AES_CBC - Enum constant in enum org.apache.commons.crypto.jna.OpenSslJnaCipher.AlgorithmMode
- AES_CTR - Enum constant in enum org.apache.commons.crypto.cipher.OpenSsl.AlgorithmMode
- AES_CTR - Enum constant in enum org.apache.commons.crypto.jna.OpenSslJnaCipher.AlgorithmMode
- AES_GCM - Enum constant in enum org.apache.commons.crypto.cipher.OpenSsl.AlgorithmMode
- algo - Variable in class org.apache.commons.crypto.jna.OpenSslJnaCipher
- algorithm - Variable in class org.apache.commons.crypto.utils.Transformation
- ALGORITHM - Static variable in class org.apache.commons.crypto.utils.AES
-
The AES algorithm name.
- algorithmMode - Variable in class org.apache.commons.crypto.cipher.AbstractOpenSslFeedbackCipher
- algorithmMode - Variable in class org.apache.commons.crypto.jna.OpenSslJnaCipher
- AlgorithmMode() - Constructor for enum org.apache.commons.crypto.cipher.OpenSsl.AlgorithmMode
- AlgorithmMode() - Constructor for enum org.apache.commons.crypto.jna.OpenSslJnaCipher.AlgorithmMode
- archMapping - Static variable in class org.apache.commons.crypto.OsInfo
- available() - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Overrides the
InputStream.available()
. - available() - Method in class org.apache.commons.crypto.stream.input.ChannelInput
-
Overrides the
Input.available()
. - available() - Method in interface org.apache.commons.crypto.stream.input.Input
-
Returns an estimate of the number of bytes that can be read (or skipped over) from this input without blocking by the next invocation of a method for this input stream.
- available() - Method in class org.apache.commons.crypto.stream.input.StreamInput
-
Overrides the
Input.available()
.
B
- buf - Variable in class org.apache.commons.crypto.stream.input.ChannelInput
- buf - Variable in class org.apache.commons.crypto.stream.input.StreamInput
- buf - Variable in class org.apache.commons.crypto.stream.output.StreamOutput
- buffer(InputStream) - Static method in class org.apache.commons.crypto.NativeCodeLoader
-
Returns the given InputStream if it is already a
BufferedInputStream
, otherwise creates a BufferedInputStream from the given InputStream. - bufferSize - Variable in class org.apache.commons.crypto.stream.CryptoInputStream
-
The buffer size.
- bufferSize - Variable in class org.apache.commons.crypto.stream.CryptoOutputStream
-
The buffer size.
- bufferSize - Variable in class org.apache.commons.crypto.stream.input.StreamInput
- bufferSize - Variable in class org.apache.commons.crypto.stream.output.StreamOutput
- byteBufferPool - Variable in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
DirectBuffer pool
C
- CACHE_CLASSES - Static variable in class org.apache.commons.crypto.utils.ReflectionUtils
- calculateIV(byte[], long, byte[]) - Static method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
This method is only for Counter (CTR) mode.
- CBC_NO_PADDING - Static variable in class org.apache.commons.crypto.utils.AES
-
Defines "AES/CBC/NoPadding".
- CBC_PKCS5_PADDING - Static variable in class org.apache.commons.crypto.utils.AES
-
Defines "AES/CBC/PKCS5Padding".
- CCM_SET_L - Enum constant in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- CCM_SET_MSGLEN - Enum constant in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- channel - Variable in class org.apache.commons.crypto.stream.input.ChannelInput
- channel - Variable in class org.apache.commons.crypto.stream.output.ChannelOutput
- ChannelInput - Class in org.apache.commons.crypto.stream.input
-
The ChannelInput class takes a
ReadableByteChannel
object and wraps it asInput
object acceptable byCryptoInputStream
. - ChannelInput(ReadableByteChannel) - Constructor for class org.apache.commons.crypto.stream.input.ChannelInput
-
Constructs the
ChannelInput
. - ChannelOutput - Class in org.apache.commons.crypto.stream.output
-
The ChannelOutput class takes a
WritableByteChannel
object and wraps it asOutput
object acceptable byCryptoOutputStream
as the output target. - ChannelOutput(WritableByteChannel) - Constructor for class org.apache.commons.crypto.stream.output.ChannelOutput
-
Constructs a
ChannelOutput
. - checkArgument(boolean) - Static method in class org.apache.commons.crypto.utils.Utils
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, Object) - Static method in class org.apache.commons.crypto.utils.Utils
-
Checks the truth of an expression.
- checkBufferSize(CryptoCipher, int) - Static method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Checks and floors buffer size.
- checkNative() - Static method in class org.apache.commons.crypto.random.OpenSslCryptoRandom
- checkNotNull(T) - Static method in class org.apache.commons.crypto.utils.Utils
-
Deprecated.
- checkState() - Method in class org.apache.commons.crypto.cipher.AbstractOpenSslFeedbackCipher
- checkState(boolean) - Static method in class org.apache.commons.crypto.utils.Utils
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String) - Static method in class org.apache.commons.crypto.utils.Utils
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkStream() - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Checks whether the stream is closed.
- checkStream() - Method in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Checks whether the stream is closed.
- checkStreamCipher(CryptoCipher) - Static method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Checks whether the cipher is supported streaming.
- cipher - Variable in class org.apache.commons.crypto.cipher.JceCipher
- cipher - Variable in class org.apache.commons.crypto.stream.CryptoInputStream
-
The CryptoCipher instance.
- cipher - Variable in class org.apache.commons.crypto.stream.CryptoOutputStream
-
the CryptoCipher instance
- cipherMode - Variable in class org.apache.commons.crypto.cipher.AbstractOpenSslFeedbackCipher
- CipherProvider(Class<? extends CryptoCipher>) - Constructor for enum org.apache.commons.crypto.cipher.CryptoCipherFactory.CipherProvider
-
The private constructor.
- cipherReset - Variable in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Flag to mark whether the cipher has been reset
- cipherReset - Variable in class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Flag to mark whether the cipher has been reset
- CipherState(CryptoCipher) - Constructor for class org.apache.commons.crypto.stream.PositionedCryptoInputStream.CipherState
-
Constructs a new instance.
- cipherStatePool - Variable in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
CryptoCipher pool
- CLASSES_DEFAULT - Static variable in class org.apache.commons.crypto.cipher.CryptoCipherFactory
-
The default value (OPENSSL,JCE) for crypto cipher.
- CLASSES_DEFAULT - Static variable in class org.apache.commons.crypto.random.CryptoRandomFactory
-
The default value (OPENSSL,JAVA) used when creating a
CryptoCipher
. - CLASSES_KEY - Static variable in class org.apache.commons.crypto.cipher.CryptoCipherFactory
-
The configuration key of the CryptoCipher implementation class.
- CLASSES_KEY - Static variable in class org.apache.commons.crypto.random.CryptoRandomFactory
-
The configuration key of the CryptoRandom implementation class.
- CLASSLOADER - Static variable in class org.apache.commons.crypto.utils.ReflectionUtils
- className - Variable in enum org.apache.commons.crypto.cipher.CryptoCipherFactory.CipherProvider
- className - Variable in enum org.apache.commons.crypto.random.CryptoRandomFactory.RandomProvider
- clean() - Method in class org.apache.commons.crypto.cipher.AbstractOpenSslFeedbackCipher
- clean() - Method in class org.apache.commons.crypto.cipher.OpenSsl
-
Forcibly clean the context.
- clean() - Method in class org.apache.commons.crypto.cipher.OpenSslGaloisCounterMode
- clean(long) - Static method in class org.apache.commons.crypto.cipher.OpenSslNative
-
Cleans the context at native.
- cleanByteBufferPool() - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
Cleans direct buffer pool
- cleanCipherStatePool() - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
Cleans direct buffer pool
- cleanup(Closeable...) - Static method in class org.apache.commons.crypto.utils.IoUtils
-
Closes the Closeable objects and ignore any
IOException
or null pointers. - close() - Method in class org.apache.commons.crypto.cipher.JceCipher
-
Closes Jce cipher.
- close() - Method in class org.apache.commons.crypto.cipher.OpenSslCipher
-
Closes the OpenSSL openSslEngine.
- close() - Method in class org.apache.commons.crypto.jna.OpenSslJnaCipher
-
Closes the OpenSSL cipher.
- close() - Method in class org.apache.commons.crypto.jna.OpenSslJnaCryptoRandom
-
Overrides
AutoCloseable.close()
. - close() - Method in class org.apache.commons.crypto.random.JavaCryptoRandom
-
Overrides
AutoCloseable.close()
. - close() - Method in class org.apache.commons.crypto.random.OpenSslCryptoRandom
-
Overrides
AutoCloseable.close()
. - close() - Method in class org.apache.commons.crypto.random.OsCryptoRandom
-
Overrides
AutoCloseable.close()
. - close() - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Overrides the
InputStream.close()
. - close() - Method in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Overrides the
OutputStream.close()
. - close() - Method in class org.apache.commons.crypto.stream.input.ChannelInput
-
Overrides the
Input.seek(long)
. - close() - Method in interface org.apache.commons.crypto.stream.input.Input
-
Closes this input and releases any system resources associated with the under layer input.
- close() - Method in class org.apache.commons.crypto.stream.input.StreamInput
-
Overrides the
Input.seek(long)
. - close() - Method in class org.apache.commons.crypto.stream.output.ChannelOutput
-
Overrides the
Output.close()
. - close() - Method in interface org.apache.commons.crypto.stream.output.Output
-
Closes this output and releases any system resources associated with the under layer output.
- close() - Method in class org.apache.commons.crypto.stream.output.StreamOutput
-
Overrides the
Output.close()
. - close() - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
Overrides the
CryptoInputStream.close()
. - closed - Variable in class org.apache.commons.crypto.stream.CryptoInputStream
-
Flag to mark whether the input stream is closed.
- closed - Variable in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Flag to mark whether the output stream is closed.
- closeQuietly(Closeable) - Static method in class org.apache.commons.crypto.utils.IoUtils
-
Closes the given
Closeable
quietly by ignoring IOException. - closeRdrandEngine(boolean) - Method in class org.apache.commons.crypto.jna.OpenSslJnaCryptoRandom
-
Closes the rdrand engine.
- ComponentPropertiesHolder() - Constructor for class org.apache.commons.crypto.Crypto.ComponentPropertiesHolder
- CONF_PREFIX - Static variable in class org.apache.commons.crypto.Crypto
-
The prefix of all crypto configuration keys.
- contentsEquals(InputStream, InputStream) - Static method in class org.apache.commons.crypto.NativeCodeLoader
-
Checks whether in1 and in2 is equal.
- context - Variable in class org.apache.commons.crypto.cipher.AbstractOpenSslFeedbackCipher
- context - Variable in class org.apache.commons.crypto.jna.OpenSslJnaCipher
- COPY - Enum constant in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- createDefaultProperties() - Static method in class org.apache.commons.crypto.utils.Utils.DefaultPropertiesHolder
-
Loads system properties when configuration file of the name
Utils.SYSTEM_PROPERTIES_FILE
is found. - Crypto - Class in org.apache.commons.crypto
-
Provides diagnostic information about Commons Crypto and keys for native class loading.
- Crypto() - Constructor for class org.apache.commons.crypto.Crypto
- Crypto.ComponentPropertiesHolder - Class in org.apache.commons.crypto
- cryptoCipher - Variable in class org.apache.commons.crypto.stream.PositionedCryptoInputStream.CipherState
- CryptoCipher - Interface in org.apache.commons.crypto.cipher
-
The interface of cryptographic cipher for encryption and decryption.
- CryptoCipherFactory - Class in org.apache.commons.crypto.cipher
-
Creates
CryptoCipher
instances. - CryptoCipherFactory() - Constructor for class org.apache.commons.crypto.cipher.CryptoCipherFactory
-
The private Constructor of
CryptoCipherFactory
. - CryptoCipherFactory.CipherProvider - Enum in org.apache.commons.crypto.cipher
-
Defines the internal CryptoCipher implementations.
- CryptoInputStream - Class in org.apache.commons.crypto.stream
-
CryptoInputStream reads input data and decrypts data in stream manner.
- CryptoInputStream(InputStream, CryptoCipher, int, Key, AlgorithmParameterSpec) - Constructor for class org.apache.commons.crypto.stream.CryptoInputStream
-
Constructs a
CryptoInputStream
. - CryptoInputStream(String, Properties, InputStream, Key, AlgorithmParameterSpec) - Constructor for class org.apache.commons.crypto.stream.CryptoInputStream
-
Constructs a
CryptoInputStream
. - CryptoInputStream(String, Properties, ReadableByteChannel, Key, AlgorithmParameterSpec) - Constructor for class org.apache.commons.crypto.stream.CryptoInputStream
-
Constructs a
CryptoInputStream
. - CryptoInputStream(ReadableByteChannel, CryptoCipher, int, Key, AlgorithmParameterSpec) - Constructor for class org.apache.commons.crypto.stream.CryptoInputStream
-
Constructs a
CryptoInputStream
. - CryptoInputStream(Input, CryptoCipher, int, Key, AlgorithmParameterSpec) - Constructor for class org.apache.commons.crypto.stream.CryptoInputStream
-
Constructs a
CryptoInputStream
. - CryptoOutputStream - Class in org.apache.commons.crypto.stream
-
CryptoOutputStream
encrypts data and writes to the under layer output. - CryptoOutputStream(OutputStream, CryptoCipher, int, Key, AlgorithmParameterSpec) - Constructor for class org.apache.commons.crypto.stream.CryptoOutputStream
-
Constructs a
CryptoOutputStream
. - CryptoOutputStream(String, Properties, OutputStream, Key, AlgorithmParameterSpec) - Constructor for class org.apache.commons.crypto.stream.CryptoOutputStream
-
Constructs a
CryptoOutputStream
. - CryptoOutputStream(String, Properties, WritableByteChannel, Key, AlgorithmParameterSpec) - Constructor for class org.apache.commons.crypto.stream.CryptoOutputStream
-
Constructs a
CryptoOutputStream
. - CryptoOutputStream(WritableByteChannel, CryptoCipher, int, Key, AlgorithmParameterSpec) - Constructor for class org.apache.commons.crypto.stream.CryptoOutputStream
-
Constructs a
CryptoOutputStream
. - CryptoOutputStream(Output, CryptoCipher, int, Key, AlgorithmParameterSpec) - Constructor for class org.apache.commons.crypto.stream.CryptoOutputStream
-
Constructs a
CryptoOutputStream
. - CryptoRandom - Interface in org.apache.commons.crypto.random
-
Generates random bytes.
- CryptoRandomFactory - Class in org.apache.commons.crypto.random
-
Creates
CryptoRandom
instances - CryptoRandomFactory() - Constructor for class org.apache.commons.crypto.random.CryptoRandomFactory
-
The private constructor of
CryptoRandomFactory
. - CryptoRandomFactory.RandomProvider - Enum in org.apache.commons.crypto.random
-
Defines the internal CryptoRandom implementations.
- CTR_NO_PADDING - Static variable in class org.apache.commons.crypto.utils.AES
-
Defines "AES/CTR/NoPadding".
- CtrCryptoInputStream - Class in org.apache.commons.crypto.stream
-
CtrCryptoInputStream decrypts data.
- CtrCryptoInputStream(InputStream, CryptoCipher, int, byte[], byte[]) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Constructs a
CtrCryptoInputStream
. - CtrCryptoInputStream(InputStream, CryptoCipher, int, byte[], byte[], long) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Constructs a
CtrCryptoInputStream
. - CtrCryptoInputStream(ReadableByteChannel, CryptoCipher, int, byte[], byte[]) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Constructs a
CtrCryptoInputStream
. - CtrCryptoInputStream(ReadableByteChannel, CryptoCipher, int, byte[], byte[], long) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Constructs a
CtrCryptoInputStream
. - CtrCryptoInputStream(Properties, InputStream, byte[], byte[]) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Constructs a
CtrCryptoInputStream
. - CtrCryptoInputStream(Properties, InputStream, byte[], byte[], long) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Constructs a
CtrCryptoInputStream
. - CtrCryptoInputStream(Properties, ReadableByteChannel, byte[], byte[]) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Constructs a
CtrCryptoInputStream
. - CtrCryptoInputStream(Properties, ReadableByteChannel, byte[], byte[], long) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Constructs a
CtrCryptoInputStream
. - CtrCryptoInputStream(Input, CryptoCipher, int, byte[], byte[]) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Constructs a
CtrCryptoInputStream
. - CtrCryptoInputStream(Input, CryptoCipher, int, byte[], byte[], long) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Constructs a
CtrCryptoInputStream
. - CtrCryptoOutputStream - Class in org.apache.commons.crypto.stream
-
CtrCryptoOutputStream encrypts data.
- CtrCryptoOutputStream(OutputStream, CryptoCipher, int, byte[], byte[]) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Constructs a
CtrCryptoOutputStream
. - CtrCryptoOutputStream(OutputStream, CryptoCipher, int, byte[], byte[], long) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Constructs a
CtrCryptoOutputStream
. - CtrCryptoOutputStream(WritableByteChannel, CryptoCipher, int, byte[], byte[]) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Constructs a
CtrCryptoOutputStream
. - CtrCryptoOutputStream(WritableByteChannel, CryptoCipher, int, byte[], byte[], long) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Constructs a
CtrCryptoOutputStream
. - CtrCryptoOutputStream(Properties, OutputStream, byte[], byte[]) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Constructs a
CtrCryptoOutputStream
. - CtrCryptoOutputStream(Properties, OutputStream, byte[], byte[], long) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Constructs a
CtrCryptoOutputStream
. - CtrCryptoOutputStream(Properties, WritableByteChannel, byte[], byte[]) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Constructs a
CtrCryptoOutputStream
. - CtrCryptoOutputStream(Properties, WritableByteChannel, byte[], byte[], long) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Constructs a
CtrCryptoOutputStream
. - CtrCryptoOutputStream(Output, CryptoCipher, int, byte[], byte[]) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Constructs a
CtrCryptoOutputStream
. - CtrCryptoOutputStream(Output, CryptoCipher, int, byte[], byte[], long) - Constructor for class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Constructs a
CtrCryptoOutputStream
. - ctrl(long, int, int, byte[]) - Static method in class org.apache.commons.crypto.cipher.OpenSslNative
-
Allows various cipher specific parameters to be determined and set.
D
- debug(Object, Object...) - Static method in class org.apache.commons.crypto.jna.OpenSslJna
-
Logs debug messages.
- debug(String, Object...) - Static method in class org.apache.commons.crypto.NativeCodeLoader
-
Logs debug messages.
- decrypt() - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Does the decryption using inBuffer as input and outBuffer as output.
- decrypt() - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Does the decryption using inBuffer as input and outBuffer as output.
- decrypt(long, byte[], int, int) - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
Decrypts length bytes in buffer starting at offset.
- decrypt(ByteBuffer, int, int) - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Decrypts all data in buf: total n bytes from given start position.
- decrypt(PositionedCryptoInputStream.CipherState, ByteBuffer, ByteBuffer, byte) - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
Does the decryption using inBuffer as input and outBuffer as output.
- DECRYPT_MODE - Static variable in class org.apache.commons.crypto.cipher.OpenSsl
- decryptBuffer(ByteBuffer) - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Does the decryption using out as output.
- decryptBuffer(PositionedCryptoInputStream.CipherState, ByteBuffer, ByteBuffer) - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
Does the decryption using inBuffer as input and outBuffer as output.
- decryptFinal() - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Does final of the cipher to end the decrypting stream.
- decryptInPlace(ByteBuffer) - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Does the decryption using inBuffer as input and buf as output.
- decryptMore() - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Decrypts more data by reading the under layer stream.
- decryptMore() - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Decrypts more data by reading the under layer stream.
- DEFAULT_PROPERTIES - Static variable in class org.apache.commons.crypto.utils.Utils.DefaultPropertiesHolder
- DEFAULT_TAG_LEN - Static variable in class org.apache.commons.crypto.cipher.OpenSslGaloisCounterMode
- DefaultPropertiesHolder() - Constructor for class org.apache.commons.crypto.utils.Utils.DefaultPropertiesHolder
- DEVICE_FILE_PATH_DEFAULT - Static variable in class org.apache.commons.crypto.random.CryptoRandomFactory
-
The default value ("/dev/urandom") of the file path for secure random device.
- DEVICE_FILE_PATH_KEY - Static variable in class org.apache.commons.crypto.random.CryptoRandomFactory
-
The configuration key of the file path for secure random device.
- DLLName() - Static method in class org.apache.commons.crypto.OpenSslInfoNative
-
Return the name used to load the dynamic linked library.
- DLLPath() - Static method in class org.apache.commons.crypto.OpenSslInfoNative
-
Return the path to the loaded dynamic linked library.
- doFinal(byte[], int, int, byte[], int) - Method in class org.apache.commons.crypto.cipher.AbstractOpenSslFeedbackCipher
- doFinal(byte[], int, int, byte[], int) - Method in interface org.apache.commons.crypto.cipher.CryptoCipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal(byte[], int, int, byte[], int) - Method in class org.apache.commons.crypto.cipher.JceCipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal(byte[], int, int, byte[], int) - Method in class org.apache.commons.crypto.cipher.OpenSsl
-
Finalizes to encrypt or decrypt data in a single-part operation, or finishes a multiple-part operation.
- doFinal(byte[], int, int, byte[], int) - Method in class org.apache.commons.crypto.cipher.OpenSslCipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal(byte[], int, int, byte[], int) - Method in class org.apache.commons.crypto.cipher.OpenSslCommonMode
- doFinal(byte[], int, int, byte[], int) - Method in class org.apache.commons.crypto.cipher.OpenSslGaloisCounterMode
- doFinal(byte[], int, int, byte[], int) - Method in class org.apache.commons.crypto.jna.OpenSslJnaCipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal(long, ByteBuffer, int, int) - Static method in class org.apache.commons.crypto.cipher.OpenSslNative
-
Finishes a multiple-part operation.
- doFinal(ByteBuffer, ByteBuffer) - Method in class org.apache.commons.crypto.cipher.AbstractOpenSslFeedbackCipher
- doFinal(ByteBuffer, ByteBuffer) - Method in interface org.apache.commons.crypto.cipher.CryptoCipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal(ByteBuffer, ByteBuffer) - Method in class org.apache.commons.crypto.cipher.JceCipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal(ByteBuffer, ByteBuffer) - Method in class org.apache.commons.crypto.cipher.OpenSsl
-
Finishes a multiple-part operation.
- doFinal(ByteBuffer, ByteBuffer) - Method in class org.apache.commons.crypto.cipher.OpenSslCipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal(ByteBuffer, ByteBuffer) - Method in class org.apache.commons.crypto.cipher.OpenSslCommonMode
- doFinal(ByteBuffer, ByteBuffer) - Method in class org.apache.commons.crypto.cipher.OpenSslGaloisCounterMode
- doFinal(ByteBuffer, ByteBuffer) - Method in class org.apache.commons.crypto.jna.OpenSslJnaCipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinalByteArray(long, byte[], int, int) - Static method in class org.apache.commons.crypto.cipher.OpenSslNative
-
Finishes a multiple-part operation.
E
- encrypt() - Method in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Does the encryption, input is
CryptoOutputStream.inBuffer
and output isCryptoOutputStream.outBuffer
. - encrypt() - Method in class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Does the encryption, input is
CryptoOutputStream.inBuffer
and output isCryptoOutputStream.outBuffer
. - ENCRYPT_MODE - Static variable in class org.apache.commons.crypto.cipher.OpenSsl
- encryptBuffer(ByteBuffer) - Method in class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Does the encryption if the ByteBuffer data.
- encryptFinal() - Method in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Does final encryption of the last data.
- encryptFinal() - Method in class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Does final encryption of the last data.
- ENGINE_by_id(String) - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Gets engine by id
- ENGINE_by_id(String) - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
-
Gets engine by id
- ENGINE_by_id(String) - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Gets engine by id.
- ENGINE_by_id(String) - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- ENGINE_cleanup() - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Cleanups before program exit, it will avoid memory leaks.
- ENGINE_cleanup() - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Cleanups before program exit, it will avoid memory leaks.
- ENGINE_cleanup() - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- ENGINE_finish(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Releases all functional references.
- ENGINE_finish(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
-
Releases all functional references.
- ENGINE_finish(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Releases all functional references.
- ENGINE_finish(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- ENGINE_free(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Frees the structural reference
- ENGINE_free(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
-
Frees the structural reference
- ENGINE_free(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Frees the structural reference
- ENGINE_free(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- ENGINE_init(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Obtains a functional reference from an existing structural reference.
- ENGINE_init(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
-
Obtains a functional reference from an existing structural reference.
- ENGINE_init(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Obtains a functional reference from an existing structural reference.
- ENGINE_init(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- ENGINE_load_rdrand() - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Initializes the engine.
- ENGINE_load_rdrand() - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- ENGINE_METHOD_RAND - Static variable in class org.apache.commons.crypto.jna.OpenSslJnaCryptoRandom
- ENGINE_set_default(PointerByReference, int) - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Sets the engine as the default for random number generation.
- ENGINE_set_default(PointerByReference, int) - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
-
Sets the engine as the default for random number generation.
- ENGINE_set_default(PointerByReference, int) - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Sets the engine as the default for random number generation.
- ENGINE_set_default(PointerByReference, int) - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- EOF - Static variable in class org.apache.commons.crypto.NativeCodeLoader
-
End of file pseudo-character.
- EOS - Static variable in class org.apache.commons.crypto.stream.CryptoInputStream
-
The index value when the end of the stream has been reached
-1
. - ERR_error_string(NativeLong, char[]) - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Generates a human-readable string representing the error code e.
- ERR_error_string(NativeLong, char[]) - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
-
Generates a human-readable string representing the error code e.
- ERR_error_string(NativeLong, char[]) - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Generates a human-readable string representing the error code e.
- ERR_error_string(NativeLong, char[]) - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- ERR_load_crypto_strings() - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Registers the error strings for all libcrypto functions.
- ERR_load_crypto_strings() - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Registers the error strings for all libcrypto functions.
- ERR_peek_error() - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- ERR_peek_error() - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- ERR_peek_error() - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- ERR_peek_error() - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- EVP_aes_128_cbc() - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- EVP_aes_128_cbc() - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- EVP_aes_128_cbc() - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- EVP_aes_128_cbc() - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- EVP_aes_128_ctr() - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- EVP_aes_128_ctr() - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- EVP_aes_128_ctr() - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- EVP_aes_128_ctr() - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- EVP_aes_192_cbc() - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- EVP_aes_192_cbc() - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- EVP_aes_192_cbc() - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- EVP_aes_192_cbc() - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- EVP_aes_192_ctr() - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- EVP_aes_192_ctr() - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- EVP_aes_192_ctr() - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- EVP_aes_192_ctr() - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- EVP_aes_256_cbc() - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- EVP_aes_256_cbc() - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- EVP_aes_256_cbc() - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- EVP_aes_256_cbc() - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- EVP_aes_256_ctr() - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- EVP_aes_256_ctr() - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- EVP_aes_256_ctr() - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- EVP_aes_256_ctr() - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- EVP_CIPHER_CTX_cleanup(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Clears all information from a cipher context and free up any allocated * memory associate with it.
- EVP_CIPHER_CTX_cleanup(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Clears all information from a cipher context and free up any allocated * memory associate with it.
- EVP_CIPHER_CTX_cleanup(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- EVP_CIPHER_CTX_free(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Clears all information from a cipher context and free up any allocated memory associate with it, including ctx itself.
- EVP_CIPHER_CTX_free(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
-
Clears all information from a cipher context and free up any allocated memory associate with it, including ctx itself.
- EVP_CIPHER_CTX_free(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Clears all information from a cipher context and free up any allocated memory associate with it, including ctx itself.
- EVP_CIPHER_CTX_free(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- EVP_CIPHER_CTX_init(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
EVP_CIPHER_CTX_init() remains as an alias for EVP_CIPHER_CTX_reset
- EVP_CIPHER_CTX_init(PointerByReference) - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
EVP_CIPHER_CTX_init() remains as an alias for EVP_CIPHER_CTX_reset.
- EVP_CIPHER_CTX_new() - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Creates a cipher context.
- EVP_CIPHER_CTX_new() - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
-
Creates a cipher context.
- EVP_CIPHER_CTX_new() - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Creates a cipher context.
- EVP_CIPHER_CTX_new() - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- EVP_CIPHER_CTX_set_padding(PointerByReference, int) - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Enables or disables padding
- EVP_CIPHER_CTX_set_padding(PointerByReference, int) - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
-
Enables or disables padding
- EVP_CIPHER_CTX_set_padding(PointerByReference, int) - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Enables or disables padding.
- EVP_CIPHER_CTX_set_padding(PointerByReference, int) - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- EVP_CipherFinal_ex(PointerByReference, ByteBuffer, int[]) - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Finishes a multiple-part operation.
- EVP_CipherFinal_ex(PointerByReference, ByteBuffer, int[]) - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
-
Finishes a multiple-part operation.
- EVP_CipherFinal_ex(PointerByReference, ByteBuffer, int[]) - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Finishes a multiple-part operation.
- EVP_CipherFinal_ex(PointerByReference, ByteBuffer, int[]) - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- EVP_CipherInit_ex(PointerByReference, PointerByReference, PointerByReference, byte[], byte[], int) - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Init a cipher.
- EVP_CipherInit_ex(PointerByReference, PointerByReference, PointerByReference, byte[], byte[], int) - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
-
Init a cipher.
- EVP_CipherInit_ex(PointerByReference, PointerByReference, PointerByReference, byte[], byte[], int) - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Init a cipher.
- EVP_CipherInit_ex(PointerByReference, PointerByReference, Object, byte[], byte[], int) - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- EVP_CipherUpdate(PointerByReference, ByteBuffer, int[], ByteBuffer, int) - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Continues a multiple-part encryption/decryption operation.
- EVP_CipherUpdate(PointerByReference, ByteBuffer, int[], ByteBuffer, int) - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
-
Continues a multiple-part encryption/decryption operation.
- EVP_CipherUpdate(PointerByReference, ByteBuffer, int[], ByteBuffer, int) - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Continues a multiple-part encryption/decryption operation.
- EVP_CipherUpdate(PointerByReference, ByteBuffer, int[], ByteBuffer, int) - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- evpCipherCtxCtrl(long, int, int, ByteBuffer) - Method in class org.apache.commons.crypto.cipher.OpenSslGaloisCounterMode
-
Wraps of OpenSslNative.ctrl(long context, int type, int arg, byte[] data) Since native interface EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) is generic, it may set/get any native char or long type to the data buffer(ptr).
- extractLibraryFile(String, String, String) - Static method in class org.apache.commons.crypto.NativeCodeLoader
-
Extracts the specified library file to the target folder.
F
- fillReservoir(int) - Method in class org.apache.commons.crypto.random.OsCryptoRandom
-
Fills the reservoir.
- finalDone - Variable in class org.apache.commons.crypto.stream.CryptoInputStream
-
Flag to mark whether do final of the cipher to end the decrypting stream.
- finalize() - Method in class org.apache.commons.crypto.cipher.OpenSsl
- finalize() - Method in class org.apache.commons.crypto.jna.OpenSslJnaCipher
- findNativeLibrary() - Static method in class org.apache.commons.crypto.NativeCodeLoader
-
Finds the native library.
- flush() - Method in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Overrides the
OutputStream.flush()
. - flush() - Method in class org.apache.commons.crypto.stream.output.ChannelOutput
-
Overrides the
Output.flush()
. - flush() - Method in interface org.apache.commons.crypto.stream.output.Output
-
Flushes this output and forces any buffered output bytes to be written out if the under layer output method support.
- flush() - Method in class org.apache.commons.crypto.stream.output.StreamOutput
-
Overrides the
Output.flush()
. - freeBuffers() - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Forcibly free the direct buffers.
- freeBuffers() - Method in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Forcibly free the direct buffers.
- freeDirectBuffer(ByteBuffer) - Static method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Forcibly free the direct buffer.
G
- GCM_IV_GEN - Enum constant in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- get(String) - Static method in enum org.apache.commons.crypto.utils.Padding
-
Gets a Padding.
- get(String, String) - Static method in enum org.apache.commons.crypto.cipher.OpenSsl.AlgorithmMode
-
Gets the mode.
- get(String, String) - Static method in enum org.apache.commons.crypto.jna.OpenSslJnaCipher.AlgorithmMode
-
Gets the AlgorithmMode instance.
- GET_RC2_KEY_BITS - Enum constant in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- GET_RC5_ROUNDS - Enum constant in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- getAlgorithm() - Method in interface org.apache.commons.crypto.cipher.CryptoCipher
-
Returns the algorithm name of this
CryptoCipher
object. - getAlgorithm() - Method in class org.apache.commons.crypto.cipher.JceCipher
-
Returns the algorithm name of this
CryptoCipher
object. - getAlgorithm() - Method in class org.apache.commons.crypto.cipher.OpenSslCipher
-
Returns the algorithm name of this
CryptoCipher
object. - getAlgorithm() - Method in class org.apache.commons.crypto.jna.OpenSslJnaCipher
- getAlgorithm() - Method in class org.apache.commons.crypto.utils.Transformation
-
Gets the algorithm.
- getArchName() - Static method in class org.apache.commons.crypto.OsInfo
-
Gets the architecture name.
- getBlockSize() - Method in interface org.apache.commons.crypto.cipher.CryptoCipher
-
Returns the block size (in bytes).
- getBlockSize() - Method in class org.apache.commons.crypto.cipher.JceCipher
-
Returns the block size (in bytes).
- getBlockSize() - Method in class org.apache.commons.crypto.cipher.OpenSslCipher
-
Returns the block size (in bytes).
- getBlockSize() - Method in class org.apache.commons.crypto.jna.OpenSslJnaCipher
- getBuffer() - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
Gets direct buffer from pool.
- getBufferSize() - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Gets the buffer size.
- getBufferSize() - Method in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Gets the buffer size.
- getBufferSize(Properties) - Static method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Reads crypto buffer size.
- getCipher() - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Gets the internal CryptoCipher.
- getCipher() - Method in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Gets the internal Cipher.
- getCipherClass() - Static method in class org.apache.commons.crypto.jna.OpenSslJna
- getCipherClassString(Properties) - Static method in class org.apache.commons.crypto.cipher.CryptoCipherFactory
-
Gets the cipher class.
- getCipherInstance(String, Properties) - Static method in class org.apache.commons.crypto.utils.Utils
-
Helper method to create a CryptoCipher instance and throws only IOException.
- getCipherState() - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
Gets CryptoCipher from pool.
- getClassByName(String) - Static method in class org.apache.commons.crypto.utils.ReflectionUtils
-
Loads a class by name.
- getClassByNameOrNull(String) - Static method in class org.apache.commons.crypto.utils.ReflectionUtils
-
Loads a class by name, returning null rather than throwing an exception if it couldn't be loaded.
- getClassName() - Method in enum org.apache.commons.crypto.cipher.CryptoCipherFactory.CipherProvider
-
Gets the class name of the provider.
- getClassName() - Method in enum org.apache.commons.crypto.random.CryptoRandomFactory.RandomProvider
-
Gets the class name of the provider.
- getComponentName() - Static method in class org.apache.commons.crypto.Crypto
-
Gets the component version of Apache Commons Crypto.
- getComponentProperties() - Static method in class org.apache.commons.crypto.Crypto.ComponentPropertiesHolder
-
Get component properties from component.properties.
- getComponentVersion() - Static method in class org.apache.commons.crypto.Crypto
-
Gets the component version of Apache Commons Crypto.
- getCounter(long) - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Gets the counter for input stream position.
- getCryptoCipher() - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream.CipherState
-
Gets the CryptoCipher instance.
- getCryptoCipher(String) - Static method in class org.apache.commons.crypto.cipher.CryptoCipherFactory
-
Gets a cipher for algorithm/mode/padding in config value commons.crypto.cipher.transformation
- getCryptoCipher(String, Properties) - Static method in class org.apache.commons.crypto.cipher.CryptoCipherFactory
-
Gets a cipher instance for specified algorithm/mode/padding.
- getCryptoRandom() - Static method in class org.apache.commons.crypto.random.CryptoRandomFactory
-
Gets a CryptoRandom instance using the default implementation as defined by
CryptoRandomFactory.CLASSES_DEFAULT
- getCryptoRandom(Properties) - Static method in class org.apache.commons.crypto.random.CryptoRandomFactory
-
Gets a CryptoRandom instance for specified props.
- getDefaultProperties() - Static method in class org.apache.commons.crypto.utils.Utils
-
Gets a properties instance that defaults to the System Properties plus any other properties found in the file
Utils.SYSTEM_PROPERTIES_FILE
- getImplClass() - Method in enum org.apache.commons.crypto.cipher.CryptoCipherFactory.CipherProvider
-
Gets the implementation class of the provider.
- getImplClass() - Method in enum org.apache.commons.crypto.random.CryptoRandomFactory.RandomProvider
-
Gets the implementation class of the provider.
- getInBuffer() - Method in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Gets the inBuffer.
- getInitIV() - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Gets the initialization vector.
- getInput() - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Gets the input.
- getInstance(String) - Static method in class org.apache.commons.crypto.cipher.OpenSsl
-
Gets an
OpenSslCipher
that implements the specified transformation. - getKey() - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Gets the key.
- getLoadingError() - Static method in class org.apache.commons.crypto.Crypto
-
The loading error throwable, if loading failed.
- getLoadingError() - Static method in class org.apache.commons.crypto.NativeCodeLoader
-
Gets the error cause if loading failed.
- getLoadingFailureReason() - Static method in class org.apache.commons.crypto.cipher.OpenSsl
-
Gets the failure reason when loading OpenSsl native.
- getMode() - Method in class org.apache.commons.crypto.utils.Transformation
-
Gets the mode.
- getNativeLibFolderPathForCurrentOS() - Static method in class org.apache.commons.crypto.OsInfo
-
Gets the native lib folder.
- getOSName() - Static method in class org.apache.commons.crypto.OsInfo
-
Gets the OS name.
- getOsNameProperty() - Static method in class org.apache.commons.crypto.OsInfo
- getOut() - Method in class org.apache.commons.crypto.stream.output.StreamOutput
-
Gets the output stream.
- getOutBuffer() - Method in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Gets the outBuffer.
- getPadding() - Method in class org.apache.commons.crypto.utils.Transformation
-
Gets the padding.
- getPadding(long) - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Gets the padding for input stream position.
- getParams() - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Gets the specification of cryptographic parameters.
- getProperties(Properties) - Static method in class org.apache.commons.crypto.utils.Utils
-
Gets the properties merged with default properties.
- getRandomClass() - Static method in class org.apache.commons.crypto.jna.OpenSslJna
- getRandomClassString(Properties) - Static method in class org.apache.commons.crypto.random.CryptoRandomFactory
-
Gets the CryptoRandom class.
- getSkipBuf() - Method in class org.apache.commons.crypto.stream.input.ChannelInput
-
Gets the skip buffer.
- getStreamOffset() - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Gets the offset of the stream.
- getStreamOffset() - Method in class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Get the underlying stream offset
- getStreamPosition() - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Gets the position of the stream.
- getTagLen() - Method in class org.apache.commons.crypto.cipher.OpenSslGaloisCounterMode
- getValue() - Method in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
H
- hasResource(String) - Static method in class org.apache.commons.crypto.NativeCodeLoader
-
Checks whether the given path has resource.
I
- IA64 - Static variable in class org.apache.commons.crypto.OsInfo
-
The constant string represents for IA64 architecture, the value is: "ia64".
- IA64_32 - Static variable in class org.apache.commons.crypto.OsInfo
-
The constant string represents for IA64_32 architecture, the value is: "ia64_32".
- in - Variable in class org.apache.commons.crypto.stream.input.StreamInput
- inBuffer - Variable in class org.apache.commons.crypto.cipher.OpenSslGaloisCounterMode
- inBuffer - Variable in class org.apache.commons.crypto.stream.CryptoInputStream
-
Input data buffer.
- inBuffer - Variable in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Input data buffer.
- info(String, Object...) - Static method in class org.apache.commons.crypto.Crypto
-
Logs info-level messages.
- info(String, Object...) - Static method in class org.apache.commons.crypto.jna.OpenSslJna
-
Logs info-level messages.
- init(int, byte[], AlgorithmParameterSpec) - Method in class org.apache.commons.crypto.cipher.AbstractOpenSslFeedbackCipher
- init(int, byte[], AlgorithmParameterSpec) - Method in class org.apache.commons.crypto.cipher.OpenSsl
-
Initializes this cipher with a key and IV.
- init(int, byte[], AlgorithmParameterSpec) - Method in class org.apache.commons.crypto.cipher.OpenSslCommonMode
- init(int, byte[], AlgorithmParameterSpec) - Method in class org.apache.commons.crypto.cipher.OpenSslGaloisCounterMode
- init(int, Key, AlgorithmParameterSpec) - Method in interface org.apache.commons.crypto.cipher.CryptoCipher
-
Initializes the cipher with mode, key and iv.
- init(int, Key, AlgorithmParameterSpec) - Method in class org.apache.commons.crypto.cipher.JceCipher
-
Initializes the cipher with mode, key and iv.
- init(int, Key, AlgorithmParameterSpec) - Method in class org.apache.commons.crypto.cipher.OpenSslCipher
-
Initializes the openSslEngine with mode, key and iv.
- init(int, Key, AlgorithmParameterSpec) - Method in class org.apache.commons.crypto.jna.OpenSslJnaCipher
-
Initializes the cipher with mode, key and iv.
- init(long, int, int, int, byte[], byte[]) - Static method in class org.apache.commons.crypto.cipher.OpenSslNative
-
Declares a native method to initialize the cipher context.
- INIT - Enum constant in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- INIT_ERROR - Static variable in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- INIT_ERROR - Static variable in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- INIT_ERROR - Static variable in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- INIT_ERROR - Static variable in class org.apache.commons.crypto.jna.OpenSslNativeJna
- INIT_OK - Static variable in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- INIT_OK - Static variable in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- INIT_OK - Static variable in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- INIT_OK - Static variable in class org.apache.commons.crypto.jna.OpenSslNativeJna
- initCipher() - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Initializes the cipher.
- initCipher() - Method in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Initializes the cipher.
- initCipher() - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Overrides the
CtrCryptoInputStream.initCipher()
. - initCipher() - Method in class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Overrides the
CryptoOutputStream.initCipher()
. - initContext(int, int) - Static method in class org.apache.commons.crypto.cipher.OpenSslNative
-
Declares a native method to initialize the cipher context.
- initException - Static variable in class org.apache.commons.crypto.random.OpenSslCryptoRandom
- initialisationError() - Static method in class org.apache.commons.crypto.jna.OpenSslJna
- initialized - Variable in class org.apache.commons.crypto.cipher.OpenSslCipher
- initIDs() - Static method in class org.apache.commons.crypto.cipher.OpenSslNative
-
Declares a native method to initialize JNI field and method IDs.
- initIV - Variable in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
The initial IV.
- initIV - Variable in class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
The initial IV.
- initSR() - Static method in class org.apache.commons.crypto.random.OpenSslCryptoRandomNative
-
Declares a native method to initialize SR.
- input - Variable in class org.apache.commons.crypto.stream.CryptoInputStream
-
The input data.
- Input - Interface in org.apache.commons.crypto.stream.input
-
The Input interface abstract the input source of
CryptoInputStream
so that different implementation of input can be used. - instance - Variable in class org.apache.commons.crypto.random.JavaCryptoRandom
- IoUtils - Class in org.apache.commons.crypto.utils
-
General utility methods for working with IO.
- IoUtils() - Constructor for class org.apache.commons.crypto.utils.IoUtils
-
The private constructor of
IoUtils
. - isDebug() - Static method in class org.apache.commons.crypto.NativeCodeLoader
- isEnabled() - Static method in class org.apache.commons.crypto.jna.OpenSslJna
- isNativeCodeEnabled() - Static method in class org.apache.commons.crypto.random.OpenSslCryptoRandom
-
Judges whether native library was successfully loaded and initialized.
- isNativeCodeLoaded() - Static method in class org.apache.commons.crypto.Crypto
-
Checks whether the native code has been successfully loaded for the platform.
- isNativeCodeLoaded() - Static method in class org.apache.commons.crypto.NativeCodeLoader
-
Checks whether native code is loaded for this platform.
- isOpen() - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Overrides the
Channel.isOpen()
. - isOpen() - Method in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Overrides the
Channel.isOpen()
. - isRdrandEnabled() - Method in class org.apache.commons.crypto.jna.OpenSslJnaCryptoRandom
-
Checks if rdrand engine is used to retrieve random bytes
- isReset() - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream.CipherState
-
Gets the reset.
- iv - Variable in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Initialization vector for the cipher.
- iv - Variable in class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Initialization vector for the cipher.
- IV_LENGTH - Variable in class org.apache.commons.crypto.jna.OpenSslJnaCipher
J
- JAVA - Enum constant in enum org.apache.commons.crypto.random.CryptoRandomFactory.RandomProvider
-
The SecureRandom implementation from the JVM
- JAVA_ALGORITHM_DEFAULT - Static variable in class org.apache.commons.crypto.random.CryptoRandomFactory
-
The default value ("SHA1PRNG") of the algorithm of secure random.
- JAVA_ALGORITHM_KEY - Static variable in class org.apache.commons.crypto.random.CryptoRandomFactory
-
The configuration key of the algorithm of secure random.
- JavaCryptoRandom - Class in org.apache.commons.crypto.random
-
A CryptoRandom of Java implementation.
- JavaCryptoRandom(Properties) - Constructor for class org.apache.commons.crypto.random.JavaCryptoRandom
-
Constructs a
JavaCryptoRandom
. - JCE - Enum constant in enum org.apache.commons.crypto.cipher.CryptoCipherFactory.CipherProvider
-
The JCE cipher implementation from the JVM
- JCE_PROVIDER_KEY - Static variable in class org.apache.commons.crypto.cipher.CryptoCipherFactory
-
The configuration key of the provider class for JCE cipher.
- JceCipher - Class in org.apache.commons.crypto.cipher
-
Implements the
CryptoCipher
using JCE provider. - JceCipher(Properties, String) - Constructor for class org.apache.commons.crypto.cipher.JceCipher
-
Constructs a
CryptoCipher
based on JCE CipherCipher
. - JnaImplementation - Static variable in class org.apache.commons.crypto.jna.OpenSslNativeJna
K
- key - Variable in class org.apache.commons.crypto.stream.CryptoInputStream
-
Crypto key for the cipher.
- key - Variable in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Crypto key for the cipher.
- KEY_DEBUG - Static variable in class org.apache.commons.crypto.jna.OpenSslJna
- klass - Variable in enum org.apache.commons.crypto.cipher.CryptoCipherFactory.CipherProvider
- klass - Variable in enum org.apache.commons.crypto.random.CryptoRandomFactory.RandomProvider
L
- LIB_NAME_KEY - Static variable in class org.apache.commons.crypto.Crypto
-
The configuration key of the file name for loading crypto library.
- LIB_PATH_KEY - Static variable in class org.apache.commons.crypto.Crypto
-
The configuration key of the path for loading crypto library.
- LIB_TEMPDIR_KEY - Static variable in class org.apache.commons.crypto.Crypto
-
The configuration key of temp directory for extracting crypto library.
- libraryLoaded - Static variable in class org.apache.commons.crypto.NativeCodeLoader
- libraryLoadingError - Static variable in class org.apache.commons.crypto.NativeCodeLoader
- libraryPath(String) - Static method in class org.apache.commons.crypto.utils.Utils
- loadingFailureReason - Static variable in class org.apache.commons.crypto.cipher.OpenSsl
- loadLibrary() - Static method in class org.apache.commons.crypto.NativeCodeLoader
-
Loads the library if possible.
M
- main(String[]) - Static method in class org.apache.commons.crypto.Crypto
-
The Main of Crypto.
- main(String[]) - Static method in class org.apache.commons.crypto.jna.OpenSslJna
- main(String[]) - Static method in class org.apache.commons.crypto.OsInfo
-
The main method.
- markSupported() - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Overrides the
InputStream.markSupported()
. - MIN_BUFFER_SIZE - Static variable in class org.apache.commons.crypto.stream.CryptoInputStream
- mode - Variable in class org.apache.commons.crypto.utils.Transformation
N
- NATIVE_LIBNAME - Static variable in class org.apache.commons.crypto.NativeCodeLoader
- NATIVE_LIBNAME_ALT - Static variable in class org.apache.commons.crypto.NativeCodeLoader
- NativeCodeLoader - Class in org.apache.commons.crypto
-
A helper to load the native code i.e.
- NativeCodeLoader() - Constructor for class org.apache.commons.crypto.NativeCodeLoader
-
The private constructor of
NativeCodeLoader
. - nativeEnabled - Static variable in class org.apache.commons.crypto.random.OpenSslCryptoRandom
- NativeName() - Static method in class org.apache.commons.crypto.OpenSslInfoNative
- NativeTimeStamp() - Static method in class org.apache.commons.crypto.OpenSslInfoNative
- NativeVersion() - Static method in class org.apache.commons.crypto.OpenSslInfoNative
- NEGATIVE_CACHE_SENTINEL - Static variable in class org.apache.commons.crypto.utils.ReflectionUtils
-
Sentinel value to store negative cache results in
ReflectionUtils.CACHE_CLASSES
. - NegativeCacheSentinel() - Constructor for class org.apache.commons.crypto.utils.ReflectionUtils.NegativeCacheSentinel
- newInstance(Class<T>, Object...) - Static method in class org.apache.commons.crypto.utils.ReflectionUtils
-
Uses the constructor represented by this
Constructor
object to create and initialize a new instance of the constructor's declaring class, with the specified initialization parameters. - newSecretKeySpec(byte[]) - Static method in class org.apache.commons.crypto.utils.AES
-
Creates a new SecretKeySpec for the given key and
AES.ALGORITHM
. - next(int) - Method in class org.apache.commons.crypto.random.JavaCryptoRandom
-
Overrides Random#next().
- nextBytes(byte[]) - Method in class org.apache.commons.crypto.jna.OpenSslJnaCryptoRandom
-
Generates a user-specified number of random bytes.
- nextBytes(byte[]) - Method in interface org.apache.commons.crypto.random.CryptoRandom
-
Generates random bytes and places them into a user-supplied byte array.
- nextBytes(byte[]) - Method in class org.apache.commons.crypto.random.JavaCryptoRandom
-
Overrides
CryptoRandom.nextBytes(byte[])
. - nextBytes(byte[]) - Method in class org.apache.commons.crypto.random.OpenSslCryptoRandom
-
Generates a user-specified number of random bytes.
- nextBytes(byte[]) - Method in class org.apache.commons.crypto.random.OsCryptoRandom
-
Overrides
CryptoRandom.nextBytes(byte[])
. - nextRandBytes(byte[]) - Static method in class org.apache.commons.crypto.random.OpenSslCryptoRandomNative
-
Judges whether use
OpenSslCryptoRandomNative
to generate the user-specified number of random bits. - NoPadding - Enum constant in enum org.apache.commons.crypto.utils.Padding
-
Don't change the order of this enum value.
O
- oneByteBuf - Variable in class org.apache.commons.crypto.stream.CryptoInputStream
- oneByteBuf - Variable in class org.apache.commons.crypto.stream.CryptoOutputStream
- OOSL_JNA_DECRYPT_MODE - Static variable in class org.apache.commons.crypto.jna.OpenSslNativeJna
- OOSL_JNA_ENCRYPT_MODE - Static variable in class org.apache.commons.crypto.jna.OpenSslNativeJna
- OpenSsl - Class in org.apache.commons.crypto.cipher
-
OpenSSL cryptographic wrapper using JNI.
- OpenSsl(long, int, int) - Constructor for class org.apache.commons.crypto.cipher.OpenSsl
-
Constructs a
OpenSsl
instance based on context, algorithm and padding. - OpenSSL() - Static method in class org.apache.commons.crypto.OpenSslInfoNative
- OPENSSL - Enum constant in enum org.apache.commons.crypto.cipher.CryptoCipherFactory.CipherProvider
-
The OpenSSL cipher implementation (using JNI)
- OPENSSL - Enum constant in enum org.apache.commons.crypto.random.CryptoRandomFactory.RandomProvider
-
The OpenSSL Random implementation (using JNI)
- OPENSSL_INIT_ENGINE_RDRAND - Static variable in class org.apache.commons.crypto.jna.OpenSslNativeJna
- OpenSSL_version(int) - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
-
Retrieves version/build information about OpenSSL library.
- OpenSsl.AlgorithmMode - Enum in org.apache.commons.crypto.cipher
-
Currently only support AES/CTR/NoPadding.
- OpenSsl10XNativeJna - Class in org.apache.commons.crypto.jna
- OpenSsl10XNativeJna() - Constructor for class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- OpenSsl11XNativeJna - Class in org.apache.commons.crypto.jna
- OpenSsl11XNativeJna() - Constructor for class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- OpenSsl20XNativeJna - Class in org.apache.commons.crypto.jna
- OpenSsl20XNativeJna() - Constructor for class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- opensslBlockCipher - Variable in class org.apache.commons.crypto.cipher.OpenSsl
- OpenSslCipher - Class in org.apache.commons.crypto.cipher
-
Implements the CryptoCipher using JNI into OpenSSL.
- OpenSslCipher(Properties, String) - Constructor for class org.apache.commons.crypto.cipher.OpenSslCipher
-
Constructs a
CryptoCipher
using JNI into OpenSSL - OpenSslCommonMode - Class in org.apache.commons.crypto.cipher
-
This class do the real work(Encryption/Decryption) for non-authenticated modes, such as CTR, CBC.
- OpenSslCommonMode(long, int, int) - Constructor for class org.apache.commons.crypto.cipher.OpenSslCommonMode
- OpenSslCryptoRandom - Class in org.apache.commons.crypto.random
-
OpenSSL secure random using JNI.
- OpenSslCryptoRandom(Properties) - Constructor for class org.apache.commons.crypto.random.OpenSslCryptoRandom
-
Constructs a
OpenSslCryptoRandom
. - OpenSslCryptoRandomNative - Class in org.apache.commons.crypto.random
-
JNI interface of
CryptoRandom
implementation for OpenSSL. - OpenSslCryptoRandomNative() - Constructor for class org.apache.commons.crypto.random.OpenSslCryptoRandomNative
-
The private constructor of
OpenSslCryptoRandomNative
. - openSslEngine - Variable in class org.apache.commons.crypto.cipher.OpenSslCipher
- OpenSslEvpCtrlValues - Enum in org.apache.commons.crypto.cipher
-
This enum is defined for OpenSslNative.ctrl() to allow various cipher specific parameters to be determined and set.
- OpenSslEvpCtrlValues(int) - Constructor for enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- OpenSslGaloisCounterMode - Class in org.apache.commons.crypto.cipher
-
This class do the real work(Encryption/Decryption/Authentication) for the authenticated mode: GCM.
- OpenSslGaloisCounterMode(long, int, int) - Constructor for class org.apache.commons.crypto.cipher.OpenSslGaloisCounterMode
- OpenSslInfoNative - Class in org.apache.commons.crypto
-
JNI interface of
CryptoRandom
implementation for OpenSSL. - OpenSslInfoNative() - Constructor for class org.apache.commons.crypto.OpenSslInfoNative
-
Makes the constructor private.
- OpenSslInterfaceNativeJna - Interface in org.apache.commons.crypto.jna
-
This interface defines the API for the native code.
- OpenSslJna - Class in org.apache.commons.crypto.jna
-
Provides access to package protected class objects and a
OpenSslJna.main(String[])
method that prints version information. - OpenSslJna() - Constructor for class org.apache.commons.crypto.jna.OpenSslJna
- OpenSslJnaCipher - Class in org.apache.commons.crypto.jna
-
Implements the CryptoCipher using JNA into OpenSSL.
- OpenSslJnaCipher(Properties, String) - Constructor for class org.apache.commons.crypto.jna.OpenSslJnaCipher
-
Constructs a
CryptoCipher
using JNA into OpenSSL - OpenSslJnaCipher.AlgorithmMode - Enum in org.apache.commons.crypto.jna
-
AlgorithmMode of JNA.
- OpenSslJnaCryptoRandom - Class in org.apache.commons.crypto.jna
-
OpenSSL secure random using JNA.
- OpenSslJnaCryptoRandom(Properties) - Constructor for class org.apache.commons.crypto.jna.OpenSslJnaCryptoRandom
-
Constructs a
OpenSslJnaCryptoRandom
. - OpenSslNative - Class in org.apache.commons.crypto.cipher
-
JNI implementation for OpenSSL 1.x called from
OpenSsl
. - OpenSslNative() - Constructor for class org.apache.commons.crypto.cipher.OpenSslNative
-
Hides this constructor from external access.
- OpenSslNativeJna - Class in org.apache.commons.crypto.jna
- OpenSslNativeJna() - Constructor for class org.apache.commons.crypto.jna.OpenSslNativeJna
- OpenSSLVersion(int) - Static method in class org.apache.commons.crypto.jna.OpenSslJna
-
Retrieves version/build information about OpenSSL library.
- OpenSSLVersion(int) - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- OpenSSLVersion(int) - Static method in class org.apache.commons.crypto.OpenSslInfoNative
-
Returns OpenSSL_version according the version type.
- org.apache.commons.crypto - package org.apache.commons.crypto
-
Crypto classes
- org.apache.commons.crypto.cipher - package org.apache.commons.crypto.cipher
-
CryptoCipher classes
- org.apache.commons.crypto.jna - package org.apache.commons.crypto.jna
-
JNA classes
- org.apache.commons.crypto.random - package org.apache.commons.crypto.random
-
Random classes
- org.apache.commons.crypto.stream - package org.apache.commons.crypto.stream
-
Stream classes
- org.apache.commons.crypto.stream.input - package org.apache.commons.crypto.stream.input
-
Input classes
- org.apache.commons.crypto.stream.output - package org.apache.commons.crypto.stream.output
-
Output classes
- org.apache.commons.crypto.utils - package org.apache.commons.crypto.utils
-
Utils classes
- OS - Enum constant in enum org.apache.commons.crypto.random.CryptoRandomFactory.RandomProvider
-
The OS random device implementation.
- OsCryptoRandom - Class in org.apache.commons.crypto.random
-
A Random implementation that uses random bytes sourced from the operating system.
- OsCryptoRandom(Properties) - Constructor for class org.apache.commons.crypto.random.OsCryptoRandom
-
Constructs a
OsCryptoRandom
. - OsInfo - Class in org.apache.commons.crypto
-
Provides OS name and architecture name.
- OsInfo() - Constructor for class org.apache.commons.crypto.OsInfo
-
The private constructor of
OsInfo
. - out - Variable in class org.apache.commons.crypto.stream.output.StreamOutput
- outBuffer - Variable in class org.apache.commons.crypto.stream.CryptoInputStream
-
The decrypted data buffer.
- outBuffer - Variable in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Encrypted data buffer.
- output - Variable in class org.apache.commons.crypto.stream.CryptoOutputStream
-
The output.
- Output - Interface in org.apache.commons.crypto.stream.output
-
The Output interface abstract the output target of
CryptoOutputStream
so that different implementation of output can be used.
P
- padding - Variable in class org.apache.commons.crypto.cipher.AbstractOpenSslFeedbackCipher
- padding - Variable in class org.apache.commons.crypto.jna.OpenSslJnaCipher
- padding - Variable in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Padding = pos%(algorithm blocksize); Padding is put into
CryptoInputStream.inBuffer
before any other data goes in. - padding - Variable in class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Padding = pos%(algorithm blocksize); Padding is put into
CryptoOutputStream.inBuffer
before any other data goes in. - padding - Variable in class org.apache.commons.crypto.utils.Transformation
- Padding - Enum in org.apache.commons.crypto.utils
-
Padding types.
- Padding() - Constructor for enum org.apache.commons.crypto.utils.Padding
- params - Variable in class org.apache.commons.crypto.stream.CryptoInputStream
-
the algorithm parameters
- params - Variable in class org.apache.commons.crypto.stream.CryptoOutputStream
-
the algorithm parameters
- parse(String) - Static method in class org.apache.commons.crypto.utils.Transformation
-
Parses a transformation.
- PBE_PRF_NID - Enum constant in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- PKCS5Padding - Enum constant in enum org.apache.commons.crypto.utils.Padding
-
Don't change the order of this enum value.
- pos - Variable in class org.apache.commons.crypto.random.OsCryptoRandom
- PositionedCryptoInputStream - Class in org.apache.commons.crypto.stream
-
PositionedCryptoInputStream provides the capability to decrypt the stream starting at random position as well as provides the foundation for positioned read for decrypting.
- PositionedCryptoInputStream(Properties, Input, byte[], byte[], long) - Constructor for class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
Constructs a
PositionedCryptoInputStream
. - PositionedCryptoInputStream(Properties, Input, CryptoCipher, int, byte[], byte[], long) - Constructor for class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
Constructs a
PositionedCryptoInputStream
. - PositionedCryptoInputStream.CipherState - Class in org.apache.commons.crypto.stream
- postDecryption(long) - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
This method is executed immediately after decryption.
- postDecryption(PositionedCryptoInputStream.CipherState, ByteBuffer, long, byte[]) - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
This method is executed immediately after decryption.
- PPC - Static variable in class org.apache.commons.crypto.OsInfo
-
The constant string represents for PPC architecture, the value is: "ppc".
- PPC64 - Static variable in class org.apache.commons.crypto.OsInfo
-
The constant string represents for PPC64 architecture, the value is: "ppc64".
- processAAD() - Method in class org.apache.commons.crypto.cipher.OpenSslGaloisCounterMode
- properties - Variable in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
properties for constructing a CryptoCipher
- PROPERTIES - Static variable in class org.apache.commons.crypto.Crypto.ComponentPropertiesHolder
Q
R
- RAND_bytes(ByteBuffer, int) - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Generates random data
- RAND_bytes(ByteBuffer, int) - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
-
Generates random data
- RAND_bytes(ByteBuffer, int) - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Generates random data.
- RAND_bytes(ByteBuffer, int) - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- RAND_get_rand_method() - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
OpenSSL uses for random number generation
- RAND_get_rand_method() - Static method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
-
OpenSSL uses for random number generation
- RAND_get_rand_method() - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
OpenSSL uses for random number generation.
- RAND_get_rand_method() - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- RAND_KEY - Enum constant in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- RAND_SSLeay() - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
OpenSSL uses for random number generation.
- RAND_SSLeay() - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
OpenSSL uses for random number generation.
- RAND_SSLeay() - Static method in class org.apache.commons.crypto.jna.OpenSslNativeJna
- RandomProvider(Class<? extends CryptoRandom>) - Constructor for enum org.apache.commons.crypto.random.CryptoRandomFactory.RandomProvider
-
The private constructor.
- rdrandEnabled - Variable in class org.apache.commons.crypto.jna.OpenSslJnaCryptoRandom
- rdrandEngine - Variable in class org.apache.commons.crypto.jna.OpenSslJnaCryptoRandom
- read() - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Overrides the
InputStream.read()
. - read(byte[], int, int) - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Overrides the
InputStream.read(byte[], int, int)
. - read(long, byte[], int, int) - Method in class org.apache.commons.crypto.stream.input.ChannelInput
-
Overrides the
Input.read(long, byte[], int, int)
. - read(long, byte[], int, int) - Method in interface org.apache.commons.crypto.stream.input.Input
-
Reads up to the specified number of bytes from a given position within a stream and return the number of bytes read.
- read(long, byte[], int, int) - Method in class org.apache.commons.crypto.stream.input.StreamInput
-
Overrides the
Input.read(long, byte[], int, int)
. - read(long, byte[], int, int) - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
Reads up to the specified number of bytes from a given position within a stream and return the number of bytes read.
- read(ByteBuffer) - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Overrides the
ReadableByteChannel.read(ByteBuffer)
. - read(ByteBuffer) - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Overrides the
CtrCryptoInputStream.read(ByteBuffer)
. - read(ByteBuffer) - Method in class org.apache.commons.crypto.stream.input.ChannelInput
-
Overrides the
Input.read(ByteBuffer)
. - read(ByteBuffer) - Method in interface org.apache.commons.crypto.stream.input.Input
-
Reads a sequence of bytes from input into the given buffer.
- read(ByteBuffer) - Method in class org.apache.commons.crypto.stream.input.StreamInput
-
Overrides the
Input.read(ByteBuffer)
. - readFully(long, byte[]) - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
Reads the specified number of bytes from a given position within a stream.
- readFully(long, byte[], int, int) - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
Reads the specified number of bytes from a given position within a stream.
- readFully(InputStream, byte[], int, int) - Static method in class org.apache.commons.crypto.utils.IoUtils
-
Does the readFully based on the Input read.
- readFully(Input, long, byte[], int, int) - Static method in class org.apache.commons.crypto.utils.IoUtils
-
Does the readFully based on Input's positioned read.
- ReflectionUtils - Class in org.apache.commons.crypto.utils
-
General utility methods for working with reflection.
- ReflectionUtils() - Constructor for class org.apache.commons.crypto.utils.ReflectionUtils
-
The private constructor of
ReflectionUtils
. - ReflectionUtils.NegativeCacheSentinel - Class in org.apache.commons.crypto.utils
-
A unique class which is used as a sentinel value in the caching for getClassByName.
- reservoir - Variable in class org.apache.commons.crypto.random.OsCryptoRandom
- RESERVOIR_LENGTH - Static variable in class org.apache.commons.crypto.random.OsCryptoRandom
- reset - Variable in class org.apache.commons.crypto.stream.PositionedCryptoInputStream.CipherState
- reset(boolean) - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream.CipherState
-
Sets the value of reset.
- resetCipher() - Method in class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Resets the
CryptoOutputStream.cipher
: calculate counter andCtrCryptoOutputStream.padding
. - resetCipher(long) - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Calculates the counter and iv, resets the cipher.
- resetCipher(PositionedCryptoInputStream.CipherState, long, byte[]) - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
Calculates the counter and iv, reset the cipher.
- resetStreamOffset(long) - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Resets the underlying stream offset; clear
CryptoInputStream.inBuffer
andCryptoInputStream.outBuffer
. - returnToPool(ByteBuffer) - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
Returns direct buffer to pool.
- returnToPool(PositionedCryptoInputStream.CipherState) - Method in class org.apache.commons.crypto.stream.PositionedCryptoInputStream
-
Returns CryptoCipher to pool.
S
- seek(long) - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Seeks the stream to a specific position relative to start of the under layer stream.
- seek(long) - Method in class org.apache.commons.crypto.stream.input.ChannelInput
-
Overrides the
Input.seek(long)
. - seek(long) - Method in interface org.apache.commons.crypto.stream.input.Input
-
Seeks to the given offset from the start of the stream.
- seek(long) - Method in class org.apache.commons.crypto.stream.input.StreamInput
-
Overrides the
Input.seek(long)
. - SET_KEY_LENGTH - Enum constant in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- SET_RC2_KEY_BITS - Enum constant in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- SET_RC5_ROUNDS - Enum constant in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- setStreamOffset(long) - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Sets the offset of stream.
- setStreamOffset(long) - Method in class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Set the underlying stream offset
- SIMPLE_NAME - Static variable in class org.apache.commons.crypto.NativeCodeLoader
- skip(long) - Method in class org.apache.commons.crypto.stream.CryptoInputStream
-
Overrides the
InputStream.skip(long)
. - skip(long) - Method in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Overrides the
CryptoInputStream.skip(long)
. - skip(long) - Method in class org.apache.commons.crypto.stream.input.ChannelInput
-
Overrides the
Input.skip(long)
. - skip(long) - Method in interface org.apache.commons.crypto.stream.input.Input
-
Skips over and discards
n
bytes of data from this input Theskip
method may, for a variety of reasons, end up skipping over some smaller number of bytes, possibly0
. - skip(long) - Method in class org.apache.commons.crypto.stream.input.StreamInput
-
Overrides the
Input.skip(long)
. - SKIP_BUFFER_SIZE - Static variable in class org.apache.commons.crypto.stream.input.ChannelInput
- splitClassNames(String, String) - Static method in class org.apache.commons.crypto.utils.Utils
-
Splits class names sequence into substrings, Trim each substring into an entry,and returns an list of the entries.
- SSLeay() - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- SSLeay() - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
TODO (does not appear to be used yet)
- SSLeay_version(int) - Static method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
-
Retrieves version/build information about OpenSSL library.
- SSLeay_version(int) - Static method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
-
Retrieves version/build information about OpenSSL library.
- stream - Variable in class org.apache.commons.crypto.random.OsCryptoRandom
- STREAM_BUFFER_SIZE_DEFAULT - Static variable in class org.apache.commons.crypto.stream.CryptoInputStream
-
The default value of the buffer size for stream.
- STREAM_BUFFER_SIZE_KEY - Static variable in class org.apache.commons.crypto.stream.CryptoInputStream
-
The configuration key of the buffer size for stream.
- StreamInput - Class in org.apache.commons.crypto.stream.input
-
The StreamInput class takes a
InputStream
object and wraps it asInput
object acceptable byCryptoInputStream
. - StreamInput(InputStream, int) - Constructor for class org.apache.commons.crypto.stream.input.StreamInput
-
Constructs a
StreamInput
. - streamOffset - Variable in class org.apache.commons.crypto.stream.CtrCryptoInputStream
-
Underlying stream offset
- streamOffset - Variable in class org.apache.commons.crypto.stream.CtrCryptoOutputStream
-
Underlying stream offset.
- StreamOutput - Class in org.apache.commons.crypto.stream.output
-
The StreamOutput class takes a
OutputStream
object and wraps it asOutput
object acceptable byCryptoOutputStream
as the output target. - StreamOutput(OutputStream, int) - Constructor for class org.apache.commons.crypto.stream.output.StreamOutput
-
Constructs a new instance.
- SYSTEM_PROPERTIES_FILE - Static variable in class org.apache.commons.crypto.utils.Utils
-
The file name of configuration file.
T
- T_DELIM_PARTS - Static variable in class org.apache.commons.crypto.utils.Transformation
- T_DELIM_REGEX - Static variable in class org.apache.commons.crypto.utils.Transformation
- tagBitLen - Variable in class org.apache.commons.crypto.cipher.OpenSslGaloisCounterMode
- throwOnError(int) - Method in class org.apache.commons.crypto.jna.OpenSslJnaCipher
- throwOnError(int, boolean) - Method in class org.apache.commons.crypto.jna.OpenSslJnaCryptoRandom
- transformation - Variable in class org.apache.commons.crypto.cipher.OpenSslCipher
- transformation - Variable in class org.apache.commons.crypto.jna.OpenSslJnaCipher
- Transformation - Class in org.apache.commons.crypto.utils
-
Transformation algorithm, mode and padding, in the format "Algorithm/Mode/Padding", for example "AES/CBC/NoPadding".
- Transformation(String, String, String) - Constructor for class org.apache.commons.crypto.utils.Transformation
-
Constructs a new instance.
- Transformation(String, String, Padding) - Constructor for class org.apache.commons.crypto.utils.Transformation
-
Constructs a new instance.
- translateArchNameToFolderName(String) - Static method in class org.apache.commons.crypto.OsInfo
-
Translates the architecture name to folder name.
- translateOSNameToFolderName(String) - Static method in class org.apache.commons.crypto.OsInfo
-
Translates the OS name to folder name.
U
- update(byte[], int, int, byte[], int) - Method in class org.apache.commons.crypto.cipher.AbstractOpenSslFeedbackCipher
- update(byte[], int, int, byte[], int) - Method in interface org.apache.commons.crypto.cipher.CryptoCipher
-
Continues a multiple-part encryption/decryption operation.
- update(byte[], int, int, byte[], int) - Method in class org.apache.commons.crypto.cipher.JceCipher
-
Continues a multiple-part encryption/decryption operation.
- update(byte[], int, int, byte[], int) - Method in class org.apache.commons.crypto.cipher.OpenSsl
-
Updates a multiple-part encryption/decryption operation.
- update(byte[], int, int, byte[], int) - Method in class org.apache.commons.crypto.cipher.OpenSslCipher
-
Continues a multiple-part encryption/decryption operation.
- update(byte[], int, int, byte[], int) - Method in class org.apache.commons.crypto.cipher.OpenSslCommonMode
- update(byte[], int, int, byte[], int) - Method in class org.apache.commons.crypto.cipher.OpenSslGaloisCounterMode
- update(byte[], int, int, byte[], int) - Method in class org.apache.commons.crypto.jna.OpenSslJnaCipher
-
Continues a multiple-part encryption/decryption operation.
- update(long, ByteBuffer, int, int, ByteBuffer, int, int) - Static method in class org.apache.commons.crypto.cipher.OpenSslNative
-
Continues a multiple-part encryption/decryption operation.
- update(ByteBuffer, ByteBuffer) - Method in class org.apache.commons.crypto.cipher.AbstractOpenSslFeedbackCipher
- update(ByteBuffer, ByteBuffer) - Method in interface org.apache.commons.crypto.cipher.CryptoCipher
-
Continues a multiple-part encryption/decryption operation.
- update(ByteBuffer, ByteBuffer) - Method in class org.apache.commons.crypto.cipher.JceCipher
-
Continues a multiple-part encryption/decryption operation.
- update(ByteBuffer, ByteBuffer) - Method in class org.apache.commons.crypto.cipher.OpenSsl
-
Updates a multiple-part encryption or decryption operation.
- update(ByteBuffer, ByteBuffer) - Method in class org.apache.commons.crypto.cipher.OpenSslCipher
-
Continues a multiple-part encryption/decryption operation.
- update(ByteBuffer, ByteBuffer) - Method in class org.apache.commons.crypto.cipher.OpenSslCommonMode
- update(ByteBuffer, ByteBuffer) - Method in class org.apache.commons.crypto.cipher.OpenSslGaloisCounterMode
- update(ByteBuffer, ByteBuffer) - Method in class org.apache.commons.crypto.jna.OpenSslJnaCipher
-
Continues a multiple-part encryption/decryption operation.
- updateAAD(byte[]) - Method in class org.apache.commons.crypto.cipher.AbstractOpenSslFeedbackCipher
- updateAAD(byte[]) - Method in interface org.apache.commons.crypto.cipher.CryptoCipher
-
Continues a multi-part update of the Additional Authentication Data (AAD).
- updateAAD(byte[]) - Method in class org.apache.commons.crypto.cipher.JceCipher
-
Continues a multi-part update of the Additional Authentication Data (AAD).
- updateAAD(byte[]) - Method in class org.apache.commons.crypto.cipher.OpenSsl
-
Continues a multi-part update of the Additional Authentication Data (AAD).
- updateAAD(byte[]) - Method in class org.apache.commons.crypto.cipher.OpenSslCipher
-
Continues a multi-part update of the Additional Authentication Data (AAD).
- updateAAD(byte[]) - Method in class org.apache.commons.crypto.cipher.OpenSslCommonMode
- updateAAD(byte[]) - Method in class org.apache.commons.crypto.cipher.OpenSslGaloisCounterMode
- updateAAD(byte[]) - Method in class org.apache.commons.crypto.jna.OpenSslJnaCipher
-
Continues a multi-part update of the Additional Authentication Data (AAD).
- updateAAD(ByteBuffer) - Method in interface org.apache.commons.crypto.cipher.CryptoCipher
-
Continues a multi-part update of the Additional Authentication Data (AAD).
- updateAAD(ByteBuffer) - Method in class org.apache.commons.crypto.cipher.JceCipher
-
Continues a multi-part update of the Additional Authentication Data (AAD).
- updateAAD(ByteBuffer) - Method in class org.apache.commons.crypto.cipher.OpenSslCipher
-
Continues a multi-part update of the Additional Authentication Data (AAD).
- updateAAD(ByteBuffer) - Method in class org.apache.commons.crypto.jna.OpenSslJnaCipher
-
Continues a multi-part update of the Additional Authentication Data (AAD).
- updateByteArray(long, byte[], int, int, byte[], int, int) - Static method in class org.apache.commons.crypto.cipher.OpenSslNative
-
Continues a multiple-part encryption/decryption operation.
- updateByteArrayByteBuffer(long, byte[], int, int, ByteBuffer, int, int) - Static method in class org.apache.commons.crypto.cipher.OpenSslNative
-
Continues a multiple-part encryption/decryption operation.
- Utils - Class in org.apache.commons.crypto.utils
-
General utility methods.
- Utils() - Constructor for class org.apache.commons.crypto.utils.Utils
-
The private constructor of
Utils
. - Utils.DefaultPropertiesHolder - Class in org.apache.commons.crypto.utils
V
- value - Variable in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
- valueOf(String) - Static method in enum org.apache.commons.crypto.cipher.CryptoCipherFactory.CipherProvider
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.crypto.cipher.OpenSsl.AlgorithmMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.crypto.jna.OpenSslJnaCipher.AlgorithmMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.crypto.random.CryptoRandomFactory.RandomProvider
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.crypto.utils.Padding
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.commons.crypto.cipher.CryptoCipherFactory.CipherProvider
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.crypto.cipher.OpenSsl.AlgorithmMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.crypto.cipher.OpenSslEvpCtrlValues
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.crypto.jna.OpenSslJnaCipher.AlgorithmMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.crypto.random.CryptoRandomFactory.RandomProvider
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.crypto.utils.Padding
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERSION - Static variable in class org.apache.commons.crypto.jna.OpenSslNativeJna
-
Full version from JNA call.
- VERSION_1_0_X - Static variable in class org.apache.commons.crypto.jna.OpenSslNativeJna
- VERSION_1_1_X - Static variable in class org.apache.commons.crypto.jna.OpenSslNativeJna
- VERSION_2_0_X - Static variable in class org.apache.commons.crypto.jna.OpenSslNativeJna
- VERSION_3_0_X - Static variable in class org.apache.commons.crypto.jna.OpenSslNativeJna
- VERSION_X_Y - Static variable in class org.apache.commons.crypto.jna.OpenSslNativeJna
-
Major Minor version from JNA call, without the maintenance level.
W
- write(byte[], int, int) - Method in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Overrides the
OutputStream.write(byte[], int, int)
. - write(int) - Method in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Overrides the
OutputStream.write(byte[])
. - write(ByteBuffer) - Method in class org.apache.commons.crypto.stream.CryptoOutputStream
-
Overrides the
WritableByteChannel.write(ByteBuffer)
. - write(ByteBuffer) - Method in class org.apache.commons.crypto.stream.output.ChannelOutput
-
Overrides the
Output.write(ByteBuffer)
. - write(ByteBuffer) - Method in interface org.apache.commons.crypto.stream.output.Output
-
Writes a sequence of bytes to this output from the given buffer.
- write(ByteBuffer) - Method in class org.apache.commons.crypto.stream.output.StreamOutput
-
Overrides the
Output.write(ByteBuffer)
.
X
- X86 - Static variable in class org.apache.commons.crypto.OsInfo
-
The constant string represents for X86 architecture, the value is: "x86".
- X86_64 - Static variable in class org.apache.commons.crypto.OsInfo
-
The constant string represents for X86_64 architecture, the value is: "x86_64".
_
- _ENGINE_by_id(String) - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _ENGINE_by_id(String) - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _ENGINE_by_id(String) - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _ENGINE_by_id(String) - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _ENGINE_cleanup() - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _ENGINE_cleanup() - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _ENGINE_cleanup() - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _ENGINE_cleanup() - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
-
TODO Appears to be deprecated as of OpenSSL 1.1.0.
- _ENGINE_finish(PointerByReference) - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _ENGINE_finish(PointerByReference) - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _ENGINE_finish(PointerByReference) - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _ENGINE_finish(PointerByReference) - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _ENGINE_free(PointerByReference) - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _ENGINE_free(PointerByReference) - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _ENGINE_free(PointerByReference) - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _ENGINE_free(PointerByReference) - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _ENGINE_init(PointerByReference) - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _ENGINE_init(PointerByReference) - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _ENGINE_init(PointerByReference) - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _ENGINE_init(PointerByReference) - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _ENGINE_load_rdrand() - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _ENGINE_load_rdrand() - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _ENGINE_load_rdrand() - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _ENGINE_load_rdrand() - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _ENGINE_set_default(PointerByReference, int) - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _ENGINE_set_default(PointerByReference, int) - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _ENGINE_set_default(PointerByReference, int) - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _ENGINE_set_default(PointerByReference, int) - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _ERR_error_string(NativeLong, char[]) - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _ERR_error_string(NativeLong, char[]) - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _ERR_error_string(NativeLong, char[]) - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _ERR_error_string(NativeLong, char[]) - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _ERR_peek_error() - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _ERR_peek_error() - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _ERR_peek_error() - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _ERR_peek_error() - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _EVP_aes_128_cbc() - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _EVP_aes_128_cbc() - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _EVP_aes_128_cbc() - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _EVP_aes_128_cbc() - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _EVP_aes_128_ctr() - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _EVP_aes_128_ctr() - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _EVP_aes_128_ctr() - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _EVP_aes_128_ctr() - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _EVP_aes_192_cbc() - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _EVP_aes_192_cbc() - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _EVP_aes_192_cbc() - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _EVP_aes_192_cbc() - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _EVP_aes_192_ctr() - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _EVP_aes_192_ctr() - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _EVP_aes_192_ctr() - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _EVP_aes_192_ctr() - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _EVP_aes_256_cbc() - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _EVP_aes_256_cbc() - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _EVP_aes_256_cbc() - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _EVP_aes_256_cbc() - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _EVP_aes_256_ctr() - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _EVP_aes_256_ctr() - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _EVP_aes_256_ctr() - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _EVP_aes_256_ctr() - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _EVP_CIPHER_CTX_cleanup(PointerByReference) - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _EVP_CIPHER_CTX_cleanup(PointerByReference) - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _EVP_CIPHER_CTX_cleanup(PointerByReference) - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _EVP_CIPHER_CTX_cleanup(PointerByReference) - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _EVP_CIPHER_CTX_free(PointerByReference) - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _EVP_CIPHER_CTX_free(PointerByReference) - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _EVP_CIPHER_CTX_free(PointerByReference) - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _EVP_CIPHER_CTX_free(PointerByReference) - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _EVP_CIPHER_CTX_new() - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _EVP_CIPHER_CTX_new() - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _EVP_CIPHER_CTX_new() - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _EVP_CIPHER_CTX_new() - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _EVP_CIPHER_CTX_set_padding(PointerByReference, int) - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _EVP_CIPHER_CTX_set_padding(PointerByReference, int) - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _EVP_CIPHER_CTX_set_padding(PointerByReference, int) - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _EVP_CIPHER_CTX_set_padding(PointerByReference, int) - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _EVP_CipherFinal_ex(PointerByReference, ByteBuffer, int[]) - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _EVP_CipherFinal_ex(PointerByReference, ByteBuffer, int[]) - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _EVP_CipherFinal_ex(PointerByReference, ByteBuffer, int[]) - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _EVP_CipherFinal_ex(PointerByReference, ByteBuffer, int[]) - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _EVP_CipherInit_ex(PointerByReference, PointerByReference, PointerByReference, byte[], byte[], int) - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _EVP_CipherInit_ex(PointerByReference, PointerByReference, PointerByReference, byte[], byte[], int) - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _EVP_CipherInit_ex(PointerByReference, PointerByReference, PointerByReference, byte[], byte[], int) - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _EVP_CipherInit_ex(PointerByReference, PointerByReference, PointerByReference, byte[], byte[], int) - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _EVP_CipherUpdate(PointerByReference, ByteBuffer, int[], ByteBuffer, int) - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _EVP_CipherUpdate(PointerByReference, ByteBuffer, int[], ByteBuffer, int) - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _EVP_CipherUpdate(PointerByReference, ByteBuffer, int[], ByteBuffer, int) - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _EVP_CipherUpdate(PointerByReference, ByteBuffer, int[], ByteBuffer, int) - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _INIT_ERROR() - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _INIT_ERROR() - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _INIT_ERROR() - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _INIT_ERROR() - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _INIT_OK() - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _INIT_OK() - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _INIT_OK() - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _INIT_OK() - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _OpenSSL_version(int) - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _OpenSSL_version(int) - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _OpenSSL_version(int) - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _OpenSSL_version(int) - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _RAND_bytes(ByteBuffer, int) - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _RAND_bytes(ByteBuffer, int) - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _RAND_bytes(ByteBuffer, int) - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _RAND_bytes(ByteBuffer, int) - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _RAND_get_rand_method() - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _RAND_get_rand_method() - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _RAND_get_rand_method() - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _RAND_get_rand_method() - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
- _RAND_SSLeay() - Method in class org.apache.commons.crypto.jna.OpenSsl10XNativeJna
- _RAND_SSLeay() - Method in class org.apache.commons.crypto.jna.OpenSsl11XNativeJna
- _RAND_SSLeay() - Method in class org.apache.commons.crypto.jna.OpenSsl20XNativeJna
- _RAND_SSLeay() - Method in interface org.apache.commons.crypto.jna.OpenSslInterfaceNativeJna
All Classes and Interfaces|All Packages|Constant Field Values
Objects.requireNonNull(Object)
.