Eneboo - Documentación para desarrolladores
|
#include <libdigidoc/DigiDocDefs.h>
#include <libdigidoc/DigiDocConvert.h>
#include <libdigidoc/DigiDocCert.h>
#include <libdigidoc/DigiDocParser.h>
#include <libdigidoc/DigiDocDebug.h>
#include <libdigidoc/DigiDocStack.h>
#include <libdigidoc/DigiDocMem.h>
#include <libdigidoc/DigiDocLib.h>
#include <libdigidoc/DigiDocOCSP.h>
#include <libxml/xmlreader.h>
#include <string.h>
'defines' | |
#define | MAX_FILENAME 250 |
#define | EXTRACT_OP_WITH_TAGS 1 |
#define | EXTRACT_OP_NO_TAGS 2 |
#define | EXTRACT_OP_BODY_ONLY 3 |
#define | EXTRACT_OP_BODY_MEM 4 |
#define | MAX_CONTENT_TYPE 50 |
Funciones | |
char * | canonicalizeXML (char *source, int len) |
int | ddocExtractProcessNode (xmlTextReaderPtr reader, FILE **phFile, const char *szDocId, const char *szDataFile, int operation, char *pszContentType, DigiDocMemBuf *pBuf) |
EXP_OPTION int | ddocXRdrExtractDataFile (SignedDoc *pSigDoc, const char *szFileName, const char *szDataFileName, const char *szDocId, const char *szCharset) |
EXP_OPTION int | ddocXRdrGetDataFile (SignedDoc *pSigDoc, const char *szFileName, const char *szDocId, DigiDocMemBuf *pBuf) |
int | ddocXRdrCopyDataFile (SignedDoc *pSigDoc, const char *szFileName, const char *szDataFileName, const char *szDocId, const char *szCharset) |
void | ddocXRdrRecordElementStart (xmlTextReaderPtr reader, ElementEntry *pCurrElem, DigiDocMemBuf *pBuf) |
void | ddocXRdrRecordElementEnd (ElementEntry *pCurrElem, DigiDocMemBuf *pBuf) |
void | ddocXRdrRecordElementContent (xmlChar *value, DigiDocMemBuf *pBuf) |
void | ddocXRdrStartCollecting (DigiDocMemBuf *pBuf, const char *szTag) |
int | ddocXRdrStopCollectingAndCalcDigest (DigiDocMemBuf *pBuf, const char *szTag, char **pDigestBuf, long *pDigestLen) |
int | ddocXRdrStopCollectingAndAssignDigest (DigiDocMemBuf *pBuf, const char *szTag, DigiDocMemBuf *pDigestBuf) |
int | ddocParseProcessNode (xmlTextReaderPtr reader, SignedDoc **ppSigDoc, ElementEntry *pStack, DigiDocMemBuf *pBuf1, DigiDocMemBuf *pBuf2, long lMaxDFLen) |
EXP_OPTION int | ddocXRdrReadSignedDocFromFile (const char *szFileName, SignedDoc **pSigDoc, long lMaxDFLen) |
EXP_OPTION int | ddocXRdrReadSignedDocFromMemory (const char *szXml, int xmlLen, SignedDoc **pSigDoc, long lMaxDFLen) |
#define EXTRACT_OP_BODY_MEM 4 |
#define EXTRACT_OP_BODY_ONLY 3 |
#define EXTRACT_OP_NO_TAGS 2 |
#define EXTRACT_OP_WITH_TAGS 1 |
#define MAX_CONTENT_TYPE 50 |
#define MAX_FILENAME 250 |
char* canonicalizeXML | ( | char * | source, |
int | len | ||
) |
int ddocExtractProcessNode | ( | xmlTextReaderPtr | reader, |
FILE ** | phFile, | ||
const char * | szDocId, | ||
const char * | szDataFile, | ||
int | operation, | ||
char * | pszContentType, | ||
DigiDocMemBuf * | pBuf | ||
) |
int ddocParseProcessNode | ( | xmlTextReaderPtr | reader, |
SignedDoc ** | ppSigDoc, | ||
ElementEntry * | pStack, | ||
DigiDocMemBuf * | pBuf1, | ||
DigiDocMemBuf * | pBuf2, | ||
long | lMaxDFLen | ||
) |
int ddocXRdrCopyDataFile | ( | SignedDoc * | pSigDoc, |
const char * | szFileName, | ||
const char * | szDataFileName, | ||
const char * | szDocId, | ||
const char * | szCharset | ||
) |
EXP_OPTION int ddocXRdrExtractDataFile | ( | SignedDoc * | pSigDoc, |
const char * | szFileName, | ||
const char * | szDataFileName, | ||
const char * | szDocId, | ||
const char * | szCharset | ||
) |
EXP_OPTION int ddocXRdrGetDataFile | ( | SignedDoc * | pSigDoc, |
const char * | szFileName, | ||
const char * | szDocId, | ||
DigiDocMemBuf * | pBuf | ||
) |
EXP_OPTION int ddocXRdrReadSignedDocFromFile | ( | const char * | szFileName, |
SignedDoc ** | pSigDoc, | ||
long | lMaxDFLen | ||
) |
EXP_OPTION int ddocXRdrReadSignedDocFromMemory | ( | const char * | szXml, |
int | xmlLen, | ||
SignedDoc ** | pSigDoc, | ||
long | lMaxDFLen | ||
) |
void ddocXRdrRecordElementContent | ( | xmlChar * | value, |
DigiDocMemBuf * | pBuf | ||
) |
void ddocXRdrRecordElementEnd | ( | ElementEntry * | pCurrElem, |
DigiDocMemBuf * | pBuf | ||
) |
void ddocXRdrRecordElementStart | ( | xmlTextReaderPtr | reader, |
ElementEntry * | pCurrElem, | ||
DigiDocMemBuf * | pBuf | ||
) |
void ddocXRdrStartCollecting | ( | DigiDocMemBuf * | pBuf, |
const char * | szTag | ||
) |
int ddocXRdrStopCollectingAndAssignDigest | ( | DigiDocMemBuf * | pBuf, |
const char * | szTag, | ||
DigiDocMemBuf * | pDigestBuf | ||
) |
int ddocXRdrStopCollectingAndCalcDigest | ( | DigiDocMemBuf * | pBuf, |
const char * | szTag, | ||
char ** | pDigestBuf, | ||
long * | pDigestLen | ||
) |