Qt 4.8
Macros | Functions
qsslsocket_openssl_symbols_p.h File Reference
#include "qsslsocket_openssl_p.h"

Go to the source code of this file.

Macros

#define DEFINEFUNC(ret, func, arg, a, err, funcret)
 
#define DEFINEFUNC2(ret, func, arg1, a, arg2, b, err, funcret)
 
#define DEFINEFUNC3(ret, func, arg1, a, arg2, b, arg3, c, err, funcret)
 
#define DEFINEFUNC4(ret, func, arg1, a, arg2, b, arg3, c, arg4, d, err, funcret)
 
#define DEFINEFUNC5(ret, func, arg1, a, arg2, b, arg3, c, arg4, d, arg5, e, err, funcret)
 
#define DEFINEFUNC6(ret, func, arg1, a, arg2, b, arg3, c, arg4, d, arg5, e, arg6, f, err, funcret)
 
#define DEFINEFUNC7(ret, func, arg1, a, arg2, b, arg3, c, arg4, d, arg5, e, arg6, f, arg7, g, err, funcret)
 
#define DEFINEFUNC9(ret, func, arg1, a, arg2, b, arg3, c, arg4, d, arg5, e, arg6, f, arg7, g, arg8, h, arg9, i, err, funcret)
 
#define DUMMYARG
 
#define q_BIO_get_mem_data(b, pp)   (int)q_BIO_ctrl(b,BIO_CTRL_INFO,0,(char *)pp)
 
#define q_BIO_pending(b)   (int)q_BIO_ctrl(b,BIO_CTRL_PENDING,0,NULL)
 
#define q_EVP_PKEY_assign_DSA(pkey, dsa)
 
#define q_EVP_PKEY_assign_RSA(pkey, rsa)
 
#define q_OpenSSL_add_all_algorithms()   q_OPENSSL_add_all_algorithms_noconf()
 
#define q_sk_GENERAL_NAME_num(st)   q_SKM_sk_num(GENERAL_NAME, (st))
 
#define q_sk_GENERAL_NAME_value(st, i)   q_SKM_sk_value(GENERAL_NAME, (st), (i))
 
#define q_sk_SSL_CIPHER_num(st)   q_SKM_sk_num(SSL_CIPHER, (st))
 
#define q_sk_SSL_CIPHER_value(st, i)   q_SKM_sk_value(SSL_CIPHER, (st), (i))
 
#define q_sk_X509_num(st)   q_SKM_sk_num(X509, (st))
 
#define q_sk_X509_value(st, i)   q_SKM_sk_value(X509, (st), (i))
 
#define q_SKM_sk_num(type, st)   ((int (*)(const STACK_OF(type) *))q_sk_num)(st)
 
#define q_SKM_sk_value(type, st, i)   ((type * (*)(const STACK_OF(type) *, int))q_sk_value)(st, i)
 
#define q_SSL_CTX_add_extra_chain_cert(ctx, x509)   q_SSL_CTX_ctrl(ctx,SSL_CTRL_EXTRA_CHAIN_CERT,0,(char *)x509)
 
#define q_SSL_CTX_set_options(ctx, op)   q_SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(op),NULL)
 
#define q_X509_get_notAfter(x)   X509_get_notAfter(x)
 
#define q_X509_get_notBefore(x)   X509_get_notBefore(x)
 

Functions

long q_ASN1_INTEGER_get (ASN1_INTEGER *a)
 
unsigned char * q_ASN1_STRING_data (ASN1_STRING *a)
 
int q_ASN1_STRING_length (ASN1_STRING *a)
 
int q_ASN1_STRING_to_UTF8 (unsigned char **a, ASN1_STRING *b)
 
long q_BIO_ctrl (BIO *a, int b, long c, void *d)
 
int q_BIO_free (BIO *a)
 
BIO * q_BIO_new (BIO_METHOD *a)
 
BIO * q_BIO_new_mem_buf (void *a, int b)
 
int q_BIO_read (BIO *a, void *b, int c)
 
BIO_METHOD * q_BIO_s_mem ()
 
int q_BIO_write (BIO *a, const void *b, int c)
 
int q_BN_num_bits (const BIGNUM *a)
 
void q_CRYPTO_free (void *a)
 
int q_CRYPTO_num_locks ()
 
void q_CRYPTO_set_id_callback (unsigned long(*a)())
 
void q_CRYPTO_set_locking_callback (void(*a)(int, int, const char *, int))
 
X509q_d2i_X509 (X509 **a, unsigned char **b, long c)
 
void q_DSA_free (DSA *a)
 
char * q_ERR_error_string (unsigned long a, char *b)
 
unsigned long q_ERR_get_error ()
 
const EVP_CIPHER * q_EVP_des_ede3_cbc ()
 
int q_EVP_PKEY_assign (EVP_PKEY *a, int b, char *c)
 
void q_EVP_PKEY_free (EVP_PKEY *a)
 
DSA * q_EVP_PKEY_get1_DSA (EVP_PKEY *a)
 
RSA * q_EVP_PKEY_get1_RSA (EVP_PKEY *a)
 
EVP_PKEY * q_EVP_PKEY_new ()
 
int q_EVP_PKEY_set1_DSA (EVP_PKEY *a, DSA *b)
 
int q_EVP_PKEY_set1_RSA (EVP_PKEY *a, RSA *b)
 
int q_EVP_PKEY_type (int a)
 
QDateTime q_getTimeFromASN1 (const ASN1_TIME *aTime)
 
int q_i2d_X509 (X509 *a, unsigned char **b)
 
const char * q_OBJ_nid2sn (int a)
 
int q_OBJ_obj2nid (const ASN1_OBJECT *a)
 
void q_OPENSSL_add_all_algorithms_conf ()
 
void q_OPENSSL_add_all_algorithms_noconf ()
 
DSA * q_PEM_read_bio_DSA_PUBKEY (BIO *a, DSA **b, pem_password_cb *c, void *d)
 
DSA * q_PEM_read_bio_DSAPrivateKey (BIO *a, DSA **b, pem_password_cb *c, void *d)
 
RSA * q_PEM_read_bio_RSA_PUBKEY (BIO *a, RSA **b, pem_password_cb *c, void *d)
 
RSA * q_PEM_read_bio_RSAPrivateKey (BIO *a, RSA **b, pem_password_cb *c, void *d)
 
int q_PEM_write_bio_DSA_PUBKEY (BIO *a, DSA *b)
 
int q_PEM_write_bio_DSAPrivateKey (BIO *a, DSA *b, const EVP_CIPHER *c, unsigned char *d, int e, pem_password_cb *f, void *g)
 
int q_PEM_write_bio_RSA_PUBKEY (BIO *a, RSA *b)
 
int q_PEM_write_bio_RSAPrivateKey (BIO *a, RSA *b, const EVP_CIPHER *c, unsigned char *d, int e, pem_password_cb *f, void *g)
 
void q_RAND_seed (const void *a, int b)
 
int q_RAND_status ()
 
bool q_resolveOpenSslSymbols ()
 
void q_RSA_free (RSA *a)
 
void q_sk_free (STACK *a)
 
int q_sk_num (STACK *a)
 
void q_sk_pop_free (STACK *a, void(*b)(void *))
 
char * q_sk_value (STACK *a, int b)
 
int q_SSL_accept (SSL *a)
 
char * q_SSL_CIPHER_description (SSL_CIPHER *a, char *b, int c)
 
int q_SSL_clear (SSL *a)
 
int q_SSL_connect (SSL *a)
 
int q_SSL_CTX_check_private_key (SSL_CTX *a)
 
long q_SSL_CTX_ctrl (SSL_CTX *a, int b, long c, void *d)
 
void q_SSL_CTX_free (SSL_CTX *a)
 
int q_SSL_CTX_load_verify_locations (SSL_CTX *ctx, const char *CAfile, const char *CApath)
 
SSL_CTX * q_SSL_CTX_new (SSL_METHOD *a)
 
int q_SSL_CTX_set_cipher_list (SSL_CTX *a, const char *b)
 
int q_SSL_CTX_set_default_verify_paths (SSL_CTX *a)
 
void q_SSL_CTX_set_verify (SSL_CTX *a, int b, int(*c)(int, X509_STORE_CTX *))
 
void q_SSL_CTX_set_verify_depth (SSL_CTX *a, int b)
 
int q_SSL_CTX_use_certificate (SSL_CTX *a, X509 *b)
 
int q_SSL_CTX_use_certificate_file (SSL_CTX *a, const char *b, int c)
 
int q_SSL_CTX_use_PrivateKey (SSL_CTX *a, EVP_PKEY *b)
 
int q_SSL_CTX_use_PrivateKey_file (SSL_CTX *a, const char *b, int c)
 
int q_SSL_CTX_use_RSAPrivateKey (SSL_CTX *a, RSA *b)
 
void q_SSL_free (SSL *a)
 
SSL_CIPHER * q_SSL_get_current_cipher (SSL *a)
 
int q_SSL_get_error (SSL *a, int b)
 
X509q_SSL_get_peer_certificate (SSL *a)
 
long q_SSL_get_verify_result (SSL *a)
 
int q_SSL_library_init ()
 
void q_SSL_load_error_strings ()
 
SSL * q_SSL_new (SSL_CTX *a)
 
int q_SSL_read (SSL *a, void *b, int c)
 
void q_SSL_set_accept_state (SSL *a)
 
void q_SSL_set_bio (SSL *a, BIO *b, BIO *c)
 
void q_SSL_set_connect_state (SSL *a)
 
int q_SSL_shutdown (SSL *a)
 
int q_SSL_write (SSL *a, const void *b, int c)
 
long q_SSLeay ()
 
SSL_METHOD * q_SSLv23_client_method ()
 
SSL_METHOD * q_SSLv23_server_method ()
 
SSL_METHOD * q_SSLv2_client_method ()
 
SSL_METHOD * q_SSLv2_server_method ()
 
SSL_METHOD * q_SSLv3_client_method ()
 
SSL_METHOD * q_SSLv3_server_method ()
 
SSL_METHOD * q_TLSv1_client_method ()
 
SSL_METHOD * q_TLSv1_server_method ()
 
int q_X509_cmp (X509 *a, X509 *b)
 
X509q_X509_dup (X509 *a)
 
ASN1_OBJECT * q_X509_EXTENSION_get_object (X509_EXTENSION *a)
 
void q_X509_free (X509 *a)
 
X509_EXTENSION * q_X509_get_ext (X509 *a, int b)
 
int q_X509_get_ext_count (X509 *a)
 
void * q_X509_get_ext_d2i (X509 *a, int b, int *c, int *d)
 
X509_NAME * q_X509_get_issuer_name (X509 *a)
 
X509_NAME * q_X509_get_subject_name (X509 *a)
 
int q_X509_NAME_entry_count (X509_NAME *a)
 
ASN1_STRING * q_X509_NAME_ENTRY_get_data (X509_NAME_ENTRY *a)
 
ASN1_OBJECT * q_X509_NAME_ENTRY_get_object (X509_NAME_ENTRY *a)
 
X509_NAME_ENTRY * q_X509_NAME_get_entry (X509_NAME *a, int b)
 
EVP_PKEY * q_X509_PUBKEY_get (X509_PUBKEY *a)
 
int q_X509_STORE_add_cert (X509_STORE *ctx, X509 *x)
 
void q_X509_STORE_CTX_free (X509_STORE_CTX *storeCtx)
 
X509q_X509_STORE_CTX_get_current_cert (X509_STORE_CTX *ctx)
 
int q_X509_STORE_CTX_get_error (X509_STORE_CTX *ctx)
 
int q_X509_STORE_CTX_get_error_depth (X509_STORE_CTX *ctx)
 
int q_X509_STORE_CTX_init (X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, STACK_OF(X509) *chain)
 
X509_STORE_CTX * q_X509_STORE_CTX_new ()
 
int q_X509_STORE_CTX_set_purpose (X509_STORE_CTX *ctx, int purpose)
 
void q_X509_STORE_free (X509_STORE *store)
 
X509_STORE * q_X509_STORE_new ()
 
int q_X509_verify_cert (X509_STORE_CTX *ctx)
 
 STACK_OF (SSL_CIPHER) *q_SSL_get_ciphers(SSL *a)
 
 STACK_OF (X509) *q_SSL_get_peer_cert_chain(SSL *a)
 

Macro Definition Documentation

◆ DEFINEFUNC

#define DEFINEFUNC (   ret,
  func,
  arg,
  a,
  err,
  funcret 
)
Value:
typedef ret (*_q_PTR_##func)(arg); \
static _q_PTR_##func _q_##func = 0; \
ret q_##func(arg) { \
if (!_q_##func) { \
qWarning("QSslSocket: cannot call unresolved function "#func); \
err; \
} \
funcret _q_##func(a); \
}
long ASN1_INTEGER_get ASN1_INTEGER * a

Definition at line 67 of file qsslsocket_openssl_symbols_p.h.

◆ DEFINEFUNC2

#define DEFINEFUNC2 (   ret,
  func,
  arg1,
  a,
  arg2,
  b,
  err,
  funcret 
)
Value:
typedef ret (*_q_PTR_##func)(arg1, arg2); \
static _q_PTR_##func _q_##func = 0; \
ret q_##func(arg1, arg2) { \
if (!_q_##func) { \
qWarning("QSslSocket: cannot call unresolved function "#func);\
err; \
} \
funcret _q_##func(a, b); \
}
long ASN1_INTEGER_get ASN1_INTEGER * a

Definition at line 79 of file qsslsocket_openssl_symbols_p.h.

◆ DEFINEFUNC3

#define DEFINEFUNC3 (   ret,
  func,
  arg1,
  a,
  arg2,
  b,
  arg3,
  c,
  err,
  funcret 
)
Value:
typedef ret (*_q_PTR_##func)(arg1, arg2, arg3); \
static _q_PTR_##func _q_##func = 0; \
ret q_##func(arg1, arg2, arg3) { \
if (!_q_##func) { \
qWarning("QSslSocket: cannot call unresolved function "#func); \
err; \
} \
funcret _q_##func(a, b, c); \
}
unsigned char c[8]
Definition: qnumeric_p.h:62
long ASN1_INTEGER_get ASN1_INTEGER * a

Definition at line 91 of file qsslsocket_openssl_symbols_p.h.

◆ DEFINEFUNC4

#define DEFINEFUNC4 (   ret,
  func,
  arg1,
  a,
  arg2,
  b,
  arg3,
  c,
  arg4,
  d,
  err,
  funcret 
)
Value:
typedef ret (*_q_PTR_##func)(arg1, arg2, arg3, arg4); \
static _q_PTR_##func _q_##func = 0; \
ret q_##func(arg1, arg2, arg3, arg4) { \
if (!_q_##func) { \
qWarning("QSslSocket: cannot call unresolved function "#func); \
err; \
} \
funcret _q_##func(a, b, c, d); \
}
double d
Definition: qnumeric_p.h:62
unsigned char c[8]
Definition: qnumeric_p.h:62
long ASN1_INTEGER_get ASN1_INTEGER * a

Definition at line 103 of file qsslsocket_openssl_symbols_p.h.

◆ DEFINEFUNC5

#define DEFINEFUNC5 (   ret,
  func,
  arg1,
  a,
  arg2,
  b,
  arg3,
  c,
  arg4,
  d,
  arg5,
  e,
  err,
  funcret 
)
Value:
typedef ret (*_q_PTR_##func)(arg1, arg2, arg3, arg4, arg5); \
static _q_PTR_##func _q_##func = 0; \
ret q_##func(arg1, arg2, arg3, arg4, arg5) { \
if (!_q_##func) { \
qWarning("QSslSocket: cannot call unresolved function "#func); \
err; \
} \
funcret _q_##func(a, b, c, d, e); \
}
double d
Definition: qnumeric_p.h:62
unsigned char c[8]
Definition: qnumeric_p.h:62
long ASN1_INTEGER_get ASN1_INTEGER * a

Definition at line 115 of file qsslsocket_openssl_symbols_p.h.

◆ DEFINEFUNC6

#define DEFINEFUNC6 (   ret,
  func,
  arg1,
  a,
  arg2,
  b,
  arg3,
  c,
  arg4,
  d,
  arg5,
  e,
  arg6,
  f,
  err,
  funcret 
)
Value:
typedef ret (*_q_PTR_##func)(arg1, arg2, arg3, arg4, arg5, arg6); \
static _q_PTR_##func _q_##func = 0; \
ret q_##func(arg1, arg2, arg3, arg4, arg5, arg6) { \
if (!_q_##func) { \
qWarning("QSslSocket: cannot call unresolved function "#func); \
err; \
} \
funcret _q_##func(a, b, c, d, e, f); \
}
double d
Definition: qnumeric_p.h:62
unsigned char c[8]
Definition: qnumeric_p.h:62
long ASN1_INTEGER_get ASN1_INTEGER * a

Definition at line 127 of file qsslsocket_openssl_symbols_p.h.

◆ DEFINEFUNC7

#define DEFINEFUNC7 (   ret,
  func,
  arg1,
  a,
  arg2,
  b,
  arg3,
  c,
  arg4,
  d,
  arg5,
  e,
  arg6,
  f,
  arg7,
  g,
  err,
  funcret 
)
Value:
typedef ret (*_q_PTR_##func)(arg1, arg2, arg3, arg4, arg5, arg6, arg7); \
static _q_PTR_##func _q_##func = 0; \
ret q_##func(arg1, arg2, arg3, arg4, arg5, arg6, arg7) { \
if (!_q_##func) { \
qWarning("QSslSocket: cannot call unresolved function "#func); \
err; \
} \
funcret _q_##func(a, b, c, d, e, f, g); \
}
double d
Definition: qnumeric_p.h:62
unsigned char c[8]
Definition: qnumeric_p.h:62
long ASN1_INTEGER_get ASN1_INTEGER * a

Definition at line 139 of file qsslsocket_openssl_symbols_p.h.

◆ DEFINEFUNC9

#define DEFINEFUNC9 (   ret,
  func,
  arg1,
  a,
  arg2,
  b,
  arg3,
  c,
  arg4,
  d,
  arg5,
  e,
  arg6,
  f,
  arg7,
  g,
  arg8,
  h,
  arg9,
  i,
  err,
  funcret 
)
Value:
typedef ret (*_q_PTR_##func)(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); \
static _q_PTR_##func _q_##func = 0; \
ret q_##func(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { \
if (_q_##func) { \
qWarning("QSslSocket: cannot call unresolved function "#func); \
err; \
} \
funcret _q_##func(a, b, c, d, e, f, g, h, i); \
}
double d
Definition: qnumeric_p.h:62
unsigned char c[8]
Definition: qnumeric_p.h:62
long ASN1_INTEGER_get ASN1_INTEGER * a

Definition at line 151 of file qsslsocket_openssl_symbols_p.h.

◆ DUMMYARG

#define DUMMYARG

Definition at line 61 of file qsslsocket_openssl_symbols_p.h.

◆ q_BIO_get_mem_data

#define q_BIO_get_mem_data (   b,
  pp 
)    (int)q_BIO_ctrl(b,BIO_CTRL_INFO,0,(char *)pp)

Definition at line 382 of file qsslsocket_openssl_symbols_p.h.

Referenced by QSslKey::toPem().

◆ q_BIO_pending

#define q_BIO_pending (   b)    (int)q_BIO_ctrl(b,BIO_CTRL_PENDING,0,NULL)

Definition at line 383 of file qsslsocket_openssl_symbols_p.h.

Referenced by QSslSocketBackendPrivate::transmit().

◆ q_EVP_PKEY_assign_DSA

#define q_EVP_PKEY_assign_DSA (   pkey,
  dsa 
)
Value:
q_EVP_PKEY_assign((pkey),EVP_PKEY_DSA,\
(char *)(dsa))
int q_EVP_PKEY_assign(EVP_PKEY *a, int b, char *c)

Definition at line 417 of file qsslsocket_openssl_symbols_p.h.

◆ q_EVP_PKEY_assign_RSA

#define q_EVP_PKEY_assign_RSA (   pkey,
  rsa 
)
Value:
q_EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\
(char *)(rsa))
int q_EVP_PKEY_assign(EVP_PKEY *a, int b, char *c)

Definition at line 415 of file qsslsocket_openssl_symbols_p.h.

◆ q_OpenSSL_add_all_algorithms

#define q_OpenSSL_add_all_algorithms ( )    q_OPENSSL_add_all_algorithms_noconf()

◆ q_sk_GENERAL_NAME_num

#define q_sk_GENERAL_NAME_num (   st)    q_SKM_sk_num(GENERAL_NAME, (st))

◆ q_sk_GENERAL_NAME_value

#define q_sk_GENERAL_NAME_value (   st,
 
)    q_SKM_sk_value(GENERAL_NAME, (st), (i))

◆ q_sk_SSL_CIPHER_num

#define q_sk_SSL_CIPHER_num (   st)    q_SKM_sk_num(SSL_CIPHER, (st))

◆ q_sk_SSL_CIPHER_value

#define q_sk_SSL_CIPHER_value (   st,
 
)    q_SKM_sk_value(SSL_CIPHER, (st), (i))

◆ q_sk_X509_num

#define q_sk_X509_num (   st)    q_SKM_sk_num(X509, (st))

◆ q_sk_X509_value

#define q_sk_X509_value (   st,
 
)    q_SKM_sk_value(X509, (st), (i))

◆ q_SKM_sk_num

#define q_SKM_sk_num (   type,
  st 
)    ((int (*)(const STACK_OF(type) *))q_sk_num)(st)

Definition at line 403 of file qsslsocket_openssl_symbols_p.h.

◆ q_SKM_sk_value

#define q_SKM_sk_value (   type,
  st,
 
)    ((type * (*)(const STACK_OF(type) *, int))q_sk_value)(st, i)

Definition at line 404 of file qsslsocket_openssl_symbols_p.h.

◆ q_SSL_CTX_add_extra_chain_cert

#define q_SSL_CTX_add_extra_chain_cert (   ctx,
  x509 
)    q_SSL_CTX_ctrl(ctx,SSL_CTRL_EXTRA_CHAIN_CERT,0,(char *)x509)

Definition at line 411 of file qsslsocket_openssl_symbols_p.h.

◆ q_SSL_CTX_set_options

#define q_SSL_CTX_set_options (   ctx,
  op 
)    q_SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(op),NULL)

◆ q_X509_get_notAfter

#define q_X509_get_notAfter (   x)    X509_get_notAfter(x)

◆ q_X509_get_notBefore

#define q_X509_get_notBefore (   x)    X509_get_notBefore(x)

Function Documentation

◆ q_ASN1_INTEGER_get()

long q_ASN1_INTEGER_get ( ASN1_INTEGER *  a)

◆ q_ASN1_STRING_data()

unsigned char* q_ASN1_STRING_data ( ASN1_STRING *  a)

◆ q_ASN1_STRING_length()

int q_ASN1_STRING_length ( ASN1_STRING *  a)

◆ q_ASN1_STRING_to_UTF8()

int q_ASN1_STRING_to_UTF8 ( unsigned char **  a,
ASN1_STRING *  b 
)

Referenced by _q_mapFromX509Name().

◆ q_BIO_ctrl()

long q_BIO_ctrl ( BIO *  a,
int  b,
long  c,
void *  d 
)

◆ q_BIO_free()

int q_BIO_free ( BIO *  a)

◆ q_BIO_new()

BIO* q_BIO_new ( BIO_METHOD *  a)

◆ q_BIO_new_mem_buf()

BIO* q_BIO_new_mem_buf ( void *  a,
int  b 
)

◆ q_BIO_read()

int q_BIO_read ( BIO *  a,
void *  b,
int  c 
)

◆ q_BIO_s_mem()

BIO_METHOD* q_BIO_s_mem ( )

◆ q_BIO_write()

int q_BIO_write ( BIO *  a,
const void *  b,
int  c 
)

◆ q_BN_num_bits()

int q_BN_num_bits ( const BIGNUM *  a)

Referenced by QSslKey::length().

◆ q_CRYPTO_free()

void q_CRYPTO_free ( void *  a)

Referenced by _q_mapFromX509Name().

◆ q_CRYPTO_num_locks()

int q_CRYPTO_num_locks ( )

◆ q_CRYPTO_set_id_callback()

void q_CRYPTO_set_id_callback ( unsigned long(*)()  a)

◆ q_CRYPTO_set_locking_callback()

void q_CRYPTO_set_locking_callback ( void(*)(int, int, const char *, int)  a)

◆ q_d2i_X509()

X509* q_d2i_X509 ( X509 **  a,
unsigned char **  b,
long  c 
)

◆ q_DSA_free()

void q_DSA_free ( DSA *  a)

Referenced by QSslKeyPrivate::clear().

◆ q_ERR_error_string()

char* q_ERR_error_string ( unsigned long  a,
char *  b 
)

◆ q_ERR_get_error()

unsigned long q_ERR_get_error ( )

◆ q_EVP_des_ede3_cbc()

const EVP_CIPHER* q_EVP_des_ede3_cbc ( )

Referenced by QSslKey::toPem().

◆ q_EVP_PKEY_assign()

int q_EVP_PKEY_assign ( EVP_PKEY *  a,
int  b,
char *  c 
)

◆ q_EVP_PKEY_free()

void q_EVP_PKEY_free ( EVP_PKEY *  a)

◆ q_EVP_PKEY_get1_DSA()

DSA* q_EVP_PKEY_get1_DSA ( EVP_PKEY *  a)

◆ q_EVP_PKEY_get1_RSA()

RSA* q_EVP_PKEY_get1_RSA ( EVP_PKEY *  a)

◆ q_EVP_PKEY_new()

EVP_PKEY* q_EVP_PKEY_new ( )

◆ q_EVP_PKEY_set1_DSA()

int q_EVP_PKEY_set1_DSA ( EVP_PKEY *  a,
DSA *  b 
)

◆ q_EVP_PKEY_set1_RSA()

int q_EVP_PKEY_set1_RSA ( EVP_PKEY *  a,
RSA *  b 
)

◆ q_EVP_PKEY_type()

int q_EVP_PKEY_type ( int  a)

◆ q_getTimeFromASN1()

QDateTime q_getTimeFromASN1 ( const ASN1_TIME *  aTime)

Definition at line 893 of file qsslsocket_openssl_symbols.cpp.

Referenced by QSslCertificatePrivate::QSslCertificate_from_X509().

894 {
895  size_t lTimeLength = aTime->length;
896  char *pString = (char *) aTime->data;
897 
898  if (aTime->type == V_ASN1_UTCTIME) {
899 
900  char lBuffer[24];
901  char *pBuffer = lBuffer;
902 
903  if ((lTimeLength < 11) || (lTimeLength > 17))
904  return QDateTime();
905 
906  memcpy(pBuffer, pString, 10);
907  pBuffer += 10;
908  pString += 10;
909 
910  if ((*pString == 'Z') || (*pString == '-') || (*pString == '+')) {
911  *pBuffer++ = '0';
912  *pBuffer++ = '0';
913  } else {
914  *pBuffer++ = *pString++;
915  *pBuffer++ = *pString++;
916  // Skip any fractional seconds...
917  if (*pString == '.') {
918  pString++;
919  while ((*pString >= '0') && (*pString <= '9'))
920  pString++;
921  }
922  }
923 
924  *pBuffer++ = 'Z';
925  *pBuffer++ = '\0';
926 
927  time_t lSecondsFromUCT;
928  if (*pString == 'Z') {
929  lSecondsFromUCT = 0;
930  } else {
931  if ((*pString != '+') && (*pString != '-'))
932  return QDateTime();
933 
934  lSecondsFromUCT = ((pString[1] - '0') * 10 + (pString[2] - '0')) * 60;
935  lSecondsFromUCT += (pString[3] - '0') * 10 + (pString[4] - '0');
936  lSecondsFromUCT *= 60;
937  if (*pString == '-')
938  lSecondsFromUCT = -lSecondsFromUCT;
939  }
940 
941  tm lTime;
942  lTime.tm_sec = ((lBuffer[10] - '0') * 10) + (lBuffer[11] - '0');
943  lTime.tm_min = ((lBuffer[8] - '0') * 10) + (lBuffer[9] - '0');
944  lTime.tm_hour = ((lBuffer[6] - '0') * 10) + (lBuffer[7] - '0');
945  lTime.tm_mday = ((lBuffer[4] - '0') * 10) + (lBuffer[5] - '0');
946  lTime.tm_mon = (((lBuffer[2] - '0') * 10) + (lBuffer[3] - '0')) - 1;
947  lTime.tm_year = ((lBuffer[0] - '0') * 10) + (lBuffer[1] - '0');
948  if (lTime.tm_year < 50)
949  lTime.tm_year += 100; // RFC 2459
950 
951  QDate resDate(lTime.tm_year + 1900, lTime.tm_mon + 1, lTime.tm_mday);
952  QTime resTime(lTime.tm_hour, lTime.tm_min, lTime.tm_sec);
953 
954  QDateTime result(resDate, resTime, Qt::UTC);
955  result = result.addSecs(lSecondsFromUCT);
956  return result;
957 
958  } else if (aTime->type == V_ASN1_GENERALIZEDTIME) {
959 
960  if (lTimeLength < 15)
961  return QDateTime(); // hopefully never triggered
962 
963  // generalized time is always YYYYMMDDHHMMSSZ (RFC 2459, section 4.1.2.5.2)
964  tm lTime;
965  lTime.tm_sec = ((pString[12] - '0') * 10) + (pString[13] - '0');
966  lTime.tm_min = ((pString[10] - '0') * 10) + (pString[11] - '0');
967  lTime.tm_hour = ((pString[8] - '0') * 10) + (pString[9] - '0');
968  lTime.tm_mday = ((pString[6] - '0') * 10) + (pString[7] - '0');
969  lTime.tm_mon = (((pString[4] - '0') * 10) + (pString[5] - '0'));
970  lTime.tm_year = ((pString[0] - '0') * 1000) + ((pString[1] - '0') * 100) +
971  ((pString[2] - '0') * 10) + (pString[3] - '0');
972 
973  QDate resDate(lTime.tm_year, lTime.tm_mon, lTime.tm_mday);
974  QTime resTime(lTime.tm_hour, lTime.tm_min, lTime.tm_sec);
975 
976  QDateTime result(resDate, resTime, Qt::UTC);
977  return result;
978 
979  } else {
980  qWarning("unsupported date format detected");
981  return QDateTime();
982  }
983 
984 }
int tm_min
int tm_mday
The QDate class provides date functions.
Definition: qdatetime.h:55
int tm_year
The QTime class provides clock time functions.
Definition: qdatetime.h:148
unsigned long time_t
int tm_mon
Q_CORE_EXPORT void qWarning(const char *,...)
The QDateTime class provides date and time functions.
Definition: qdatetime.h:216
if(void) toggleToolbarShown
int tm_sec
int tm_hour

◆ q_i2d_X509()

int q_i2d_X509 ( X509 a,
unsigned char **  b 
)

◆ q_OBJ_nid2sn()

const char* q_OBJ_nid2sn ( int  a)

Referenced by _q_mapFromX509Name().

◆ q_OBJ_obj2nid()

int q_OBJ_obj2nid ( const ASN1_OBJECT *  a)

Referenced by _q_mapFromX509Name().

◆ q_OPENSSL_add_all_algorithms_conf()

void q_OPENSSL_add_all_algorithms_conf ( )

◆ q_OPENSSL_add_all_algorithms_noconf()

void q_OPENSSL_add_all_algorithms_noconf ( )

◆ q_PEM_read_bio_DSA_PUBKEY()

DSA* q_PEM_read_bio_DSA_PUBKEY ( BIO *  a,
DSA **  b,
pem_password_cb *  c,
void *  d 
)

◆ q_PEM_read_bio_DSAPrivateKey()

DSA* q_PEM_read_bio_DSAPrivateKey ( BIO *  a,
DSA **  b,
pem_password_cb *  c,
void *  d 
)

◆ q_PEM_read_bio_RSA_PUBKEY()

RSA* q_PEM_read_bio_RSA_PUBKEY ( BIO *  a,
RSA **  b,
pem_password_cb *  c,
void *  d 
)

◆ q_PEM_read_bio_RSAPrivateKey()

RSA* q_PEM_read_bio_RSAPrivateKey ( BIO *  a,
RSA **  b,
pem_password_cb *  c,
void *  d 
)

◆ q_PEM_write_bio_DSA_PUBKEY()

int q_PEM_write_bio_DSA_PUBKEY ( BIO *  a,
DSA *  b 
)

Referenced by QSslKey::toPem().

◆ q_PEM_write_bio_DSAPrivateKey()

int q_PEM_write_bio_DSAPrivateKey ( BIO *  a,
DSA *  b,
const EVP_CIPHER *  c,
unsigned char *  d,
int  e,
pem_password_cb *  f,
void *  g 
)

Referenced by QSslKey::toPem().

◆ q_PEM_write_bio_RSA_PUBKEY()

int q_PEM_write_bio_RSA_PUBKEY ( BIO *  a,
RSA *  b 
)

Referenced by QSslKey::toPem().

◆ q_PEM_write_bio_RSAPrivateKey()

int q_PEM_write_bio_RSAPrivateKey ( BIO *  a,
RSA *  b,
const EVP_CIPHER *  c,
unsigned char *  d,
int  e,
pem_password_cb *  f,
void *  g 
)

Referenced by QSslKey::toPem().

◆ q_RAND_seed()

void q_RAND_seed ( const void *  a,
int  b 
)

◆ q_RAND_status()

int q_RAND_status ( )

◆ q_resolveOpenSslSymbols()

bool q_resolveOpenSslSymbols ( )

Definition at line 574 of file qsslsocket_openssl_symbols.cpp.

Referenced by QSslSocketPrivate::ensureLibraryLoaded(), and q_resolveOpenSslSymbols().

575 {
576  static volatile bool symbolsResolved = false;
577  static volatile bool triedToResolveSymbols = false;
578 #ifndef QT_NO_THREAD
580 #endif
581  if (symbolsResolved)
582  return true;
583  if (triedToResolveSymbols)
584  return false;
585  triedToResolveSymbols = true;
586 
587 #ifdef Q_OS_WIN
589 #else
590  QPair<QLibrary *, QLibrary *> libs = loadOpenSsl();
591 #endif
592  if (!libs.first || !libs.second)
593  // failed to load them
594  return false;
595 
596 #ifdef Q_OS_SYMBIAN
597 #ifdef SSLEAY_MACROS
598  RESOLVEFUNC(ASN1_dup, 125, libs.second )
599 #endif
600  RESOLVEFUNC(ASN1_INTEGER_get, 48, libs.second )
601  RESOLVEFUNC(ASN1_STRING_data, 71, libs.second )
602  RESOLVEFUNC(ASN1_STRING_length, 76, libs.second )
603  RESOLVEFUNC(ASN1_STRING_to_UTF8, 86, libs.second )
604  RESOLVEFUNC(BIO_ctrl, 184, libs.second )
605  RESOLVEFUNC(BIO_free, 209, libs.second )
606  RESOLVEFUNC(BIO_new, 222, libs.second )
607  RESOLVEFUNC(BIO_new_mem_buf, 230, libs.second )
608  RESOLVEFUNC(BIO_read, 244, libs.second )
609  RESOLVEFUNC(BIO_s_mem, 251, libs.second )
610  RESOLVEFUNC(BIO_write, 269, libs.second )
611  RESOLVEFUNC(BN_num_bits, 387, libs.second )
612  RESOLVEFUNC(CRYPTO_free, 469, libs.second )
613  RESOLVEFUNC(CRYPTO_num_locks, 500, libs.second )
614  RESOLVEFUNC(CRYPTO_set_id_callback, 513, libs.second )
615  RESOLVEFUNC(CRYPTO_set_locking_callback, 516, libs.second )
616  RESOLVEFUNC(DSA_free, 594, libs.second )
617  RESOLVEFUNC(ERR_error_string, 744, libs.second )
618  RESOLVEFUNC(ERR_get_error, 749, libs.second )
619  RESOLVEFUNC(EVP_des_ede3_cbc, 919, libs.second )
620  RESOLVEFUNC(EVP_PKEY_assign, 859, libs.second )
621  RESOLVEFUNC(EVP_PKEY_set1_RSA, 880, libs.second )
622  RESOLVEFUNC(EVP_PKEY_set1_DSA, 879, libs.second )
623  RESOLVEFUNC(EVP_PKEY_free, 867, libs.second )
624  RESOLVEFUNC(EVP_PKEY_get1_DSA, 869, libs.second )
625  RESOLVEFUNC(EVP_PKEY_get1_RSA, 870, libs.second )
626  RESOLVEFUNC(EVP_PKEY_new, 876, libs.second )
627  RESOLVEFUNC(EVP_PKEY_type, 882, libs.second )
628  RESOLVEFUNC(OBJ_nid2sn, 1036, libs.second )
629  RESOLVEFUNC(OBJ_obj2nid, 1037, libs.second )
630 #ifdef SSLEAY_MACROS // ### verify
631  RESOLVEFUNC(PEM_ASN1_read_bio, 1180, libs.second )
632 #else
633  RESOLVEFUNC(PEM_read_bio_DSAPrivateKey, 1219, libs.second )
634  RESOLVEFUNC(PEM_read_bio_RSAPrivateKey, 1228, libs.second )
635  RESOLVEFUNC(PEM_write_bio_DSAPrivateKey, 1260, libs.second )
636  RESOLVEFUNC(PEM_write_bio_RSAPrivateKey, 1271, libs.second )
637 #endif
638  RESOLVEFUNC(PEM_read_bio_DSA_PUBKEY, 1220, libs.second )
639  RESOLVEFUNC(PEM_read_bio_RSA_PUBKEY, 1230, libs.second )
640  RESOLVEFUNC(PEM_write_bio_DSA_PUBKEY, 1261, libs.second )
641  RESOLVEFUNC(PEM_write_bio_RSA_PUBKEY, 1273, libs.second )
642  RESOLVEFUNC(RAND_seed, 1426, libs.second )
643  RESOLVEFUNC(RAND_status, 1429, libs.second )
644  RESOLVEFUNC(RSA_free, 1450, libs.second )
645  RESOLVEFUNC(sk_free, 2571, libs.second )
646  RESOLVEFUNC(sk_num, 2576, libs.second )
647  RESOLVEFUNC(sk_pop_free, 2578, libs.second )
648  RESOLVEFUNC(sk_value, 2585, libs.second )
649  RESOLVEFUNC(SSL_CIPHER_description, 11, libs.first )
650  RESOLVEFUNC(SSL_CTX_check_private_key, 21, libs.first )
651  RESOLVEFUNC(SSL_CTX_ctrl, 22, libs.first )
652  RESOLVEFUNC(SSL_CTX_free, 24, libs.first )
653  RESOLVEFUNC(SSL_CTX_new, 35, libs.first )
654  RESOLVEFUNC(SSL_CTX_set_cipher_list, 40, libs.first )
655  RESOLVEFUNC(SSL_CTX_set_default_verify_paths, 44, libs.first )
656  RESOLVEFUNC(SSL_CTX_set_verify, 56, libs.first )
657  RESOLVEFUNC(SSL_CTX_set_verify_depth, 57, libs.first )
658  RESOLVEFUNC(SSL_CTX_use_certificate, 64, libs.first )
659  RESOLVEFUNC(SSL_CTX_use_certificate_file, 67, libs.first )
660  RESOLVEFUNC(SSL_CTX_use_PrivateKey, 58, libs.first )
661  RESOLVEFUNC(SSL_CTX_use_RSAPrivateKey, 61, libs.first )
662  RESOLVEFUNC(SSL_CTX_use_PrivateKey_file, 60, libs.first )
663  RESOLVEFUNC(SSL_accept, 82, libs.first )
664  RESOLVEFUNC(SSL_clear, 92, libs.first )
665  RESOLVEFUNC(SSL_connect, 93, libs.first )
666  RESOLVEFUNC(SSL_free, 99, libs.first )
667  RESOLVEFUNC(SSL_get_ciphers, 104, libs.first )
668  RESOLVEFUNC(SSL_get_current_cipher, 106, libs.first )
669  RESOLVEFUNC(SSL_get_error, 110, libs.first )
670  RESOLVEFUNC(SSL_get_peer_cert_chain, 117, libs.first )
671  RESOLVEFUNC(SSL_get_peer_certificate, 118, libs.first )
672  RESOLVEFUNC(SSL_get_verify_result, 132, libs.first )
673  RESOLVEFUNC(SSL_library_init, 137, libs.first )
674  RESOLVEFUNC(SSL_load_error_strings, 139, libs.first )
675  RESOLVEFUNC(SSL_new, 140, libs.first )
676 #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT)
677  RESOLVEFUNC(SSL_ctrl, 95, libs.first )
678 #endif
679  RESOLVEFUNC(SSL_read, 143, libs.first )
680  RESOLVEFUNC(SSL_set_accept_state, 148, libs.first )
681  RESOLVEFUNC(SSL_set_bio, 149, libs.first )
682  RESOLVEFUNC(SSL_set_connect_state, 152, libs.first )
683  RESOLVEFUNC(SSL_shutdown, 173, libs.first )
684  RESOLVEFUNC(SSL_write, 188, libs.first )
685  RESOLVEFUNC(SSLv2_client_method, 192, libs.first )
686  RESOLVEFUNC(SSLv3_client_method, 195, libs.first )
687  RESOLVEFUNC(SSLv23_client_method, 189, libs.first )
688  RESOLVEFUNC(TLSv1_client_method, 198, libs.first )
689  RESOLVEFUNC(SSLv2_server_method, 194, libs.first )
690  RESOLVEFUNC(SSLv3_server_method, 197, libs.first )
691  RESOLVEFUNC(SSLv23_server_method, 191, libs.first )
692  RESOLVEFUNC(TLSv1_server_method, 200, libs.first )
693  RESOLVEFUNC(SSL_CTX_load_verify_locations, 34, libs.first )
694  RESOLVEFUNC(X509_NAME_entry_count, 1821, libs.second )
695  RESOLVEFUNC(X509_NAME_get_entry, 1823, libs.second )
696  RESOLVEFUNC(X509_NAME_ENTRY_get_data, 1808, libs.second )
697  RESOLVEFUNC(X509_NAME_ENTRY_get_object, 1809, libs.second )
698  RESOLVEFUNC(X509_PUBKEY_get, 1844, libs.second )
699  RESOLVEFUNC(X509_STORE_free, 1939, libs.second )
700  RESOLVEFUNC(X509_STORE_new, 1942, libs.second )
701  RESOLVEFUNC(X509_STORE_add_cert, 1936, libs.second )
702  RESOLVEFUNC(X509_STORE_CTX_free, 1907, libs.second )
703  RESOLVEFUNC(X509_STORE_CTX_init, 1919, libs.second )
704  RESOLVEFUNC(X509_STORE_CTX_new, 1920, libs.second )
705  RESOLVEFUNC(X509_STORE_CTX_set_purpose, 1931, libs.second )
706  RESOLVEFUNC(X509_cmp, 1992, libs.second )
707 #ifndef SSLEAY_MACROS
708  RESOLVEFUNC(X509_dup, 1997, libs.second )
709 #endif
710  RESOLVEFUNC(X509_EXTENSION_get_object, 1785, libs.second )
711  RESOLVEFUNC(X509_free, 2001, libs.second )
712  RESOLVEFUNC(X509_get_ext, 2012, libs.second )
713  RESOLVEFUNC(X509_get_ext_count, 2016, libs.second )
714  RESOLVEFUNC(X509_get_ext_d2i, 2017, libs.second )
715  RESOLVEFUNC(X509_get_issuer_name, 2018, libs.second )
716  RESOLVEFUNC(X509_get_subject_name, 2022, libs.second )
717  RESOLVEFUNC(X509_verify_cert, 2069, libs.second )
718  RESOLVEFUNC(d2i_X509, 2309, libs.second )
719  RESOLVEFUNC(i2d_X509, 2489, libs.second )
720 #ifdef SSLEAY_MACROS
721  RESOLVEFUNC(i2d_DSAPrivateKey, 2395, libs.second )
722  RESOLVEFUNC(i2d_RSAPrivateKey, 2476, libs.second )
723  RESOLVEFUNC(d2i_DSAPrivateKey, 2220, libs.second )
724  RESOLVEFUNC(d2i_RSAPrivateKey, 2296, libs.second )
725 #endif
726  RESOLVEFUNC(OPENSSL_add_all_algorithms_noconf, 1153, libs.second )
727  RESOLVEFUNC(OPENSSL_add_all_algorithms_conf, 1152, libs.second )
728  RESOLVEFUNC(SSLeay, 1504, libs.second )
729 #else // Q_OS_SYMBIAN
730 #ifdef SSLEAY_MACROS
731  RESOLVEFUNC(ASN1_dup)
732 #endif
733  RESOLVEFUNC(ASN1_INTEGER_get)
734  RESOLVEFUNC(ASN1_STRING_data)
735  RESOLVEFUNC(ASN1_STRING_length)
736  RESOLVEFUNC(ASN1_STRING_to_UTF8)
737  RESOLVEFUNC(BIO_ctrl)
738  RESOLVEFUNC(BIO_free)
739  RESOLVEFUNC(BIO_new)
740  RESOLVEFUNC(BIO_new_mem_buf)
741  RESOLVEFUNC(BIO_read)
742  RESOLVEFUNC(BIO_s_mem)
743  RESOLVEFUNC(BIO_write)
744  RESOLVEFUNC(BN_num_bits)
745  RESOLVEFUNC(CRYPTO_free)
746  RESOLVEFUNC(CRYPTO_num_locks)
747  RESOLVEFUNC(CRYPTO_set_id_callback)
748  RESOLVEFUNC(CRYPTO_set_locking_callback)
749  RESOLVEFUNC(DSA_free)
750  RESOLVEFUNC(ERR_error_string)
751  RESOLVEFUNC(ERR_get_error)
752  RESOLVEFUNC(EVP_des_ede3_cbc)
753  RESOLVEFUNC(EVP_PKEY_assign)
754  RESOLVEFUNC(EVP_PKEY_set1_RSA)
755  RESOLVEFUNC(EVP_PKEY_set1_DSA)
756  RESOLVEFUNC(EVP_PKEY_free)
757  RESOLVEFUNC(EVP_PKEY_get1_DSA)
758  RESOLVEFUNC(EVP_PKEY_get1_RSA)
759  RESOLVEFUNC(EVP_PKEY_new)
760  RESOLVEFUNC(EVP_PKEY_type)
761  RESOLVEFUNC(OBJ_nid2sn)
762  RESOLVEFUNC(OBJ_obj2nid)
763 #ifdef SSLEAY_MACROS // ### verify
764  RESOLVEFUNC(PEM_ASN1_read_bio)
765 #else
766  RESOLVEFUNC(PEM_read_bio_DSAPrivateKey)
767  RESOLVEFUNC(PEM_read_bio_RSAPrivateKey)
768  RESOLVEFUNC(PEM_write_bio_DSAPrivateKey)
769  RESOLVEFUNC(PEM_write_bio_RSAPrivateKey)
770 #endif
771  RESOLVEFUNC(PEM_read_bio_DSA_PUBKEY)
772  RESOLVEFUNC(PEM_read_bio_RSA_PUBKEY)
773  RESOLVEFUNC(PEM_write_bio_DSA_PUBKEY)
774  RESOLVEFUNC(PEM_write_bio_RSA_PUBKEY)
775  RESOLVEFUNC(RAND_seed)
776  RESOLVEFUNC(RAND_status)
777  RESOLVEFUNC(RSA_free)
778  RESOLVEFUNC(sk_free)
779  RESOLVEFUNC(sk_num)
780  RESOLVEFUNC(sk_pop_free)
781  RESOLVEFUNC(sk_value)
782  RESOLVEFUNC(SSL_CIPHER_description)
783  RESOLVEFUNC(SSL_CTX_check_private_key)
784  RESOLVEFUNC(SSL_CTX_ctrl)
785  RESOLVEFUNC(SSL_CTX_free)
786  RESOLVEFUNC(SSL_CTX_new)
787  RESOLVEFUNC(SSL_CTX_set_cipher_list)
788  RESOLVEFUNC(SSL_CTX_set_default_verify_paths)
789  RESOLVEFUNC(SSL_CTX_set_verify)
790  RESOLVEFUNC(SSL_CTX_set_verify_depth)
791  RESOLVEFUNC(SSL_CTX_use_certificate)
792  RESOLVEFUNC(SSL_CTX_use_certificate_file)
793  RESOLVEFUNC(SSL_CTX_use_PrivateKey)
794  RESOLVEFUNC(SSL_CTX_use_RSAPrivateKey)
795  RESOLVEFUNC(SSL_CTX_use_PrivateKey_file)
796  RESOLVEFUNC(SSL_accept)
797  RESOLVEFUNC(SSL_clear)
798  RESOLVEFUNC(SSL_connect)
799  RESOLVEFUNC(SSL_free)
800  RESOLVEFUNC(SSL_get_ciphers)
801  RESOLVEFUNC(SSL_get_current_cipher)
802  RESOLVEFUNC(SSL_get_error)
803  RESOLVEFUNC(SSL_get_peer_cert_chain)
804  RESOLVEFUNC(SSL_get_peer_certificate)
805  RESOLVEFUNC(SSL_get_verify_result)
806  RESOLVEFUNC(SSL_library_init)
807  RESOLVEFUNC(SSL_load_error_strings)
808  RESOLVEFUNC(SSL_new)
809 #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT)
810  RESOLVEFUNC(SSL_ctrl)
811 #endif
812  RESOLVEFUNC(SSL_read)
813  RESOLVEFUNC(SSL_set_accept_state)
814  RESOLVEFUNC(SSL_set_bio)
815  RESOLVEFUNC(SSL_set_connect_state)
816  RESOLVEFUNC(SSL_shutdown)
817  RESOLVEFUNC(SSL_write)
818 #ifndef OPENSSL_NO_SSL2
819  RESOLVEFUNC(SSLv2_client_method)
820 #endif
821  RESOLVEFUNC(SSLv3_client_method)
822  RESOLVEFUNC(SSLv23_client_method)
823  RESOLVEFUNC(TLSv1_client_method)
824 #ifndef OPENSSL_NO_SSL2
825  RESOLVEFUNC(SSLv2_server_method)
826 #endif
827  RESOLVEFUNC(SSLv3_server_method)
828  RESOLVEFUNC(SSLv23_server_method)
829  RESOLVEFUNC(TLSv1_server_method)
830  RESOLVEFUNC(X509_NAME_entry_count)
831  RESOLVEFUNC(X509_NAME_get_entry)
832  RESOLVEFUNC(X509_NAME_ENTRY_get_data)
833  RESOLVEFUNC(X509_NAME_ENTRY_get_object)
834  RESOLVEFUNC(X509_PUBKEY_get)
835  RESOLVEFUNC(X509_STORE_free)
836  RESOLVEFUNC(X509_STORE_new)
837  RESOLVEFUNC(X509_STORE_add_cert)
838  RESOLVEFUNC(X509_STORE_CTX_free)
839  RESOLVEFUNC(X509_STORE_CTX_init)
840  RESOLVEFUNC(X509_STORE_CTX_new)
841  RESOLVEFUNC(X509_STORE_CTX_set_purpose)
842  RESOLVEFUNC(X509_STORE_CTX_get_error)
843  RESOLVEFUNC(X509_STORE_CTX_get_error_depth)
844  RESOLVEFUNC(X509_STORE_CTX_get_current_cert)
845  RESOLVEFUNC(X509_STORE_CTX_get_chain)
846  RESOLVEFUNC(X509_cmp)
847 #ifndef SSLEAY_MACROS
848  RESOLVEFUNC(X509_dup)
849 #endif
850  RESOLVEFUNC(X509_EXTENSION_get_object)
851  RESOLVEFUNC(X509_free)
852  RESOLVEFUNC(X509_get_ext)
853  RESOLVEFUNC(X509_get_ext_count)
854  RESOLVEFUNC(X509_get_ext_d2i)
855  RESOLVEFUNC(X509_get_issuer_name)
856  RESOLVEFUNC(X509_get_subject_name)
857  RESOLVEFUNC(X509_verify_cert)
858  RESOLVEFUNC(d2i_X509)
859  RESOLVEFUNC(i2d_X509)
860 #ifdef SSLEAY_MACROS
861  RESOLVEFUNC(i2d_DSAPrivateKey)
862  RESOLVEFUNC(i2d_RSAPrivateKey)
863  RESOLVEFUNC(d2i_DSAPrivateKey)
864  RESOLVEFUNC(d2i_RSAPrivateKey)
865 #endif
866  RESOLVEFUNC(OPENSSL_add_all_algorithms_noconf)
867  RESOLVEFUNC(OPENSSL_add_all_algorithms_conf)
868  RESOLVEFUNC(SSL_CTX_load_verify_locations)
869  RESOLVEFUNC(SSLeay)
870 #endif // Q_OS_SYMBIAN
871  symbolsResolved = true;
872  delete libs.first;
873  delete libs.second;
874  return true;
875 }
return SSL_METHOD * TLSv1_client_method
T1 first
Definition: qpair.h:65
return SSL_METHOD * SSLv23_client_method
T2 second
Definition: qpair.h:66
static QPair< QSystemLibrary *, QSystemLibrary * > loadOpenSslWin32()
return SSL_METHOD * SSLv23_server_method
#define RESOLVEFUNC(func)
return SSL_METHOD * TLSv1_server_method
int q_SSL_library_init()
return EVP_PKEY * EVP_PKEY_new
X509_STORE * X509_STORE_new
return int CRYPTO_num_locks
return const EVP_CIPHER * EVP_des_ede3_cbc
return SSL_METHOD * SSLv2_client_method
The QMutexLocker class is a convenience class that simplifies locking and unlocking mutexes...
Definition: qmutex.h:101
return X509_STORE_CTX * X509_STORE_CTX_new
unsigned long ERR_get_error
return SSL_METHOD * SSLv3_client_method
return SSL_METHOD * SSLv2_server_method
return SSL_METHOD * SSLv3_server_method
static QMutex * globalInstanceGet(const void *address)
Returns a QMutex from the global mutex pool.
Definition: qmutexpool.cpp:150

◆ q_RSA_free()

void q_RSA_free ( RSA *  a)

Referenced by QSslKeyPrivate::clear().

◆ q_sk_free()

void q_sk_free ( STACK *  a)

◆ q_sk_num()

int q_sk_num ( STACK *  a)

◆ q_sk_pop_free()

void q_sk_pop_free ( STACK *  a,
void(*)(void *)  b 
)

◆ q_sk_value()

char* q_sk_value ( STACK *  a,
int  b 
)

◆ q_SSL_accept()

int q_SSL_accept ( SSL *  a)

◆ q_SSL_CIPHER_description()

char* q_SSL_CIPHER_description ( SSL_CIPHER *  a,
char *  b,
int  c 
)

◆ q_SSL_clear()

int q_SSL_clear ( SSL *  a)

◆ q_SSL_connect()

int q_SSL_connect ( SSL *  a)

◆ q_SSL_CTX_check_private_key()

int q_SSL_CTX_check_private_key ( SSL_CTX *  a)

◆ q_SSL_CTX_ctrl()

long q_SSL_CTX_ctrl ( SSL_CTX *  a,
int  b,
long  c,
void *  d 
)

◆ q_SSL_CTX_free()

void q_SSL_CTX_free ( SSL_CTX *  a)

◆ q_SSL_CTX_load_verify_locations()

int q_SSL_CTX_load_verify_locations ( SSL_CTX *  ctx,
const char *  CAfile,
const char *  CApath 
)

◆ q_SSL_CTX_new()

SSL_CTX* q_SSL_CTX_new ( SSL_METHOD *  a)

◆ q_SSL_CTX_set_cipher_list()

int q_SSL_CTX_set_cipher_list ( SSL_CTX *  a,
const char *  b 
)

◆ q_SSL_CTX_set_default_verify_paths()

int q_SSL_CTX_set_default_verify_paths ( SSL_CTX *  a)

◆ q_SSL_CTX_set_verify()

void q_SSL_CTX_set_verify ( SSL_CTX *  a,
int  b,
int(*)(int, X509_STORE_CTX *)  c 
)

◆ q_SSL_CTX_set_verify_depth()

void q_SSL_CTX_set_verify_depth ( SSL_CTX *  a,
int  b 
)

◆ q_SSL_CTX_use_certificate()

int q_SSL_CTX_use_certificate ( SSL_CTX *  a,
X509 b 
)

◆ q_SSL_CTX_use_certificate_file()

int q_SSL_CTX_use_certificate_file ( SSL_CTX *  a,
const char *  b,
int  c 
)

◆ q_SSL_CTX_use_PrivateKey()

int q_SSL_CTX_use_PrivateKey ( SSL_CTX *  a,
EVP_PKEY *  b 
)

◆ q_SSL_CTX_use_PrivateKey_file()

int q_SSL_CTX_use_PrivateKey_file ( SSL_CTX *  a,
const char *  b,
int  c 
)

◆ q_SSL_CTX_use_RSAPrivateKey()

int q_SSL_CTX_use_RSAPrivateKey ( SSL_CTX *  a,
RSA *  b 
)

◆ q_SSL_free()

void q_SSL_free ( SSL *  a)

◆ q_SSL_get_current_cipher()

SSL_CIPHER* q_SSL_get_current_cipher ( SSL *  a)

◆ q_SSL_get_error()

int q_SSL_get_error ( SSL *  a,
int  b 
)

◆ q_SSL_get_peer_certificate()

X509* q_SSL_get_peer_certificate ( SSL *  a)

◆ q_SSL_get_verify_result()

long q_SSL_get_verify_result ( SSL *  a)

◆ q_SSL_library_init()

int q_SSL_library_init ( )

◆ q_SSL_load_error_strings()

void q_SSL_load_error_strings ( )

◆ q_SSL_new()

SSL* q_SSL_new ( SSL_CTX *  a)

◆ q_SSL_read()

int q_SSL_read ( SSL *  a,
void *  b,
int  c 
)

◆ q_SSL_set_accept_state()

void q_SSL_set_accept_state ( SSL *  a)

◆ q_SSL_set_bio()

void q_SSL_set_bio ( SSL *  a,
BIO *  b,
BIO *  c 
)

◆ q_SSL_set_connect_state()

void q_SSL_set_connect_state ( SSL *  a)

◆ q_SSL_shutdown()

int q_SSL_shutdown ( SSL *  a)

◆ q_SSL_write()

int q_SSL_write ( SSL *  a,
const void *  b,
int  c 
)

◆ q_SSLeay()

long q_SSLeay ( )

◆ q_SSLv23_client_method()

SSL_METHOD* q_SSLv23_client_method ( )

◆ q_SSLv23_server_method()

SSL_METHOD* q_SSLv23_server_method ( )

◆ q_SSLv2_client_method()

SSL_METHOD* q_SSLv2_client_method ( )

◆ q_SSLv2_server_method()

SSL_METHOD* q_SSLv2_server_method ( )

◆ q_SSLv3_client_method()

SSL_METHOD* q_SSLv3_client_method ( )

◆ q_SSLv3_server_method()

SSL_METHOD* q_SSLv3_server_method ( )

◆ q_TLSv1_client_method()

SSL_METHOD* q_TLSv1_client_method ( )

◆ q_TLSv1_server_method()

SSL_METHOD* q_TLSv1_server_method ( )

◆ q_X509_cmp()

int q_X509_cmp ( X509 a,
X509 b 
)

◆ q_X509_dup()

X509* q_X509_dup ( X509 a)

◆ q_X509_EXTENSION_get_object()

ASN1_OBJECT* q_X509_EXTENSION_get_object ( X509_EXTENSION *  a)

◆ q_X509_free()

void q_X509_free ( X509 a)

◆ q_X509_get_ext()

X509_EXTENSION* q_X509_get_ext ( X509 a,
int  b 
)

◆ q_X509_get_ext_count()

int q_X509_get_ext_count ( X509 a)

◆ q_X509_get_ext_d2i()

void* q_X509_get_ext_d2i ( X509 a,
int  b,
int *  c,
int *  d 
)

◆ q_X509_get_issuer_name()

X509_NAME* q_X509_get_issuer_name ( X509 a)

◆ q_X509_get_subject_name()

X509_NAME* q_X509_get_subject_name ( X509 a)

◆ q_X509_NAME_entry_count()

int q_X509_NAME_entry_count ( X509_NAME *  a)

Referenced by _q_mapFromX509Name().

◆ q_X509_NAME_ENTRY_get_data()

ASN1_STRING* q_X509_NAME_ENTRY_get_data ( X509_NAME_ENTRY *  a)

Referenced by _q_mapFromX509Name().

◆ q_X509_NAME_ENTRY_get_object()

ASN1_OBJECT* q_X509_NAME_ENTRY_get_object ( X509_NAME_ENTRY *  a)

Referenced by _q_mapFromX509Name().

◆ q_X509_NAME_get_entry()

X509_NAME_ENTRY* q_X509_NAME_get_entry ( X509_NAME *  a,
int  b 
)

Referenced by _q_mapFromX509Name().

◆ q_X509_PUBKEY_get()

EVP_PKEY* q_X509_PUBKEY_get ( X509_PUBKEY *  a)

◆ q_X509_STORE_add_cert()

int q_X509_STORE_add_cert ( X509_STORE *  ctx,
X509 x 
)

◆ q_X509_STORE_CTX_free()

void q_X509_STORE_CTX_free ( X509_STORE_CTX *  storeCtx)

◆ q_X509_STORE_CTX_get_current_cert()

X509* q_X509_STORE_CTX_get_current_cert ( X509_STORE_CTX *  ctx)

◆ q_X509_STORE_CTX_get_error()

int q_X509_STORE_CTX_get_error ( X509_STORE_CTX *  ctx)

Referenced by q_X509Callback().

◆ q_X509_STORE_CTX_get_error_depth()

int q_X509_STORE_CTX_get_error_depth ( X509_STORE_CTX *  ctx)

Referenced by q_X509Callback().

◆ q_X509_STORE_CTX_init()

int q_X509_STORE_CTX_init ( X509_STORE_CTX *  ctx,
X509_STORE *  store,
X509 x509,
STACK_OF(X509) *  chain 
)

◆ q_X509_STORE_CTX_new()

X509_STORE_CTX* q_X509_STORE_CTX_new ( )

◆ q_X509_STORE_CTX_set_purpose()

int q_X509_STORE_CTX_set_purpose ( X509_STORE_CTX *  ctx,
int  purpose 
)

◆ q_X509_STORE_free()

void q_X509_STORE_free ( X509_STORE *  store)

◆ q_X509_STORE_new()

X509_STORE* q_X509_STORE_new ( )

◆ q_X509_verify_cert()

int q_X509_verify_cert ( X509_STORE_CTX *  ctx)

◆ STACK_OF() [1/2]

STACK_OF ( SSL_CIPHER  )

◆ STACK_OF() [2/2]

STACK_OF ( X509  )