signon  8.58
default-crypto-manager.h
Go to the documentation of this file.
1 /* -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of signon
4  *
5  * Copyright (C) 2011 Canonical Ltd.
6  *
7  * Contact: Alberto Mardegan <alberto.mardegan@canonical.com>
8  *
9  * This library is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public License
11  * version 2.1 as published by the Free Software Foundation.
12  *
13  * This library is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21  * 02110-1301 USA
22  */
23 
30 #ifndef SIGNON_DEFAULT_CRYPTO_MANAGER_H
31 #define SIGNON_DEFAULT_CRYPTO_MANAGER_H
32 
33 #include "SignOn/abstract-crypto-manager.h"
34 
35 #include <QObject>
36 
37 namespace SignonDaemonNS {
38 
47 class DefaultCryptoManager: public SignOn::AbstractCryptoManager
48 {
49  Q_OBJECT
50 
51 public:
52  explicit DefaultCryptoManager(QObject *parent = 0);
54 
55  /* reimplemented virtual methods */
56  virtual bool initialize(const QVariantMap &configuration);
57  QString fileSystemMountPath() const;
58 
59 private:
60  QString m_storagePath;
61 };
62 
63 } //namespace
64 
65 #endif // SIGNON_DEFAULT_CRYPTO_MANAGER_H
virtual bool initialize(const QVariantMap &configuration)
Dummy implementation of a manager for the credentials storage file system encryption.