CernVM-FS  2.12.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 precedence 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

Member Function Documentation

bool SslCertificateStore::ApplySslCertificatePath ( CURL *  handle) const

Definition at line 58 of file

Referenced by MakeAcquireRequest(), and MakeEndRequest().

Here is the caller graph for this function:

std::string SslCertificateStore::GetCaPath ( ) const

Definition at line 27 of file ssl.h.

void SslCertificateStore::UseSystemCertificatePath ( )

Member Data Documentation

std::string SslCertificateStore::ca_bundle_

Definition at line 31 of file ssl.h.

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

std::string SslCertificateStore::ca_path_

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