class tcpsocket::CertificateAuthority

Used to specify information about trusted certificate lists (CA files)

Child Classes

Used to specify information about trusted certificate lists (CA files)

This class has no child classes.

Public Methods

[more] CertificateAuthority(const std::string& caFile, const std::string& caDirectory)
Constructs the certificate authority information
[more]std::string getAuthorityDirectory()
Provides the directory used as a list of trusted certificates
[more]std::string getAuthorityFile()
Provides the name of the file used as a list of trusted certificates
[more]void setAuthorityDirectory(const std::string& caDirectory)
Determines which directory should be used as a source of trusted certificates
[more]void setAuthorityFile(const std::string& caFile)
Determines which file should be used as a list of trusted certificates

Member Documentation


CertificateAuthority (const std::string& caFile, const std::string& caDirectory)
Constructs the certificate authority information
Parameters:
caFile - [in, optional] specifies the PEM file containing trusted certificates
caDirectory - [in, optional] specifies the directory containing trusted certificate PEM files


std::string getAuthorityFile ()
Provides the name of the file used as a list of trusted certificates
Returns:
the name of the file used as a list of trusted certificates.


std::string getAuthorityDirectory ()
Provides the directory used as a list of trusted certificates
Returns:
the directory used as a list of trusted certificates.


void setAuthorityFile (const std::string& caFile)
Determines which file should be used as a list of trusted certificates
Parameters:
caFile - [in] specifies the PEM file containing trusted certificates


void setAuthorityDirectory (const std::string& caDirectory)
Determines which directory should be used as a source of trusted certificates
Parameters:
caDirectory - [in] specifies the directory containing trusted certificate PEM files

Table of Contents HTML hierarchy of classes or Java


Safmq Documentation, copyright (c) 2004-2010 Matthew J. Battey, Licensed Under Apache License Ver 2.0
Powered By: Get SAFMQ: Store and Forward Message Queue at SourceForge.net. Fast, secure and Free Open Source software downloads