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_data_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_DATA_PARAMS_H
14 #define VIRTRU_TDF3_SDK_VIRTRU_ENCRYPT_DATA_PARAMS_H
15 
16 #include "tdf_constants.h"
17 #include "virtru_encrypt_params.h"
18 
19 namespace virtru {
20 
22  class Client;
23 
25  public:
29  EncryptDataParams(TDFDataSourceCb&& dataSourceCb, TDFDataSinkCb&& dataSinkCb);
30 
33 
35  EncryptDataParams() = delete;
36 
38  EncryptDataParams(const EncryptDataParams& encryptDataParams) = delete;
39 
41  EncryptDataParams& operator=(const EncryptDataParams& encryptDataParams) = delete;
42 
44  EncryptDataParams(EncryptDataParams&& encryptDataParams) = delete;
45 
47  EncryptDataParams& operator=(EncryptDataParams&& encryptDataParams) = delete;
48 
49  private:
50  friend Client;
51 
54  };
55 }
56 
57 #endif //VIRTRU_TDF3_SDK_VIRTRU_ENCRYPT_DATA_PARAMS_H
Definition: virtru_encrypt_data_params.h:24
TDFDataSinkCb m_dataSinkCb
Definition: virtru_encrypt_data_params.h:53
std::function< BufferSpan(Status &) > TDFDataSourceCb
Definition: tdf_constants.h:72
TDFDataSourceCb m_dataSourceCb
Definition: virtru_encrypt_data_params.h:52
EncryptDataParams & operator=(const EncryptDataParams &encryptDataParams)=delete
Assignment operator.
friend Client
Definition: virtru_encrypt_data_params.h:50
~EncryptDataParams()
Destructor.
std::function< Status(BufferSpan)> TDFDataSinkCb
Definition: tdf_constants.h:73
Definition: virtru_encrypt_params.h:24
EncryptDataParams()=delete
Default constructor not supported.