#include <ident.h>
Inheritance diagram for SST::IdentHostState:
Public Member Functions | |
Ident | hostIdent (bool create=true) |
Obtain our own global primary host identity and private key. | |
void | setHostIdent (const Ident &ident) |
Set our primary host identity. | |
void | initHostIdent (QSettings *settings) |
Initialize our primary host identity using a QSettings registry for persistence. |
|
Obtain our own global primary host identity and private key.
|
|
Initialize our primary host identity using a QSettings registry for persistence. Looks for the tags 'id' and 'key' in the provided settings, and if they contain a valid host identity and private key, uses them to set the primary host identity. Otherwise, generates a new primary host identity and encodes them into the provided settings for future invocations of the application. This function does nothing if the primary host identity is already initialized and contains a valid private key.
|
|
Set our primary host identity.
|