Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Utilities
Collaboration diagram for Utilities:

Macros

#define MODSSL_LIBRARY_VERSION   OPENSSL_VERSION_NUMBER
 
#define MODSSL_LIBRARY_NAME   "OpenSSL"
 
#define MODSSL_LIBRARY_TEXT   OPENSSL_VERSION_TEXT
 
#define MODSSL_LIBRARY_DYNTEXT   SSLeay_version(SSLEAY_VERSION)
 
#define MODSSL_SESSION_MAX_DER   1024*10
 
#define MODSSL_SESSION_ID_STRING_LEN   ((SSL_MAX_SSL_SESSION_ID_LENGTH + 1) * 2)
 

Functions

void modssl_init_app_data2_idx (void)
 
voidmodssl_get_app_data2 (SSL *)
 
void modssl_set_app_data2 (SSL *, void *)
 
EVP_PKEY * modssl_read_privatekey (const char *, EVP_PKEY **, pem_password_cb *, void *)
 
int modssl_smart_shutdown (SSL *ssl)
 
BOOL modssl_X509_getBC (X509 *, int *, int *)
 
char * modssl_X509_NAME_ENTRY_to_string (apr_pool_t *p, X509_NAME_ENTRY *xsne)
 
char * modssl_X509_NAME_to_string (apr_pool_t *, X509_NAME *, int)
 
BOOL modssl_X509_getSAN (apr_pool_t *, X509 *, int, const char *, int, apr_array_header_t **)
 
BOOL modssl_X509_match_name (apr_pool_t *, X509 *, const char *, BOOL, server_rec *)
 
char * modssl_SSL_SESSION_id2sz (IDCONST unsigned char *, int, char *, int)
 

Detailed Description

Macro Definition Documentation

#define MODSSL_LIBRARY_DYNTEXT   SSLeay_version(SSLEAY_VERSION)
#define MODSSL_LIBRARY_NAME   "OpenSSL"
#define MODSSL_LIBRARY_TEXT   OPENSSL_VERSION_TEXT
#define MODSSL_LIBRARY_VERSION   OPENSSL_VERSION_NUMBER

SSL library version number

#define MODSSL_SESSION_ID_STRING_LEN   ((SSL_MAX_SSL_SESSION_ID_LENGTH + 1) * 2)

max length for modssl_SSL_SESSION_id2sz

#define MODSSL_SESSION_MAX_DER   1024*10

Maximum length of a DER encoded session. FIXME: There is no define in OpenSSL, but OpenSSL uses 1024*10, so this value should be ok. Although we have no warm feeling.

Function Documentation

void* modssl_get_app_data2 ( SSL *  )
void modssl_init_app_data2_idx ( void  )

Additional Functions

EVP_PKEY* modssl_read_privatekey ( const char *  ,
EVP_PKEY **  ,
pem_password_cb *  ,
void  
)
void modssl_set_app_data2 ( SSL *  ,
void  
)
int modssl_smart_shutdown ( SSL *  ssl)
char* modssl_SSL_SESSION_id2sz ( IDCONST unsigned char *  ,
int  ,
char *  ,
int   
)
BOOL modssl_X509_getBC ( X509 *  ,
int ,
int  
)
BOOL modssl_X509_getSAN ( apr_pool_t ,
X509 *  ,
int  ,
const char *  ,
int  ,
apr_array_header_t **   
)
BOOL modssl_X509_match_name ( apr_pool_t ,
X509 *  ,
const char *  ,
BOOL  ,
server_rec  
)
char* modssl_X509_NAME_ENTRY_to_string ( apr_pool_t p,
X509_NAME_ENTRY *  xsne 
)
char* modssl_X509_NAME_to_string ( apr_pool_t ,
X509_NAME *  ,
int   
)