Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

glite::rgma::SSLContext Class Reference

#include <SSLContext.h>

List of all members.

Public Member Functions

 SSLContext ()
void flush ()
SSL_CTX * get ()

Static Public Member Functions

const std::string & SSLContext::getSslCAFiles ()


Detailed Description

Secure socket context. It is encapsulated into ServletConnection as a static object so that it only gets evaluated on the first call to SSLContext's get() method.

The context is the certificates and passwords needed to establish the SSL session.


Constructor & Destructor Documentation

glite::rgma::SSLContext::SSLContext  ) 
 

Constructor does very little - setting up the context is done by get method.


Member Function Documentation

void glite::rgma::SSLContext::flush  ) 
 

Delete context so that next call to get will re-evaluate it by rereading the certificates etc. Used to cause the context to be refreshed from file.

SSL_CTX * glite::rgma::SSLContext::get  ) 
 

Returns pointer to SSL CTX object. Lazy evaluation so that it is created only when this method is called for the first time (or after a SSLContext::flush()).

const std::string& glite::rgma::SSLContext::SSLContext::getSslCAFiles  )  [static]
 

Getter for sslCAFilesStatic static attribute.


The documentation for this class was generated from the following files:
Generated on Wed Apr 25 19:11:33 2007 for glite-rgma-api-cpp by doxygen 1.3.5