Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6R::P6CRYPTODATASOURCE Struct Reference

#include <p6crypto.h>

Public Attributes

P6UINT32 byteCount
 
const P6CHARpBuffer
 
const P6WCHARpFilePath
 
P6BOOL skipLineTermination
 

Detailed Description

Where to get the data to process, either a file or generic buffer.

pBuffer data is referred to in bytes. The first non-NULL source is used (e.g., pFilePath is always used if not equal to NULL).

byteCount contains the number of bytes of data in pBuffer.

skipLineTermination is used during message digest and signature creation and verification. If this flag is set to true (P6TRUE), then ALL line terimation (carriage return and line feed characters) will be ignored during message digest calculation. This allows the signature for the text file or buffer to be platform independent. However, if it is desired to provide platform DEPENDENT signatures, then make sure that he "skipLineTermination" flag is set to false (P6FALSE).

Definition at line 36 of file p6crypto.h.


The documentation for this struct was generated from the following file: