Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6decryptenvelope.h
Go to the documentation of this file.
1 
11 #ifndef P6DECRYPTENVELOPE_H__
12 #define P6DECRYPTENVELOPE_H__ 1
13 
14 #include "p6cryptokey.h"
15 
16 
17 #ifdef __cplusplus
18 namespace P6R {
19 extern "C" {
20 #endif
21 
32 static const P6DECENVFLAGS P6DECENV_NOFLAGS = 0x00000000;
33 static const P6DECENVFLAGS P6DECENV_TRACEON = 0x00000001;
34 
35 
49 #undef INTERFACE
50 #define INTERFACE p6IDecryptEnvelope
52 {
67  P6DECLCOMMETHOD(initialize)(P6THIS_ P6DECENVFLAGS flags ) P6PURE;
68 
91  P6DECLCOMMETHOD(setKey)(P6THIS_ p6ICryptoKey* pCryptoKey, P6CRYPTODATASOURCE* pInKeyWrapper ) P6PURE;
92 
118  P6DECLCOMMETHOD(decryptEnvelope)(P6THIS_ P6CRYPTODATASOURCE* pInData, P6CRYPTODATASINK* pOutData ) P6PURE;
119 };
120 
121 // {2518C74A-0444-4f05-9C6F-FD0EDF59FE4C}
122 #define IF_p6IDecryptEnvelope {0x2518c74a,0x444,0x4f05,{0x9c,0x6f,0xfd,0xe,0xdf,0x59,0xfe,0x4c}}
123 
124 // {A91A9E78-5E4A-46c7-B6DF-5F47C1068005}
125 #define COMP_p6DecryptEnvelope {0xa91a9e78,0x5e4a,0x46c7,{0xb6,0xdf,0x5f,0x47,0xc1,0x6,0x80,0x5}}
126 
127 #ifdef __cplusplus
128 } /* extern "C" */
129 } // namespace
130 #endif
131 
132 
133 
134 #endif
135 
136 
137 
138 
139 
140 
141 
142 
This interface provides key metadata infrormation and key access.
Definition: p6cryptokey.h:1198
uint32_t P6UINT32
Definition: p6types.h:77
#define P6DECLAREICOM
Definition: p6defs.h:191
#define P6PURE
Definition: p6defs.h:192
Where to get the data to process, either a file or generic buffer.
Definition: p6crypto.h:36
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:97
This interface provides a mechanism to use PKI for the encryption of chunks of data.
Where to put the data processed, either a file or generic buffer.
Definition: p6crypto.h:54
P6UINT32 P6DECENVFLAGS
P6DECENVFLAGS.
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
#define P6THIS_
Definition: p6defs.h:193
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188
P6R Cryptographic key interface definitions.