Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISymmetricCrypto::decryptContinue ( const P6CHAR pInData,
P6UINT32  inSize,
P6CHAR pOutData,
P6UINT32 pOutSize 
)
pure virtual

The decryptStart(), decryptContinue(), and decryptEnd() methods comprise a streaming decryption interface.

A streaming interface allows the caller to decrypt blocks of data at a time and does not require all the entire encrypted message be contained in a single buffer in order to perform decryption. The decryptContinue() method can be called multiple times, one for each block of data to be decrypted while the decryptStart() and decryptEnd() are only called once.

Parameters
pInData[ in ] Specifies the data to be decrypted.
inSize[ in ] Size in bytes of the pInData array.
pOutData[ in ] Specifies where to place the decrypted data.
pOutSize[ in ] Size in bytes of the pOutData array. [ out ] Specifies the number of decrypted bytes written into pOutData.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to initialize was not made before this call.
P6R::eInvalidArgOne of the parameters is NULL.
P6R::eInvalidStateA successful call to decryptStart() must be done before a call to this method.
P6R::eFailAndExceptionThe decryption calculation failed. Exception record provides detailed error info.
P6R::eTooSmallThe pOutData buffer is too small to hold the decrypted result data.