OpenSSL namespace
#include <Spore ModAPI/Spore/OpenSSL.h>
Typedefs
- using SSL = void
- using SSL_CTX = void
- using SSL_METHOD = void
- using DH = void
- using X509_STORE_CTX = void
- using SSL_SESSION = void
- using X509 = void
- using BIO = void
- using CERT = void
- using SESS_CERT = void
- using ERR_STATE = void
- using BIO_METHOD = void
- using CRYPTO_EX_DATA = void
- using CRYPTO_dynlock_value = void
- using X509_LOOKUP_METHOD = void
- using X509_LOOKUP = void
- using X509_STORE = void
- using X509_VERIFY_PARAM = void
- using ERR_print_errors_cb_func = int(*)(const char*str, size_t len, void*u)
Functions
- auto SSL_accept(SSL* ssl) -> int
- auto SSL_clear(SSL* ssl) -> int
- auto SSL_connect(SSL* ssl) -> int
- auto SSL_ctrl(SSL* ssl, int cmd, long larg, void* parg) -> long
-
auto SSL_CTX_ctrl(SSL_
CTX* ctx, int cmd, long larg, void* parg) -> long -
auto SSL_CTX_free(SSL_
CTX* ctx) -> void -
auto SSL_CTX_load_verify_locations(SSL_
CTX* ctx, const char* CAfile, const char* CApath) -> int -
auto SSL_CTX_new(SSL_
METHOD* meth) -> SSL_ CTX* -
auto SSL_CTX_set_cipher_list(SSL_
CTX* ctx, const char* str) -> int -
auto SSL_CTX_set_tmp_dh_callback(SSL_
CTX* ctx, DH*(*)(SSL*ssl, int is_ export, int keylength) dh) -> void -
auto SSL_CTX_set_verify(SSL_
CTX* ctx, int mode, int(*)(int, X509_ STORE_ CTX*) callback) -> void -
auto SSL_CTX_set_verify_depth(SSL_
CTX* ctx, int depth) -> void - auto SSL_free(SSL* ssl) -> void
-
auto SSL_get1_session(SSL* ssl) -> SSL_
SESSION* - auto SSL_get_error(const SSL* s, int ret_code) -> int
- auto SSL_get_peer_certificate(const SSL* s) -> X509*
- auto SSL_get_shutdown(const SSL* ssl) -> int
- auto SSL_library_init(void) -> int
-
auto SSL_new(SSL_
CTX* ctx) -> SSL* - auto SSL_read(SSL* ssl, void* buf, int num) -> int
-
auto SSL_SESSION_free(SSL_
SESSION* ses) -> void -
auto SSL_SESSION_new(void) -> SSL_
SESSION* - auto SSL_set_bio(SSL* s, BIO* rbio, BIO* wbio) -> void
-
auto SSL_set_session(SSL* to,
SSL_
SESSION* session) -> int - auto SSL_shutdown(SSL* s) -> int
- auto SSL_write(SSL* ssl, const void* buf, int num) -> int
-
auto SSLv23_client_method(void) -> SSL_
METHOD* -
auto SSLv23_method(void) -> SSL_
METHOD* -
auto SSLv23_server_method(void) -> SSL_
METHOD* - auto ssl_cert_free(CERT* c) -> void
- auto ssl_clear_bad_session(SSL* s) -> int
- auto ssl_clear_cipher_ctx(SSL* s) -> void
- auto ssl_get_new_session(SSL* s, int session) -> int
- auto ssl_init_wbio_buffer(SSL* s, int push) -> int
- auto ssl_load_ciphers(void) -> void
-
auto ssl_sess_cert_free(SESS_
CERT* sc) -> void - auto ssleay_rand_add(const void* buf, int num, double add) -> void
- auto ERR_clear_error(void) -> void
-
auto ERR_error_string_n(unsigned long e,
char* buf,
size_
t len) -> void -
auto ERR_get_state(void) -> ERR_
STATE* -
auto ERR_print_errors_cb(ERR_
print_ errors_ cb_ func cb, void* u) -> void - auto ERR_put_error(int lib, int func, int reason, const char* file, int line) -> void
- auto ERR_set_error_data(char* data, int flags) -> void
- auto OPENSSL_add_all_algorithms_noconf(void) -> void
- auto OpenSSL_add_all_ciphers(void) -> void
- auto OpenSSL_add_all_digests(void) -> void
-
auto OPENSSL_cleanse(void* ptr,
size_
t len) -> void - auto OPENSSL_free(void* ptr) -> void
- auto OpenSSLDie(const char* file, int line, const char* assertion) -> void
- auto BIO_ctrl(BIO* b, int cmd, long larg, void* parg) -> long
-
auto BIO_f_buffer(void) -> BIO_
METHOD* - auto BIO_free(BIO* a) -> int
- auto BIO_free_all(BIO* bio) -> void
- auto BIO_gets(BIO* b, char* in, int inl) -> int
- auto BIO_int_ctrl(BIO* b, int cmd, long larg, int iarg) -> long
-
auto BIO_new(BIO_
METHOD* method) -> BIO* - auto BIO_new_file(const char* filename, const char* mode) -> BIO*
- auto BIO_new_mem_buf(void* buf, int len) -> BIO*
- auto BIO_pop(BIO* b) -> BIO*
- auto BIO_push(BIO* b, BIO* append) -> BIO*
- auto BIO_puts(BIO* bp, const char* buf) -> int
- auto BIO_read(BIO* b, void* data, int len) -> int
- auto BIO_write(BIO* b, const void* data, int len) -> int
- auto CRYPTO_add_lock(int* pointer, int amount, int type, const char* file, int line) -> int
-
auto CRYPTO_free_ex_data(int class_index,
void* obj,
CRYPTO_
EX_ DATA* ad) -> void -
auto CRYPTO_get_dynlock_value(int i) -> CRYPTO_
dynlock_ value* - auto CRYPTO_lock(int mode, int type, const char* file, int line) -> void
- auto CRYPTO_malloc(int num, const char* file, int line) -> void*
- auto CRYPTO_num_locks(void) -> int
-
auto CRYPTO_set_dynlock_create_callback(CRYPTO_
dynlock_ value*(*)(const char*file, int line) func) -> void -
auto CRYPTO_set_dynlock_destroy_callback(void(*)(CRYPTO_
dynlock_ value*l, const char*file, int line) func) -> void -
auto CRYPTO_set_dynlock_lock_callback(void(*)(int mode, CRYPTO_
dynlock_ value*l, const char*file, int line) func) -> void - auto CRYPTO_set_id_callback(unsigned long(*)(void) func) -> void
- auto CRYPTO_set_locking_callback(void(*)(int mode, int type, const char*file, int line) func) -> void
-
auto CRYPTO_set_mem_functions(void*(*)(size_
t) m, void*(*)(void*, size_ t) r, void(*)(void*) f) -> int - auto i2d_X509(X509* x, unsigned char** out) -> int
- auto X509_free(X509* a) -> void
-
auto X509_LOOKUP_file(void) -> X509_
LOOKUP_ METHOD* -
auto X509_LOOKUP_hash_dir(void) -> X509_
LOOKUP_ METHOD* -
auto X509_STORE_add_lookup(X509_
STORE* v, X509_ LOOKUP_ METHOD* m) -> X509_ LOOKUP* -
auto X509_STORE_load_locations(X509_
STORE* ctx, const char* file, const char* dir) -> int -
auto X509_VERIFY_PARAM_free(X509_
VERIFY_ PARAM* param) -> void