ZFFramework
Loading...
Searching...
No Matches
ZFIO_encrypt.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFIO_encrypt_h_
7#define _ZFI_ZFIO_encrypt_h_
8
9#include "ZFEncrypt.h"
11
26
27
31 , ZFMP_IN(const ZFPathInfo &, refPathInfo)
32 , ZFMP_IN(const zfstring &, encryptKey)
33 )
34
35// ============================================================
36// ZFInputForEncrypt
46 , ZFMP_IN(const ZFPathInfo &, refPathInfo)
47 , ZFMP_IN(const zfstring &, encryptKey)
48 )
49
50// ============================================================
51// ZFOutputForEncrypt
61 , ZFMP_IN(const ZFPathInfo &, refPathInfo)
62 , ZFMP_IN(const zfstring &, encryptKey)
64 )
65
66// ============================================================
67// ZFInputForEncrypt
72 , ZFMP_IN(const ZFInput &, refInput)
73 , ZFMP_IN(const zfstring &, encryptKey)
74 )
75
76// ============================================================
77// ZFOutputForEncrypt
82 , ZFMP_IN(const ZFOutput &, refOutput)
83 , ZFMP_IN(const zfstring &, encryptKey)
84 )
85
87#endif // #ifndef _ZFI_ZFIO_encrypt_h_
88
#define ZFLIB_ZFAlgorithm
used to export symbols
Definition ZFAlgorithmDef.h:14
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
encrypt util
ZFPathInfo ZFPathInfoForEncrypt(const ZFPathInfo &refPathInfo, const zfstring &encryptKey)
util to create chained path info
ZFOutput ZFOutputForEncrypt(const ZFPathInfo &refPathInfo, const zfstring &encryptKey, ZFIOOpenOptionFlags flags=(v_ZFIOOpenOption::e_Write))
util to create a encrypt file output callback
ZFInput ZFInputForEncrypt(const ZFPathInfo &refPathInfo, const zfstring &encryptKey)
util to create a file input callback
#define ZFIO_DECLARE(ZFLIB_, pathType)
see ZFIOImplForPathType
Definition ZFIODef_fwd.h:597
#define ZFMP_IN_OPT(ParamType, paramName, DefaultValue)
see ZFMP_IN
Definition ZFMethod.h:108
#define ZFMP_IN(ParamType, paramName)
macro to wrap param types for ZFMETHOD_INLINE_0 series
Definition ZFMethod.h:105
#define ZFMETHOD_FUNC_DECLARE_2(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:763
#define ZFMETHOD_FUNC_DECLARE_3(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1, ZFMP_2)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:910
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
see v_ZFIOOpenOption, ZFIOOpenOptionFlagsToString, ZFIOOpenOptionFlagsFromString
Definition ZFIODef_fwd.h:49
general input callback
Definition ZFIOCallback_input.h:36
general output callback
Definition ZFIOCallback_output.h:37
path related info storage for impl, actual meaning of the info depends on impl
Definition ZFPathInfo.h:34
file open option
Definition ZFIODef_fwd.h:41