EHS Embedded HTTP Server  1.5.0.132
PassphraseHandler Class Reference

This interface describes a handler for retrieving passphrases. More...

#include <ehs.h>

+ Inheritance diagram for PassphraseHandler:

List of all members.

Public Member Functions

virtual const std::string GetPassphrase (bool twice)=0
 Retrieves a passphrase.
virtual ~PassphraseHandler ()
 Destructor.

Detailed Description

This interface describes a handler for retrieving passphrases.

When using SSL, this interface is used to fetch passphrases for the server certificates. EHS implements a simple default handler which provides the passphrase that has been provided via the server parameters.


Member Function Documentation

virtual const std::string GetPassphrase ( bool  twice) [pure virtual]

Retrieves a passphrase.

Parameters:
twiceIf true, this passphrase should be requested twice in order to prevent typing errors.
Returns:
A std::string holding the passphrase.

Implemented in EHS.


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