EHS Embedded HTTP Server
1.5.0.132
|
This interface describes a handler for retrieving passphrases. More...
#include <ehs.h>
Public Member Functions | |
virtual const std::string | GetPassphrase (bool twice)=0 |
Retrieves a passphrase. | |
virtual | ~PassphraseHandler () |
Destructor. |
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.
virtual const std::string GetPassphrase | ( | bool | twice | ) | [pure virtual] |
Retrieves a passphrase.
twice | If true, this passphrase should be requested twice in order to prevent typing errors. |
Implemented in EHS.