Server-Side SSL Internals
Collaboration diagram for Server-Side SSL Internals:

Functions

static bool setSerialNumber (ASN1_INTEGER *ai, BIGNUM const *serial)
 
static int ssl_ask_password_cb (char *buf, int size, int rwflag, void *userdata)
 
static void ssl_ask_password (SSL_CTX *context, const char *prompt)
 
static int ssl_verify_cb (int ok, X509_STORE_CTX *ctx)
 
static void ssl_free_CertChain (void *, void *ptr, CRYPTO_EX_DATA *, int, long, void *)
 
static const char * ssl_get_attribute (X509_NAME *name, const char *attribute_name)
 
static X509 * readSslX509CertificatesChain (char const *certFilename, Security::CertList &chain)
 

Detailed Description

Function Documentation

static X509* readSslX509CertificatesChain ( char const *  certFilename,
Security::CertList chain 
)
static

Read certificate from file. See also: static readSslX509Certificate function, gadgets.cc file

Definition at line 1243 of file support.cc.

References debugs, and NULL.

Referenced by Ssl::readCertChainAndPrivateKeyFromFiles().

static bool setSerialNumber ( ASN1_INTEGER *  ai,
BIGNUM const *  serial 
)
static

Set serial random serial number or set random serial number.

Definition at line 53 of file gadgets.cc.

Referenced by generateFakeSslCertificate().

static void ssl_ask_password ( SSL_CTX *  context,
const char *  prompt 
)
static
static int ssl_ask_password_cb ( char *  buf,
int  size,
int  rwflag,
void *  userdata 
)
static
static void ssl_free_CertChain ( void *  ,
void *  ptr,
CRYPTO_EX_DATA *  ,
int  ,
long  ,
void *   
)
static

Callback handler function to release STACK_OF(X509) "ex" data stored in an SSL object.

Definition at line 440 of file support.cc.

References STACK_OF().

Referenced by Ssl::Initialize().

static const char* ssl_get_attribute ( X509_NAME *  name,
const char *  attribute_name 
)
static

Definition at line 604 of file support.cc.

References DBG_IMPORTANT, and debugs.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors