Virtru SDK for C++  2.8.0
Virtru C++ SDK library - Create, Read, and Manage TDF3 Files
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
virtru_encrypt_stream_params.h
Go to the documentation of this file.
1 /*
2 * Copyright © 2018 - 2019 Virtru Corporation
3 *
4 * SPDX - License - Identifier: MIT
5 *
6 */
7 //
8 // Virtru TDF3 SDK
9 //
10 // Created by Sujan Reddy on 2019/09/25.
11 //
12 
13 #ifndef VIRTRU_TDF3_SDK_VIRTRU_ENCRYPT_STREAM_PARAM_H
14 #define VIRTRU_TDF3_SDK_VIRTRU_ENCRYPT_STREAM_PARAM_H
15 
16 #include <iostream>
17 #include "virtru_encrypt_params.h"
18 
19 namespace virtru {
20 
22  class Client;
23 
25  public:
29  EncryptStreamParams(std::istream& inStream, std::ostream& outStream);
30 
33 
35  EncryptStreamParams() = delete;
36 
38  EncryptStreamParams(const EncryptStreamParams& encryptStreamParams) = delete;
39 
41  EncryptStreamParams& operator=(const EncryptStreamParams& encryptStreamParams) = delete;
42 
44  EncryptStreamParams(EncryptStreamParams&& encryptStreamParams) = delete;
45 
47  EncryptStreamParams& operator=(EncryptStreamParams&& encryptStreamParams) = delete;
48 
49  private:
50  friend Client;
51 
52  std::istream& m_inStream;
53  std::ostream& m_outStream;
54  };
55 }
56 
57 #endif //VIRTRU_TDF3_SDK_VIRTRU_ENCRYPT_STREAM_PARAM_H
EncryptStreamParams()=delete
Default constructor not supported.
std::ostream & m_outStream
Definition: virtru_encrypt_stream_params.h:53
std::istream & m_inStream
Definition: virtru_encrypt_stream_params.h:52
EncryptStreamParams & operator=(const EncryptStreamParams &encryptStreamParams)=delete
Assignment operator.
~EncryptStreamParams()
Destructor.
friend Client
Definition: virtru_encrypt_stream_params.h:50
Definition: virtru_encrypt_stream_params.h:24
Definition: virtru_encrypt_params.h:24