Clases |
struct | SigDocParse_st |
'defines' |
#define | FLAG_XML_ELEM 1 |
#define | FLAG_SIGNATURE 2 |
#define | FLAG_SIG_PART 3 |
#define | FLAG_TS_INP 4 |
#define | ADR_ENTRY_CITY 1 |
#define | ADR_ENTRY_STATE 2 |
#define | ADR_ENTRY_COUNTRY 3 |
#define | ADR_ENTRY_ZIP 4 |
'typedefs' |
typedef struct SigDocParse_st | SigDocParse |
Funciones |
int | ddocCheckFormatAndVer (const char *format, const char *version) |
char * | canonicalizeXML (char *source, int len) |
int | escapeXMLSymbols (const char *src, int srclen, char **dest) |
void | ddocSAXCleanup (SigDocParse *pctx) |
int | ddocSaxParseStartCollecting (SigDocParse *pctx, int nFlag, int bNoXml) |
int | ddocSaxParseEndCollecting (SigDocParse *pctx, int nFlag, int bNoXml) |
const char * | ddocSaxParseFindAttrib (const xmlChar **atts, const char *name, const char *defval) |
void | decodeURI (const char *uri, char *id, int nIdLen, char *adr, int nAdrLen) |
void | handleStartSignedDoc (SigDocParse *pctx, const xmlChar *name, const xmlChar **atts) |
void | handleStartDataFile (SigDocParse *pctx, const xmlChar *name, const xmlChar **atts) |
void | handleDataFile (SigDocParse *pctx, const xmlChar *value, int len) |
void | handleEndDataFile (SigDocParse *pctx, const xmlChar *name) |
void | handleStartSignature (SigDocParse *pctx, const xmlChar *name, const xmlChar **atts) |
void | handleStartReference (SigDocParse *pctx, const xmlChar *name, const xmlChar **atts) |
void | handleStartSignatureMethod (SigDocParse *pctx, const xmlChar *name, const xmlChar **atts) |
void | handleStartDigestMethod (SigDocParse *pctx, const xmlChar *name, const xmlChar **atts) |
int | selectCertIdAndValueTypes (SignatureInfo *pSigInfo) |
void | handleEndEncapsulatedOCSPValue (SigDocParse *pctx, const xmlChar *name) |
void | handleStartSignedProperties (SigDocParse *pctx, const xmlChar *name, const xmlChar **atts) |
void | handleEndSignedProperties (SigDocParse *pctx, const xmlChar *name) |
void | handleStartSignedInfo (SigDocParse *pctx, const xmlChar *name, const xmlChar **atts) |
void | handleEndSignedInfo (SigDocParse *pctx, const xmlChar *name) |
void | handleStartCert (SigDocParse *pctx, const xmlChar *name, const xmlChar **atts) |
void | handleStartSigningCertificate (SigDocParse *pctx, const xmlChar *name, const xmlChar **atts) |
void | handleStartUnsignedSignatureProperties (SigDocParse *pctx, const xmlChar *name, const xmlChar **atts) |
void | handleStartCompleteCertificateRefs (SigDocParse *pctx, const xmlChar *name, const xmlChar **atts) |
void | handleStartOCSPIdentifier (SigDocParse *pctx, const xmlChar *name, const xmlChar **atts) |
void | handleEndX509Certificate (SigDocParse *pctx, const xmlChar *name) |
void | handleStartEncapsulatedX509Certificate (SigDocParse *pctx, const xmlChar *name, const xmlChar **atts) |
void | handleEndEncapsulatedX509Certificate (SigDocParse *pctx, const xmlChar *name) |
void | handleEndDigestValue (SigDocParse *pctx, const xmlChar *name) |
void | handleEndSigningTime (SigDocParse *pctx, const xmlChar *name) |
void | handleAdrEntry (SigDocParse *pctx, int nAdr) |
void | handleEndClaimedRole (SigDocParse *pctx, const xmlChar *name) |
void | handleEndCertifiedRole (SigDocParse *pctx, const xmlChar *name) |
void | handleEndIssuerSerial (SigDocParse *pctx, const xmlChar *name) |
void | handleEndIssuerName (SigDocParse *pctx, const xmlChar *name) |
int | isTextResponderId (const char *szRespId) |
void | handleEndResponderID (SigDocParse *pctx, const xmlChar *name) |
void | handleEndByKey (SigDocParse *pctx, const xmlChar *name) |
void | handleEndSignatureValue (SigDocParse *pctx, const xmlChar *name) |
int | ddocSaxParseCollectStartTag (SigDocParse *pctx, const xmlChar *name, const xmlChar **atts, char *pcFlag, DigiDocMemBuf *pMBuf) |
: The element name |
extractEndElementHandler: : An XML parser context
called when the end of an element has been detected.
|
xmlSAXHandler | debugSAXHandlerStruct |
xmlSAXHandlerPtr | debugSAXHandler = &debugSAXHandlerStruct |
xmlSAXHandler | extractSAXHandlerStruct |
xmlSAXHandlerPtr | extractSAXHandler = &extractSAXHandlerStruct |
int | ddocSaxParseCollectEndElement (SigDocParse *pctx, const xmlChar *name, char *pcFlag, DigiDocMemBuf *pMBuf) |
void | extractDecodeB64 (SigDocParse *pctx, const char *ch, int len, int lastBlock) |
void | extractBodyHandler (SigDocParse *pctx, const char *ch, int len) |
void | extractNoChangeHandler (SigDocParse *pctx, const char *ch, int len) |
EXP_OPTION int | ddocSaxReadSignedDocFromFile (SignedDoc **ppSigDoc, const char *szFileName, int checkFileDigest, long lMaxDFLen) |
EXP_OPTION int | ddocSaxReadSignedDocFromMemory (SignedDoc **ppSigDoc, const void *pData, int len, long lMaxDFLen) |
EXP_OPTION int | ddocSaxExtractDataFile (SignedDoc *pSigDoc, const char *szFileName, const char *szDataFileName, const char *szDocId, const char *szCharset) |
EXP_OPTION int | ddocSAXGetDataFile (SignedDoc *pSigDoc, const char *szFileName, const char *szDocId, DigiDocMemBuf *pOutBuf, int bKeepBase64) |
EXP_OPTION int | ddocReadNewSignaturesFromDdoc (SignedDoc *pSigDoc, const char *szFileName) |