Dependencies
Declarations
-
org
-
apache
-
commons
-
crypto
-
Crypto
-
NativeCodeLoader
-
OpenSslInfoNative
-
OsInfo
-
cipher
-
CryptoCipher
-
getBlockSize(): int
-
getAlgorithm(): String
-
init(int, Key, AlgorithmParameterSpec): void
-
update(ByteBuffer, ByteBuffer): int
-
update(byte[], int, int, byte[], int): int
-
doFinal(ByteBuffer, ByteBuffer): int
-
doFinal(byte[], int, int, byte[], int): int
-
updateAAD(byte[]): void
-
updateAAD(ByteBuffer): void
-
CryptoCipherFactory
-
JceCipher
-
cipher: Cipher
-
JceCipher(Properties, String): void
-
getBlockSize(): int
-
getAlgorithm(): String
-
init(int, Key, AlgorithmParameterSpec): void
-
update(ByteBuffer, ByteBuffer): int
-
update(byte[], int, int, byte[], int): int
-
doFinal(ByteBuffer, ByteBuffer): int
-
doFinal(byte[], int, int, byte[], int): int
-
updateAAD(byte[]): void
-
updateAAD(ByteBuffer): void
-
close(): void
-
OpenSsl
-
ENCRYPT_MODE: int
-
DECRYPT_MODE: int
-
opensslBlockCipher: OpenSslFeedbackCipher
-
AlgorithmMode
-
Padding
-
loadingFailureReason: Throwable
-
static class initializer
-
getLoadingFailureReason(): Throwable
-
OpenSsl(long, int, int): void
-
getInstance(String): OpenSsl
-
Transform
-
tokenizeTransformation(String): Transform
-
init(int, byte[], AlgorithmParameterSpec): void
-
update(ByteBuffer, ByteBuffer): int
-
update(byte[], int, int, byte[], int): int
-
doFinal(byte[], int, int, byte[], int): int
-
doFinal(ByteBuffer, ByteBuffer): int
-
updateAAD(byte[]): void
-
clean(): void
-
finalize(): void
-
OpenSslCipher
-
initialized: boolean
-
transformation: String
-
openSslEngine: OpenSsl
-
OpenSslCipher(Properties, String): void
-
getBlockSize(): int
-
getAlgorithm(): String
-
init(int, Key, AlgorithmParameterSpec): void
-
update(ByteBuffer, ByteBuffer): int
-
update(byte[], int, int, byte[], int): int
-
doFinal(ByteBuffer, ByteBuffer): int
-
doFinal(byte[], int, int, byte[], int): int
-
updateAAD(byte[]): void
-
updateAAD(ByteBuffer): void
-
close(): void
-
OpenSslCommonMode
-
OpenSslCommonMode(long, int, int): void
-
init(int, byte[], AlgorithmParameterSpec): void
-
update(ByteBuffer, ByteBuffer): int
-
update(byte[], int, int, byte[], int): int
-
doFinal(byte[], int, int, byte[], int): int
-
doFinal(ByteBuffer, ByteBuffer): int
-
updateAAD(byte[]): void
-
OpenSslEvpCtrlValues
-
OpenSslFeedbackCipher
-
context: long
-
algorithmMode: int
-
padding: int
-
cipherMode: int
-
OpenSslFeedbackCipher(long, int, int): void
-
init(int, byte[], AlgorithmParameterSpec): void
-
update(ByteBuffer, ByteBuffer): int
-
update(byte[], int, int, byte[], int): int
-
doFinal(byte[], int, int, byte[], int): int
-
doFinal(ByteBuffer, ByteBuffer): int
-
updateAAD(byte[]): void
-
clean(): void
-
checkState(): void
-
OpenSslGaloisCounterMode
-
aadBuffer: ByteArrayOutputStream
-
tagBitLen: int
-
DEFAULT_TAG_LEN: int
-
inBuffer: ByteArrayOutputStream
-
OpenSslGaloisCounterMode(long, int, int): void
-
init(int, byte[], AlgorithmParameterSpec): void
-
update(ByteBuffer, ByteBuffer): int
-
update(byte[], int, int, byte[], int): int
-
doFinal(byte[], int, int, byte[], int): int
-
doFinal(ByteBuffer, ByteBuffer): int
-
clean(): void
-
updateAAD(byte[]): void
-
processAAD(): void
-
getTagLen(): int
-
evpCipherCtxCtrl(long, int, int, ByteBuffer): void
-
OpenSslNative
-
OpenSslNative(): void
-
initIDs(): void
-
initContext(int, int): long
-
init(long, int, int, int, byte[], byte[]): long
-
update(long, ByteBuffer, int, int, ByteBuffer, int, int): int
-
updateByteArray(long, byte[], int, int, byte[], int, int): int
-
updateByteArrayByteBuffer(long, byte[], int, int, ByteBuffer, int, int): int
-
doFinal(long, ByteBuffer, int, int): int
-
doFinalByteArray(long, byte[], int, int): int
-
ctrl(long, int, int, byte[]): int
-
clean(long): void
-
jna
-
OpenSsl10XNativeJna
-
INIT_OK: boolean
-
INIT_ERROR: Throwable
-
static class initializer
-
SSLeay(): NativeLong
-
SSLeay_version(int): String
-
ERR_load_crypto_strings(): void
-
ERR_peek_error(): NativeLong
-
ERR_error_string(NativeLong, char[]): String
-
EVP_CIPHER_CTX_new(): PointerByReference
-
EVP_CIPHER_CTX_init(PointerByReference): void
-
EVP_CIPHER_CTX_set_padding(PointerByReference, int): int
-
EVP_aes_128_cbc(): PointerByReference
-
EVP_aes_128_ctr(): PointerByReference
-
EVP_aes_192_cbc(): PointerByReference
-
EVP_aes_192_ctr(): PointerByReference
-
EVP_aes_256_cbc(): PointerByReference
-
EVP_aes_256_ctr(): PointerByReference
-
EVP_CipherInit_ex(PointerByReference, PointerByReference, PointerByReference, byte[], byte[], int): int
-
EVP_CipherUpdate(PointerByReference, ByteBuffer, int[], ByteBuffer, int): int
-
EVP_CipherFinal_ex(PointerByReference, ByteBuffer, int[]): int
-
EVP_CIPHER_CTX_free(PointerByReference): void
-
EVP_CIPHER_CTX_cleanup(PointerByReference): void
-
RAND_get_rand_method(): PointerByReference
-
RAND_SSLeay(): PointerByReference
-
RAND_bytes(ByteBuffer, int): int
-
ENGINE_finish(PointerByReference): int
-
ENGINE_free(PointerByReference): int
-
ENGINE_cleanup(): int
-
ENGINE_init(PointerByReference): int
-
ENGINE_set_default(PointerByReference, int): int
-
ENGINE_by_id(String): PointerByReference
-
ENGINE_load_rdrand(): void
-
OpenSsl11XNativeJna
-
INIT_OK: boolean
-
INIT_ERROR: Throwable
-
static class initializer
-
ERR_peek_error(): NativeLong
-
ERR_error_string(NativeLong, char[]): String
-
EVP_CIPHER_CTX_new(): PointerByReference
-
EVP_CIPHER_CTX_set_padding(PointerByReference, int): int
-
EVP_aes_128_cbc(): PointerByReference
-
EVP_aes_128_ctr(): PointerByReference
-
EVP_aes_192_cbc(): PointerByReference
-
EVP_aes_192_ctr(): PointerByReference
-
EVP_aes_256_cbc(): PointerByReference
-
EVP_aes_256_ctr(): PointerByReference
-
EVP_CipherInit_ex(PointerByReference, PointerByReference, PointerByReference, byte[], byte[], int): int
-
EVP_CipherUpdate(PointerByReference, ByteBuffer, int[], ByteBuffer, int): int
-
EVP_CipherFinal_ex(PointerByReference, ByteBuffer, int[]): int
-
EVP_CIPHER_CTX_free(PointerByReference): void
-
RAND_get_rand_method(): PointerByReference
-
RAND_bytes(ByteBuffer, int): int
-
ENGINE_finish(PointerByReference): int
-
ENGINE_free(PointerByReference): int
-
ENGINE_init(PointerByReference): int
-
ENGINE_set_default(PointerByReference, int): int
-
ENGINE_by_id(String): PointerByReference
-
OpenSSL_version(int): String
-
OpenSslJna
-
OpenSslJnaCipher
-
algo: PointerByReference
-
context: PointerByReference
-
algMode: AlgorithmMode
-
padding: int
-
transformation: String
-
IV_LENGTH: int
-
OpenSslJnaCipher(Properties, String): void
-
init(int, Key, AlgorithmParameterSpec): void
-
update(ByteBuffer, ByteBuffer): int
-
update(byte[], int, int, byte[], int): int
-
doFinal(ByteBuffer, ByteBuffer): int
-
doFinal(byte[], int, int, byte[], int): int
-
updateAAD(byte[]): void
-
updateAAD(ByteBuffer): void
-
close(): void
-
throwOnError(int): void
-
Transform
-
tokenizeTransformation(String): Transform
-
AlgorithmMode
-
Padding
-
getBlockSize(): int
-
getAlgorithm(): String
-
finalize(): void
-
OpenSslJnaCryptoRandom
-
OpenSslNativeJna
-
static class initializer
-
OOSL_JNA_ENCRYPT_MODE: int
-
OPENSSL_INIT_ENGINE_RDRAND: int
-
OOSL_JNA_DECRYPT_MODE: int
-
INIT_OK: boolean
-
INIT_ERROR: Throwable
-
VERSION: long
-
VERSION_1_0_X: long
-
VERSION_1_1_X: long
-
ENGINE_by_id(String): PointerByReference
-
ENGINE_finish(PointerByReference): void
-
ENGINE_free(PointerByReference): void
-
ENGINE_init(PointerByReference): int
-
ENGINE_set_default(PointerByReference, int): int
-
ERR_error_string(NativeLong, Object): String
-
ERR_peek_error(): NativeLong
-
EVP_aes_128_cbc(): PointerByReference
-
EVP_aes_128_ctr(): PointerByReference
-
EVP_aes_192_cbc(): PointerByReference
-
EVP_aes_192_ctr(): PointerByReference
-
EVP_aes_256_cbc(): PointerByReference
-
EVP_aes_256_ctr(): PointerByReference
-
EVP_CIPHER_CTX_free(PointerByReference): void
-
EVP_CIPHER_CTX_new(): PointerByReference
-
EVP_CIPHER_CTX_set_padding(PointerByReference, int): void
-
EVP_CipherFinal_ex(PointerByReference, ByteBuffer, int[]): int
-
EVP_CipherInit_ex(PointerByReference, PointerByReference, Object, byte[], byte[], int): int
-
EVP_CipherUpdate(PointerByReference, ByteBuffer, int[], ByteBuffer, int): int
-
RAND_bytes(ByteBuffer, int): int
-
RAND_get_rand_method(): PointerByReference
-
RAND_SSLeay(): PointerByReference
-
OpenSSLVersion(int): String
-
ENGINE_load_rdrand(): void
-
ENGINE_cleanup(): void
-
EVP_CIPHER_CTX_cleanup(PointerByReference): void
-
random
-
stream
-
CryptoInputStream
-
oneByteBuf: byte[]
-
STREAM_BUFFER_SIZE_KEY: String
-
cipher: CryptoCipher
-
bufferSize: int
-
key: Key
-
params: AlgorithmParameterSpec
-
closed: boolean
-
finalDone: boolean
-
input: Input
-
inBuffer: ByteBuffer
-
outBuffer: ByteBuffer
-
STREAM_BUFFER_SIZE_DEFAULT: int
-
MIN_BUFFER_SIZE: int
-
CryptoInputStream(String, Properties, InputStream, Key, AlgorithmParameterSpec): void
-
CryptoInputStream(String, Properties, ReadableByteChannel, Key, AlgorithmParameterSpec): void
-
CryptoInputStream(InputStream, CryptoCipher, int, Key, AlgorithmParameterSpec): void
-
CryptoInputStream(ReadableByteChannel, CryptoCipher, int, Key, AlgorithmParameterSpec): void
-
CryptoInputStream(Input, CryptoCipher, int, Key, AlgorithmParameterSpec): void
-
read(): int
-
read(byte[], int, int): int
-
skip(long): long
-
available(): int
-
close(): void
-
markSupported(): boolean
-
isOpen(): boolean
-
read(ByteBuffer): int
-
getBufferSize(): int
-
getKey(): Key
-
getCipher(): CryptoCipher
-
getParams(): AlgorithmParameterSpec
-
getInput(): Input
-
initCipher(): void
-
decryptMore(): int
-
decrypt(): void
-
decryptFinal(): void
-
checkStream(): void
-
freeBuffers(): void
-
freeDirectBuffer(ByteBuffer): void
-
getBufferSize(Properties): int
-
checkStreamCipher(CryptoCipher): void
-
checkBufferSize(CryptoCipher, int): int
-
CryptoOutputStream
-
oneByteBuf: byte[]
-
output: Output
-
cipher: CryptoCipher
-
bufferSize: int
-
key: Key
-
params: AlgorithmParameterSpec
-
closed: boolean
-
inBuffer: ByteBuffer
-
outBuffer: ByteBuffer
-
CryptoOutputStream(String, Properties, OutputStream, Key, AlgorithmParameterSpec): void
-
CryptoOutputStream(String, Properties, WritableByteChannel, Key, AlgorithmParameterSpec): void
-
CryptoOutputStream(OutputStream, CryptoCipher, int, Key, AlgorithmParameterSpec): void
-
CryptoOutputStream(WritableByteChannel, CryptoCipher, int, Key, AlgorithmParameterSpec): void
-
CryptoOutputStream(Output, CryptoCipher, int, Key, AlgorithmParameterSpec): void
-
write(int): void
-
write(byte[], int, int): void
-
flush(): void
-
close(): void
-
isOpen(): boolean
-
write(ByteBuffer): int
-
initCipher(): void
-
encrypt(): void
-
encryptFinal(): void
-
checkStream(): void
-
freeBuffers(): void
-
getOutBuffer(): ByteBuffer
-
getCipher(): CryptoCipher
-
getBufferSize(): int
-
getInBuffer(): ByteBuffer
-
CtrCryptoInputStream
-
streamOffset: long
-
initIV: byte[]
-
iv: byte[]
-
padding: byte
-
cipherReset: boolean
-
CtrCryptoInputStream(Properties, InputStream, byte[], byte[]): void
-
CtrCryptoInputStream(Properties, ReadableByteChannel, byte[], byte[]): void
-
CtrCryptoInputStream(InputStream, CryptoCipher, int, byte[], byte[]): void
-
CtrCryptoInputStream(ReadableByteChannel, CryptoCipher, int, byte[], byte[]): void
-
CtrCryptoInputStream(Input, CryptoCipher, int, byte[], byte[]): void
-
CtrCryptoInputStream(Properties, InputStream, byte[], byte[], long): void
-
CtrCryptoInputStream(Properties, ReadableByteChannel, byte[], byte[], long): void
-
CtrCryptoInputStream(InputStream, CryptoCipher, int, byte[], byte[], long): void
-
CtrCryptoInputStream(ReadableByteChannel, CryptoCipher, int, byte[], byte[], long): void
-
CtrCryptoInputStream(Input, CryptoCipher, int, byte[], byte[], long): void
-
skip(long): long
-
read(ByteBuffer): int
-
seek(long): void
-
getStreamOffset(): long
-
setStreamOffset(long): void
-
getStreamPosition(): long
-
decryptMore(): int
-
decrypt(): void
-
decryptInPlace(ByteBuffer): void
-
decrypt(ByteBuffer, int, int): void
-
postDecryption(long): byte
-
getInitIV(): byte[]
-
getCounter(long): long
-
getPadding(long): byte
-
initCipher(): void
-
resetCipher(long): void
-
resetStreamOffset(long): void
-
decryptBuffer(ByteBuffer): void
-
calculateIV(byte[], long, byte[]): void
-
CtrCryptoOutputStream
-
streamOffset: long
-
initIV: byte[]
-
iv: byte[]
-
padding: byte
-
cipherReset: boolean
-
CtrCryptoOutputStream(Properties, OutputStream, byte[], byte[]): void
-
CtrCryptoOutputStream(Properties, WritableByteChannel, byte[], byte[]): void
-
CtrCryptoOutputStream(OutputStream, CryptoCipher, int, byte[], byte[]): void
-
CtrCryptoOutputStream(WritableByteChannel, CryptoCipher, int, byte[], byte[]): void
-
CtrCryptoOutputStream(Output, CryptoCipher, int, byte[], byte[]): void
-
CtrCryptoOutputStream(Properties, OutputStream, byte[], byte[], long): void
-
CtrCryptoOutputStream(Properties, WritableByteChannel, byte[], byte[], long): void
-
CtrCryptoOutputStream(OutputStream, CryptoCipher, int, byte[], byte[], long): void
-
CtrCryptoOutputStream(WritableByteChannel, CryptoCipher, int, byte[], byte[], long): void
-
CtrCryptoOutputStream(Output, CryptoCipher, int, byte[], byte[], long): void
-
encrypt(): void
-
encryptFinal(): void
-
initCipher(): void
-
resetCipher(): void
-
encryptBuffer(ByteBuffer): void
-
getStreamOffset(): long
-
setStreamOffset(long): void
-
PositionedCryptoInputStream
-
bufferPool: Queue<ByteBuffer>
-
cipherPool: Queue<CipherState>
-
properties: Properties
-
PositionedCryptoInputStream(Properties, Input, byte[], byte[], long): void
-
PositionedCryptoInputStream(Properties, Input, CryptoCipher, int, byte[], byte[], long): void
-
read(long, byte[], int, int): int
-
readFully(long, byte[], int, int): void
-
readFully(long, byte[]): void
-
decrypt(long, byte[], int, int): void
-
decrypt(CipherState, ByteBuffer, ByteBuffer, byte): void
-
decryptBuffer(CipherState, ByteBuffer, ByteBuffer): void
-
postDecryption(CipherState, ByteBuffer, long, byte[]): byte
-
resetCipher(CipherState, long, byte[]): void
-
getCipherState(): CipherState
-
returnCipherState(CipherState): void
-
getBuffer(): ByteBuffer
-
returnBuffer(ByteBuffer): void
-
close(): void
-
cleanBufferPool(): void
-
CipherState
-
input
-
output
-
utils
Java files
Class files