diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2012-09-30 16:48:52 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2012-09-30 16:48:52 +0200 |
commit | 630923d0de4a5cab558531e943370f00a64b316d (patch) | |
tree | 144e29d4785de0bfd46c65cd7977bd59e8d5ab09 /distfoldd/localkey.h | |
parent | 0a174260c5dd04d516da7a6021e681d49c312547 (diff) | |
download | distfold-630923d0de4a5cab558531e943370f00a64b316d.tar.gz distfold-630923d0de4a5cab558531e943370f00a64b316d.zip |
autogenerate keys and autostartup daemon
Diffstat (limited to 'distfoldd/localkey.h')
-rw-r--r-- | distfoldd/localkey.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/distfoldd/localkey.h b/distfoldd/localkey.h new file mode 100644 index 0000000..ad23091 --- /dev/null +++ b/distfoldd/localkey.h @@ -0,0 +1,19 @@ +#ifndef LOCALKEY_H +#define LOCALKEY_H + +#include <QtCore/QString> + +class LocalKey +{ +private: + LocalKey(); + +public: + static QString localKeyDir(); + static QString localCertPath(); + static QString localPrivateKeyPath(); + + static bool setupLocalKey(); +}; + +#endif // LOCALKEY_H |