11 #ifndef P6ENCRYPTENVELOPE_H__
12 #define P6ENCRYPTENVELOPE_H__ 1
125 #define IF_p6IEncryptEnvelope {0x466f6387,0xae48,0x487b,{0x89,0x93,0xd,0x5,0x52,0x36,0x28,0x19}}
128 #define COMP_p6EncryptEnvelope {0x8ca5bf75,0x3aff,0x4f79,{0xb4,0xa5,0xb9,0x54,0x92,0xf6,0x9e,0x21}}
This interface provides key metadata infrormation and key access.
const P6ENCENVFLAGS P6ENCENV_NOFLAGS
P6UINT32 P6ENCENVFLAGS
P6ENCENVFLAGS.
[p6]COM Cryptographic Random Number Generator.
virtual P6R::P6ERR addKey(p6ICryptoKey *pCryptoKey, P6CRYPTODATASINK *pOutKeyWrapper)=0
Load RSA public key into the p6crypto component.
P6CRYPTOCIPHER
Cipher Type.
unsigned short int P6UINT16
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 initialize(P6ENCENVFLAGS flags, P6UINT16 numPubKeys, P6CRYPTOCIPHER mode, P6UINT32 keySize, p6IRandom *pRandom)=0
Sets up the object to run properly.
const P6ENCENVFLAGS P6ENCENV_TRACEON
Provides a cryptographically strong random number generator.
This interface provides a mechanism to use PKI for the encryption of chunks of data.
virtual P6R::P6ERR encryptEnvelope(P6CRYPTODATASOURCE *pInData, P6CRYPTODATASINK *pOutData)=0
Using the symetric key generated by calling genSessionKey encrypt the block of data provided by the d...
Where to put the data processed, either a file or generic buffer.
P6R Cryptographic key interface definitions.