CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SslCertificateStore Class Reference

#include <ssl.h>

Public Member Functions

 SslCertificateStore ()
 
void UseSystemCertificatePath ()
 
bool ApplySslCertificatePath (CURL *handle) const
 
std::string GetCaPath () const
 

Private Attributes

std::string ca_path_
 
std::string ca_bundle_
 

Detailed Description

This file is part of the CernVM File System. Manages the location of certificates, either system certificates or the ones in $X509_CERT_DIR or /etc/grid-security/certificates On construction, $X509_CERT_DIR has precendence over /etc/grid-security/certificates. $X509_CERT_BUNDLE is checked for a bundle. The path settings can later be overwritten by UseSystemCertificatePath(); the $X509_CERT_BUNDLE settings are unaffected by UseSystemCertificatePath().

Definition at line 21 of file ssl.h.

Constructor & Destructor Documentation

SslCertificateStore::SslCertificateStore ( )

Definition at line 46 of file ssl.cc.

Member Function Documentation

bool SslCertificateStore::ApplySslCertificatePath ( CURL *  handle) const

Definition at line 58 of file ssl.cc.

std::string SslCertificateStore::GetCaPath ( ) const
inline

Definition at line 27 of file ssl.h.

void SslCertificateStore::UseSystemCertificatePath ( )

Definition at line 68 of file ssl.cc.

Referenced by s3fanout::S3FanoutManager::S3FanoutManager().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

std::string SslCertificateStore::ca_bundle_
private

Definition at line 31 of file ssl.h.

Referenced by ApplySslCertificatePath(), SslCertificateStore(), and UseSystemCertificatePath().

std::string SslCertificateStore::ca_path_
private

The documentation for this class was generated from the following files: