Package org.apache.commons.crypto.jna
Interface OpenSslInterfaceNativeJna
-
- All Known Implementing Classes:
OpenSsl10XNativeJna,OpenSsl11XNativeJna,OpenSsl20XNativeJna
interface OpenSslInterfaceNativeJnaThis interface defines the API for the native code. All methods are listed here; individual implementations may not support them all.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.sun.jna.ptr.PointerByReference_ENGINE_by_id(java.lang.String string)int_ENGINE_cleanup()TODO Appears to be deprecated as of OpenSSL 1.1.0.int_ENGINE_finish(com.sun.jna.ptr.PointerByReference rdrandEngine)int_ENGINE_free(com.sun.jna.ptr.PointerByReference rdrandEngine)int_ENGINE_init(com.sun.jna.ptr.PointerByReference rdrandEngine)void_ENGINE_load_rdrand()int_ENGINE_set_default(com.sun.jna.ptr.PointerByReference rdrandEngine, int flags)java.lang.String_ERR_error_string(com.sun.jna.NativeLong err, char[] buff)com.sun.jna.NativeLong_ERR_peek_error()com.sun.jna.ptr.PointerByReference_EVP_aes_128_cbc()com.sun.jna.ptr.PointerByReference_EVP_aes_128_ctr()com.sun.jna.ptr.PointerByReference_EVP_aes_192_cbc()com.sun.jna.ptr.PointerByReference_EVP_aes_192_ctr()com.sun.jna.ptr.PointerByReference_EVP_aes_256_cbc()com.sun.jna.ptr.PointerByReference_EVP_aes_256_ctr()void_EVP_CIPHER_CTX_cleanup(com.sun.jna.ptr.PointerByReference context)void_EVP_CIPHER_CTX_free(com.sun.jna.ptr.PointerByReference context)com.sun.jna.ptr.PointerByReference_EVP_CIPHER_CTX_new()int_EVP_CIPHER_CTX_set_padding(com.sun.jna.ptr.PointerByReference context, int padding)int_EVP_CipherFinal_ex(com.sun.jna.ptr.PointerByReference context, java.nio.ByteBuffer outBuffer, int[] outlen)int_EVP_CipherInit_ex(com.sun.jna.ptr.PointerByReference context, com.sun.jna.ptr.PointerByReference algo, com.sun.jna.ptr.PointerByReference impl, byte[] encoded, byte[] iv, int cipherMode)int_EVP_CipherUpdate(com.sun.jna.ptr.PointerByReference context, java.nio.ByteBuffer outBuffer, int[] outlen, java.nio.ByteBuffer inBuffer, int remaining)java.lang.Throwable_INIT_ERROR()boolean_INIT_OK()java.lang.String_OpenSSL_version(int i)int_RAND_bytes(java.nio.ByteBuffer buf, int length)com.sun.jna.ptr.PointerByReference_RAND_get_rand_method()com.sun.jna.ptr.PointerByReference_RAND_SSLeay()
-
-
-
Method Detail
-
_ENGINE_by_id
com.sun.jna.ptr.PointerByReference _ENGINE_by_id(java.lang.String string)
-
_ENGINE_cleanup
int _ENGINE_cleanup()
TODO Appears to be deprecated as of OpenSSL 1.1.0.
-
_ENGINE_finish
int _ENGINE_finish(com.sun.jna.ptr.PointerByReference rdrandEngine)
-
_ENGINE_free
int _ENGINE_free(com.sun.jna.ptr.PointerByReference rdrandEngine)
-
_ENGINE_init
int _ENGINE_init(com.sun.jna.ptr.PointerByReference rdrandEngine)
-
_ENGINE_load_rdrand
void _ENGINE_load_rdrand()
-
_ENGINE_set_default
int _ENGINE_set_default(com.sun.jna.ptr.PointerByReference rdrandEngine, int flags)
-
_ERR_error_string
java.lang.String _ERR_error_string(com.sun.jna.NativeLong err, char[] buff)
-
_ERR_peek_error
com.sun.jna.NativeLong _ERR_peek_error()
-
_EVP_aes_128_cbc
com.sun.jna.ptr.PointerByReference _EVP_aes_128_cbc()
-
_EVP_aes_128_ctr
com.sun.jna.ptr.PointerByReference _EVP_aes_128_ctr()
-
_EVP_aes_192_cbc
com.sun.jna.ptr.PointerByReference _EVP_aes_192_cbc()
-
_EVP_aes_192_ctr
com.sun.jna.ptr.PointerByReference _EVP_aes_192_ctr()
-
_EVP_aes_256_cbc
com.sun.jna.ptr.PointerByReference _EVP_aes_256_cbc()
-
_EVP_aes_256_ctr
com.sun.jna.ptr.PointerByReference _EVP_aes_256_ctr()
-
_EVP_CIPHER_CTX_cleanup
void _EVP_CIPHER_CTX_cleanup(com.sun.jna.ptr.PointerByReference context)
-
_EVP_CIPHER_CTX_free
void _EVP_CIPHER_CTX_free(com.sun.jna.ptr.PointerByReference context)
-
_EVP_CIPHER_CTX_new
com.sun.jna.ptr.PointerByReference _EVP_CIPHER_CTX_new()
-
_EVP_CIPHER_CTX_set_padding
int _EVP_CIPHER_CTX_set_padding(com.sun.jna.ptr.PointerByReference context, int padding)
-
_EVP_CipherFinal_ex
int _EVP_CipherFinal_ex(com.sun.jna.ptr.PointerByReference context, java.nio.ByteBuffer outBuffer, int[] outlen)
-
_EVP_CipherInit_ex
int _EVP_CipherInit_ex(com.sun.jna.ptr.PointerByReference context, com.sun.jna.ptr.PointerByReference algo, com.sun.jna.ptr.PointerByReference impl, byte[] encoded, byte[] iv, int cipherMode)
-
_EVP_CipherUpdate
int _EVP_CipherUpdate(com.sun.jna.ptr.PointerByReference context, java.nio.ByteBuffer outBuffer, int[] outlen, java.nio.ByteBuffer inBuffer, int remaining)
-
_INIT_ERROR
java.lang.Throwable _INIT_ERROR()
-
_INIT_OK
boolean _INIT_OK()
-
_OpenSSL_version
java.lang.String _OpenSSL_version(int i)
-
_RAND_bytes
int _RAND_bytes(java.nio.ByteBuffer buf, int length)
-
_RAND_get_rand_method
com.sun.jna.ptr.PointerByReference _RAND_get_rand_method()
-
_RAND_SSLeay
com.sun.jna.ptr.PointerByReference _RAND_SSLeay()
-
-