PxCrypt v0.2.2
Encrypt data within an image
Loading...
Searching...
No Matches
decoder.h
1#ifndef DECODER_H
2#define DECODER_H
3
4// Shared Library Support
5#include "pxcrypt/pxcrypt_codec_export.h"
6
7// Qt Includes
8#include <QByteArray>
9#include <QScopedPointer>
10
11namespace PxCrypt
12{
13
14class DecoderPrivate;
15
16class PXCRYPT_CODEC_EXPORT Decoder
17{
18 Q_DECLARE_PRIVATE(Decoder);
19//-Instance Variables----------------------------------------------------------------------------------------------
21protected:
22 std::unique_ptr<DecoderPrivate> d_ptr;
25//-Constructor---------------------------------------------------------------------------------------------------
27protected:
28 Decoder(std::unique_ptr<DecoderPrivate> d);
31//-Destructor---------------------------------------------------------------------------------------------------
32public:
33 virtual ~Decoder();
34
35//-Instance Functions----------------------------------------------------------------------------------------------
36public:
37 QByteArray presharedKey() const;
38 void setPresharedKey(const QByteArray& key);
39};
40
41}
42
43#endif // DECODER_H
The Encoder class is a base class from which all PxCrypt decoders derive in order to skim and decrypt...
Definition decoder.h:17
The PxCrypt namespace is the main namespace through which all functionality of the PxCrypt library is...
Definition decoder.cpp:6