mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-26 19:44:32 +00:00
initial files for securemessage (pgp, smime)
svn path=/trunk/kdesupport/qca/; revision=375965
This commit is contained in:
parent
81a616e067
commit
371b20b54c
57
include/QtCrypto/qca_securemessage.h
Normal file
57
include/QtCrypto/qca_securemessage.h
Normal file
@ -0,0 +1,57 @@
|
||||
/*
|
||||
* qca_securemessage.h - Qt Cryptographic Architecture
|
||||
* Copyright (C) 2003-2005 Justin Karneges <justin@affinix.com>
|
||||
* Copyright (C) 2004,2005 Brad Hards <bradh@frogmouth.net>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef QCA_SECUREMESSAGE_H
|
||||
#define QCA_SECUREMESSAGE_H
|
||||
|
||||
#include <qobject.h>
|
||||
#include "qca_core.h"
|
||||
|
||||
namespace QCA
|
||||
{
|
||||
class SecureMessage : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
// encrypt, decrypt, sign, verify
|
||||
};
|
||||
|
||||
class SecureMessageSystem : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
// setup, passphrase control
|
||||
};
|
||||
|
||||
class OpenPGP : public SecureMessageSystem
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
};
|
||||
|
||||
class SMIME : public SecureMessageSystem
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
2
qca.pro
2
qca.pro
@ -37,6 +37,7 @@ PUBLIC_HEADERS += \
|
||||
$$QCA_INC/qca_publickey.h \
|
||||
$$QCA_INC/qca_cert.h \
|
||||
$$QCA_INC/qca_securelayer.h \
|
||||
$$QCA_INC/qca_securemessage.h \
|
||||
$$QCA_INC/qcaprovider.h \
|
||||
|
||||
HEADERS += $$PRIVATE_HEADERS $$PUBLIC_HEADERS
|
||||
@ -50,6 +51,7 @@ SOURCES += \
|
||||
$$QCA_CPP/qca_publickey.cpp \
|
||||
$$QCA_CPP/qca_cert.cpp \
|
||||
$$QCA_CPP/qca_securelayer.cpp \
|
||||
$$QCA_CPP/qca_securemessage.cpp \
|
||||
$$QCA_CPP/qca_default.cpp
|
||||
|
||||
DEFINES += QCA_NO_SYSTEMSTORE
|
||||
|
42
src/qca_securemessage.cpp
Normal file
42
src/qca_securemessage.cpp
Normal file
@ -0,0 +1,42 @@
|
||||
/*
|
||||
* qca_securemessage.cpp - Qt Cryptographic Architecture
|
||||
* Copyright (C) 2003-2005 Justin Karneges <justin@affinix.com>
|
||||
* Copyright (C) 2004,2005 Brad Hards <bradh@frogmouth.net>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
|
||||
#include "qca_securemessage.h"
|
||||
|
||||
namespace QCA {
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// SecureMessage
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// SecureMessageSystem
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// OpenPGP
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// SMIME
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user