11 #ifndef P6DECRYPTENVELOPE_H__
12 #define P6DECRYPTENVELOPE_H__ 1
119 #define IF_p6IDecryptEnvelope {0x2518c74a,0x444,0x4f05,{0x9c,0x6f,0xfd,0xe,0xdf,0x59,0xfe,0x4c}}
122 #define COMP_p6DecryptEnvelope {0xa91a9e78,0x5e4a,0x46c7,{0xb6,0xdf,0x5f,0x47,0xc1,0x6,0x80,0x5}}
This interface provides key metadata infrormation and key access.
virtual P6R::P6ERR initialize(P6DECENVFLAGS flags)=0
Sets up the object to run properly.
const P6DECENVFLAGS P6DECENV_NOFLAGS
virtual P6R::P6ERR decryptEnvelope(P6CRYPTODATASOURCE *pInData, P6CRYPTODATASINK *pOutData)=0
Using the symetric key generated by calling genSessionKey encrypt the block of data provided by the d...
Where to get the data to process, either a file or generic buffer.
The base interface all [p6]COM components must derive from and implement.
virtual P6R::P6ERR setKey(p6ICryptoKey *pCryptoKey, P6CRYPTODATASOURCE *pInKeyWrapper)=0
Load RSA Private key from a file on disk and the session key wrapper into the p6crypto component...
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.
P6UINT32 P6DECENVFLAGS
P6DECENVFLAGS.
const P6DECENVFLAGS P6DECENV_TRACEON
P6R Cryptographic key interface definitions.