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_string_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/10/01.
11 //
12 
13 #ifndef VIRTRU_TDF3_SDK_VIRTRU_ENCRYPT_STRING_PARAM_H
14 #define VIRTRU_TDF3_SDK_VIRTRU_ENCRYPT_STRING_PARAM_H
15 
16 #include <iostream>
17 #include "virtru_encrypt_params.h"
18 
19 namespace virtru {
20 
22  class Client;
23 
25  public:
28  EncryptStringParams(const std::string& plainText);
29 
32  EncryptStringParams(std::string&& plainText);
33 
36 
38  EncryptStringParams() = delete;
39 
41  EncryptStringParams(const EncryptStringParams& encryptStreamParams);
42 
44  EncryptStringParams& operator=(const EncryptStringParams& encryptStreamParams);
45 
47  EncryptStringParams(EncryptStringParams&& encryptStreamParams) noexcept;
48 
50  EncryptStringParams& operator=(EncryptStringParams&& encryptStreamParams);
51 
52  private:
53  friend Client;
54 
55  std::string m_plainData;
56  };
57 }
58 
59 #endif //VIRTRU_TDF3_SDK_VIRTRU_ENCRYPT_STRING_PARAM_H
EncryptStringParams & operator=(const EncryptStringParams &encryptStreamParams)
Assignment operator.
EncryptStringParams()=delete
Default constructor not supported.
~EncryptStringParams()
Destructor.
std::string m_plainData
Definition: virtru_encrypt_string_params.h:55
Definition: virtru_encrypt_string_params.h:24
Definition: virtru_encrypt_params.h:24
friend Client
Definition: virtru_encrypt_string_params.h:53