Rudiments
encryption.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3 
4  protected:
5  void setRandomBuffer(unsigned char *buffer,
6  size_t buffersize);
7  bytebuffer *getIn();
8  bytebuffer *getOut();
9  virtual void setError(encryptionerror_t err);
10  void setDirty(bool dirty);
11  bool getDirty();
12  void setEncrypted(bool encrypted);
13  bool getEncrypted();
14 
15  private:
16  void initKey();
17  void initIv();
18 
19  encryptionprivate *pvt;
Definition: bytebuffer.h:13