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_file_params_c.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/24.
11 //
12 
13 #ifndef VIRTRU_TDF3_SRC_VIRTRU_ENCRYPT_FILE_PARAMS_C_H
14 #define VIRTRU_TDF3_SRC_VIRTRU_ENCRYPT_FILE_PARAMS_C_H
15 
16 #include "virtru_constants_c.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
29 
35 DLL_PUBLIC VEncryptFileParamsPtr VEncryptFileParamsCreate2(const char* inFilePath, const char* outFilePath);
36 
40 
44 
50 DLL_PUBLIC VSTATUS VEncryptFileParamsSetMimeType(VEncryptFileParamsPtr vEncryptFileParamsPtr, const char* mimeType);
51 
59 
65 DLL_PUBLIC VSTATUS VEncryptFileParamsSetDisplayName(VEncryptFileParamsPtr vEncryptFileParamsPtr, const char* displayName);
66 
71 DLL_PUBLIC VSTATUS VEncryptFileParamsSetDisplayMessage(VEncryptFileParamsPtr vEncryptFileParamsPtr, const char* displayMessage);
72 
78 DLL_PUBLIC VSTATUS VEncryptFileParamsShareWithUsers(VEncryptFileParamsPtr vEncryptFileParamsPtr,const char ** users, unsigned int usersCount);
79 
80 #ifdef __cplusplus
81 }
82 #endif
83 
84 #endif //VIRTRU_TDF3_SRC_VIRTRU_ENCRYPT_FILE_PARAMS_C_H
DLL_PUBLIC VEncryptFileParamsPtr VEncryptFileParamsCreate2(const char *inFilePath, const char *outFilePath)
DLL_PUBLIC VSTATUS VEncryptFileParamsSetPolicy(VEncryptFileParamsPtr vEncryptFileParamsPtr, VPolicyPtr vPolicyPtr)
DLL_PUBLIC VSTATUS VEncryptFileParamsSetMimeType(VEncryptFileParamsPtr vEncryptFileParamsPtr, const char *mimeType)
DLL_PUBLIC VSTATUS VEncryptFileParamsSetDisplayMessage(VEncryptFileParamsPtr vEncryptFileParamsPtr, const char *displayMessage)
DLL_PUBLIC VSTATUS VEncryptFileParamsSetDisplayName(VEncryptFileParamsPtr vEncryptFileParamsPtr, const char *displayName)
VSTATUS
Definition: virtru_constants_c.h:48
DLL_PUBLIC void VEncryptFileParamsDestroy(VEncryptFileParamsPtr vEncryptFileParamsPtr)
void * VPolicyPtr
Definition: virtru_constants_c.h:80
DLL_PUBLIC VSTATUS VEncryptFileParamsShareWithUsers(VEncryptFileParamsPtr vEncryptFileParamsPtr, const char **users, unsigned int usersCount)
#define DLL_PUBLIC
Definition: virtru_constants_c.h:38
void * VEncryptFileParamsPtr
Definition: virtru_constants_c.h:74
DLL_PUBLIC VEncryptFileParamsPtr VEncryptFileParamsCreate1(const char *inFilePath)