Eneboo - Documentación para desarrolladores
Funciones
Referencia del Archivo src/libdigidoc/DigiDocObj.c
#include <libdigidoc/DigiDocObj.h>
#include <libdigidoc/DigiDocGen.h>
#include <libdigidoc/DigiDocError.h>
#include <libdigidoc/DigiDocConvert.h>
#include <libdigidoc/DigiDocDebug.h>
#include <libdigidoc/DigiDocCert.h>
#include <libdigidoc/DigiDocOCSP.h>
#include <string.h>

Funciones

EXP_OPTION int setString (char **dest, const char *value, int valLen)
EXP_OPTION int SignedDoc_new (SignedDoc **pSignedDoc, const char *format, const char *version)
EXP_OPTION void SignedDoc_free (SignedDoc *pSigDoc)
EXP_OPTION int getCountOfDataFiles (const SignedDoc *pSigDoc)
EXP_OPTION int getNextDataFileId (const SignedDoc *pSigDoc)
EXP_OPTION DataFilegetDataFile (const SignedDoc *pSigDoc, int nIdx)
EXP_OPTION DataFileddocGetLastDataFile (const SignedDoc *pSigDoc)
EXP_OPTION DataFilegetDataFileWithId (const SignedDoc *pSigDoc, const char *id)
EXP_OPTION int DataFile_new (DataFile **newDataFile, SignedDoc *pSigDoc, const char *id, const char *filename, const char *contentType, const char *mime, long size, const byte *digest, int digLen, const char *digType, const char *szCharset)
EXP_OPTION int DataFile_delete (SignedDoc *pSigDoc, const char *id)
int ddocGetDataFileCachedData (SignedDoc *pSigDoc, const char *szDocId, void **ppBuf, long *pLen)
EXP_OPTION int ddocGetDataFileFilename (SignedDoc *pSigDoc, const char *szDocId, void **ppBuf, int *pLen)
void ddocAppendDataFileData (DataFile *pDf, int maxLen, void *data, int len)
EXP_OPTION void DataFile_free (DataFile *pDataFile)
EXP_OPTION DigiDocMemBufddocDataFile_GetDigestValue (DataFile *pDataFile)
EXP_OPTION int ddocDataFile_SetDigestValue (DataFile *pDataFile, const char *value, long len)
EXP_OPTION DigiDocMemBufddocDataFile_GetDetachedDigestValue (DataFile *pDataFile)
EXP_OPTION int ddocDataFile_SetDetachedDigestValue (DataFile *pDataFile, const char *value, long len)
EXP_OPTION int NotaryInfo_delete (SignatureInfo *pSigInfo)
EXP_OPTION int getCountOfDataFileAttributes (const DataFile *pDataFile)
int addDataFileAttribute (DataFile *pDataFile, const char *name, const char *value)
EXP_OPTION int getDataFileAttribute (DataFile *pDataFile, int idx, char **name, char **value)
EXP_OPTION int calculateDataFileSizeAndDigest (SignedDoc *pSigDoc, const char *id, const char *filename, int digType)
EXP_OPTION int ddocDigestValue_new (DigestValue **ppDigestValue, const char *szDigestMethod, void *szDigVal, long lDigLen)
EXP_OPTION int ddocDigestValue_free (DigestValue *pDigestValue)
EXP_OPTION const char * ddocDigestValue_GetDigestMethod (DigestValue *pDigestValue)
EXP_OPTION int ddocDigestValue_SetDigestMethod (DigestValue *pDigestValue, const char *value)
EXP_OPTION DigiDocMemBufddocDigestValue_GetDigestValue (DigestValue *pDigestValue)
EXP_OPTION int ddocDigestValue_SetDigestValue (DigestValue *pDigestValue, const char *value, long len)
int ddocCompareDigestValues (DigestValue *pDigest1, DigestValue *pDigest2)
int ddocDigestValue_toXML (const SignedDoc *pSigDoc, const DigestValue *pDigestValue, DigiDocMemBuf *pBuf)
EXP_OPTION int ddocSignatureValue_new (SignatureValue **ppSignatureValue, const char *szId, const char *szType, void *szSigVal, long lSigLen)
EXP_OPTION int ddocSignatureValue_free (SignatureValue *pSignatureValue)
EXP_OPTION const char * ddocSignatureValue_GetId (const SignatureValue *pSignatureValue)
EXP_OPTION int ddocSignatureValue_SetId (SignatureValue *pSignatureValue, const char *value)
EXP_OPTION const char * ddocSignatureValue_GetType (const SignatureValue *pSignatureValue)
EXP_OPTION int ddocSignatureValue_SetType (SignatureValue *pSignatureValue, const char *value)
EXP_OPTION DigiDocMemBufddocSignatureValue_GetSignatureValue (const SignatureValue *pSignatureValue)
EXP_OPTION int ddocSignatureValue_SetSignatureValue (SignatureValue *pSignatureValue, const char *value, long len)
int ddocSignatureValue_toXML (const SignatureValue *pSignatureValue, DigiDocMemBuf *pBuf)
EXP_OPTION int ddocCertID_new (CertID **ppCertID, int nType, const char *szId, const char *szIssuerSerial, const char *szIssuerName, void *szDigVal, long lDigLen)
EXP_OPTION int ddocCertID_free (CertID *pCertID)
EXP_OPTION const char * ddocCertID_GetIssuerSerial (const CertID *pCertID)
EXP_OPTION int ddocCertID_SetIssuerSerial (CertID *pCertID, const char *value)
EXP_OPTION const char * ddocCertID_GetId (const CertID *pCertID)
EXP_OPTION int ddocCertID_SetId (CertID *pCertID, const char *value)
EXP_OPTION const char * ddocCertID_GetIssuerName (const CertID *pCertID)
EXP_OPTION int ddocCertID_SetIssuerName (CertID *pCertID, const char *value)
EXP_OPTION DigiDocMemBufddocCertID_GetDigestValue (const CertID *pCertID)
EXP_OPTION int ddocCertID_SetDigestValue (CertID *pCertID, const char *value, long len)
int ddocCertID_toXML (const SignedDoc *pSigDoc, const CertID *pCertID, DigiDocMemBuf *pBuf)
int ddocCompleteCertificateRefs_toXML (const SignedDoc *pSigDoc, const SignatureInfo *pSigInfo, DigiDocMemBuf *pBuf)
int ddocCompleteRevocationRefs_toXML (const SignedDoc *pSigDoc, const SignatureInfo *pSigInfo, DigiDocMemBuf *pBuf)
EXP_OPTION int ddocCertIDList_new (CertIDList **ppCertIDList)
EXP_OPTION int ddocCertIDList_free (CertIDList *pCertIDList)
int ddocCertIDList_addCertID (CertIDList *pCertIDList, CertID *pCertID)
EXP_OPTION int ddocCertIDList_GetCertIDsCount (CertIDList *pCertIDList)
EXP_OPTION CertIDddocCertIDList_GetCertID (CertIDList *pCertIDList, int nIdx)
EXP_OPTION CertIDddocCertIDList_GetLastCertID (CertIDList *pCertIDList)
EXP_OPTION int ddocCertIDList_DeleteCertID (CertIDList *pCertIDList, int nIdx)
EXP_OPTION CertIDddocCertIDList_GetCertIDOfType (CertIDList *pCertIDList, int nType)
EXP_OPTION CertIDddocCertIDList_GetCertIDOfSerial (CertIDList *pCertIDList, const char *szSerial)
EXP_OPTION CertIDddocCertIDList_GetOrCreateCertIDOfType (CertIDList *pCertIDList, int nType)
EXP_OPTION int ddocCertValue_new (CertValue **ppCertValue, int nType, const char *szId, X509 *pCert)
EXP_OPTION int ddocCertValue_free (CertValue *pCertValue)
EXP_OPTION const char * ddocCertValue_GetId (CertValue *pCertValue)
EXP_OPTION int ddocCertValue_SetId (CertValue *pCertValue, const char *value)
EXP_OPTION X509ddocCertValue_GetCert (CertValue *pCertValue)
EXP_OPTION int ddocCertValue_SetCert (CertValue *pCertValue, X509 *pCert)
int ddocCertValue_toXML (const CertValue *pCertValue, DigiDocMemBuf *pBuf)
EXP_OPTION int ddocCertValueList_new (CertValueList **ppCertValueList)
EXP_OPTION int ddocCertValueList_free (CertValueList *pCertValueList)
EXP_OPTION int ddocCertValueList_addCertValue (CertValueList *pCertValueList, CertValue *pCertValue)
EXP_OPTION int ddocCertValueList_GetCertValuesCount (CertValueList *pCertValueList)
EXP_OPTION CertValueddocCertValueList_GetCertValue (CertValueList *pCertValueList, int nIdx)
EXP_OPTION int ddocCertValueList_DeleteCertValue (CertValueList *pCertValueList, int nIdx)
EXP_OPTION CertValueddocCertValueList_GetCertValueOfType (CertValueList *pCertValueList, int nType)
EXP_OPTION CertValueddocCertValueList_GetOrCreateCertValueOfType (CertValueList *pCertValueList, int nType)
EXP_OPTION int getCountOfSignatures (const SignedDoc *pSigDoc)
EXP_OPTION int getNextSignatureId (const SignedDoc *pSigDoc)
EXP_OPTION SignatureInfoddocGetSignatureForNotary (const SignedDoc *pSigDoc, const NotaryInfo *pNotInfo)
EXP_OPTION SignatureInfogetSignature (const SignedDoc *pSigDoc, int nIdx)
EXP_OPTION SignatureInfoddocGetLastSignature (const SignedDoc *pSigDoc)
EXP_OPTION SignatureInfogetSignatureWithId (const SignedDoc *pSigDoc, const char *id)
EXP_OPTION int SignatureInfo_new (SignatureInfo **newSignatureInfo, SignedDoc *pSigDoc, const char *id)
EXP_OPTION int setSignatureProductionPlace (SignatureInfo *pSigInfo, const char *city, const char *state, const char *zip, const char *country)
EXP_OPTION int addSignerRole (SignatureInfo *pSigInfo, int nCertified, const char *role, int rLen, int enc)
EXP_OPTION int getCountOfSignerRoles (SignatureInfo *pSigInfo, int nCertified)
EXP_OPTION const char * getSignerRole (SignatureInfo *pSigInfo, int nCertified, int nIdx)
EXP_OPTION int SignatureInfo_delete (SignedDoc *pSigDoc, const char *id)
EXP_OPTION void SignatureInfo_free (SignatureInfo *pSigInfo)
EXP_OPTION int ddocSigInfo_SetSigPropDigest (SignatureInfo *pSigInfo, const char *value, long len)
EXP_OPTION int ddocSigInfo_SetSigPropRealDigest (SignatureInfo *pSigInfo, const char *value, long len)
EXP_OPTION int ddocSigInfo_SetSigInfoRealDigest (SignatureInfo *pSigInfo, const char *value, long len)
EXP_OPTION DigiDocMemBufddocSigInfo_GetSigPropDigest (SignatureInfo *pSigInfo)
EXP_OPTION DigiDocMemBufddocSigInfo_GetSigPropRealDigest (SignatureInfo *pSigInfo)
EXP_OPTION DigiDocMemBufddocSigInfo_GetSigInfoRealDigest (SignatureInfo *pSigInfo)
EXP_OPTION SignatureValueddocSigInfo_GetSignatureValue (SignatureInfo *pSigInfo)
EXP_OPTION DigiDocMemBufddocSigInfo_GetSignatureValue_Value (SignatureInfo *pSigInfo)
EXP_OPTION int ddocSigInfo_SetSignatureValue (SignatureInfo *pSigInfo, const char *value, long len)
EXP_OPTION const char * ddocSigInfo_GetSignersCert_IssuerSerial (const SignatureInfo *pSigInfo)
EXP_OPTION int ddocSigInfo_SetSignersCert_IssuerSerial (SignatureInfo *pSigInfo, const char *value)
EXP_OPTION const char * ddocSigInfo_GetSignersCert_IssuerName (const SignatureInfo *pSigInfo)
EXP_OPTION int ddocSigInfo_SetSignersCert_IssuerName (SignatureInfo *pSigInfo, const char *value)
EXP_OPTION DigiDocMemBufddocSigInfo_GetSignersCert_DigestValue (const SignatureInfo *pSigInfo)
EXP_OPTION int ddocSigInfo_SetSignersCert_DigestValue (SignatureInfo *pSigInfo, const char *value, long len)
EXP_OPTION CertIDddocSigInfo_GetCertIDOfType (const SignatureInfo *pSigInfo, int nType)
EXP_OPTION CertIDddocSigInfo_GetOrCreateCertIDOfType (SignatureInfo *pSigInfo, int nType)
EXP_OPTION CertValueddocSigInfo_GetCertValueOfType (const SignatureInfo *pSigInfo, int nType)
EXP_OPTION CertValueddocSigInfo_GetOrCreateCertValueOfType (SignatureInfo *pSigInfo, int nType)
EXP_OPTION CertValueddocSigInfo_GetLastCertValue (const SignatureInfo *pSigInfo)
EXP_OPTION X509ddocSigInfo_GetSignersCert (const SignatureInfo *pSigInfo)
EXP_OPTION int ddocSigInfo_SetSignersCert (SignatureInfo *pSigInfo, X509 *pCert)
EXP_OPTION X509ddocSigInfo_GetOCSPRespondersCert (const SignatureInfo *pSigInfo)
EXP_OPTION int ddocSigInfo_SetOCSPRespondersCert (SignatureInfo *pSigInfo, X509 *pCert)
EXP_OPTION int ddocSigInfo_addCert (SignatureInfo *pSigInfo, X509 *pCert, int nCertIdType)
EXP_OPTION int addDocInfo (DocInfo **newDocInfo, SignatureInfo *pSigInfo, const char *docId, const char *digType, const byte *digest, int digLen, const byte *mimeDig, int mimeDigLen)
EXP_OPTION void DocInfo_free (DocInfo *pDocInfo)
EXP_OPTION int getCountOfDocInfos (const SignatureInfo *pSigInfo)
EXP_OPTION DocInfogetDocInfo (const SignatureInfo *pSigInfo, int idx)
EXP_OPTION DocInfoddocGetLastDocInfo (const SignatureInfo *pSigInfo)
EXP_OPTION DocInfogetDocInfoWithId (const SignatureInfo *pSigInfo, const char *id)
EXP_OPTION void setDocInfoDigest (DocInfo *pDocInfo, const byte *digest, int digLen, const char *digType)
EXP_OPTION void setDocInfoMimeDigest (DocInfo *pDocInfo, const byte *mimeDig, int mimeDigLen)
EXP_OPTION int addAllDocInfos (SignedDoc *pSigDoc, SignatureInfo *pSigInfo)
EXP_OPTION int calculateSigInfoSignature (const SignedDoc *pSigDoc, SignatureInfo *pSigInfo, int nSigType, const char *keyfile, const char *passwd, const char *certfile)
EXP_OPTION int calculateSignedPropertiesDigest (SignedDoc *pSigDoc, SignatureInfo *pSigInfo)
EXP_OPTION int calculateSignedInfoDigest (SignedDoc *pSigDoc, SignatureInfo *pSigInfo, byte *digBuf, int *digLen)
EXP_OPTION int setSignatureValueFromFile (SignatureInfo *pSigInfo, char *szSigFile)
EXP_OPTION int setSignatureValue (SignatureInfo *pSigInfo, byte *szSignature, int sigLen)
EXP_OPTION int getCountOfNotaryInfos (const SignedDoc *pSigDoc)
EXP_OPTION int getNextNotaryId (const SignedDoc *pSigDoc)
EXP_OPTION NotaryInfogetNotaryInfo (const SignedDoc *pSigDoc, int nIdx)
EXP_OPTION NotaryInfoddocGetLastNotaryInfo (const SignedDoc *pSigDoc)
EXP_OPTION NotaryInfogetNotaryWithId (const SignedDoc *pSigDoc, const char *id)
NotaryInfogetNotaryWithSigId (const SignedDoc *pSigDoc, const char *sigId)
NotaryInfogetOrCreateNotaryWithSigId (SignedDoc *pSigDoc, const char *sigId)
EXP_OPTION int NotaryInfo_new (NotaryInfo **newNotaryInfo, SignedDoc *pSigDoc, SignatureInfo *pSigInfo)
EXP_OPTION void NotaryInfo_free (NotaryInfo *pNotary)
EXP_OPTION const DigiDocMemBufddocNotInfo_GetResponderId (const NotaryInfo *pNotary)
EXP_OPTION const char * ddocNotInfo_GetResponderId_Value (const NotaryInfo *pNotary)
int ddocNotInfo_SetResponderId (NotaryInfo *pNotary, const char *data, long len)
const DigiDocMemBufddocNotInfo_GetOCSPResponse (const NotaryInfo *pNotary)
int ddocGetOcspRespIdTypeAndValue (OCSP_RESPONSE *pResp, int *pType, DigiDocMemBuf *pMbufRespId)
int ddocNotInfo_SetOCSPResponse (NotaryInfo *pNotary, const char *data, long len)
OCSP_RESPONSEddocNotInfo_GetOCSPResponse_Value (const NotaryInfo *pNotary)
int ddocNotInfo_SetOCSPResponse_Value (NotaryInfo *pNotary, OCSP_RESPONSE *pResp)
int ddocNotInfo_GetBasicResp (const NotaryInfo *pNotary, OCSP_RESPONSE **ppResp, OCSP_BASICRESP **ppBasResp, OCSP_SINGLERESP **ppSingle)
EXP_OPTION const char * ddocNotInfo_GetResponderId_Type (const NotaryInfo *pNotary)
EXP_OPTION int ddocNotInfo_GetThisUpdate (const NotaryInfo *pNotary, DigiDocMemBuf *pMBuf)
int ddocNotInfo_GetThisUpdate_timet (const NotaryInfo *pNotary, time_t *pTime)
int ddocNotInfo_GetProducedAt_timet (const NotaryInfo *pNotary, time_t *pTime)
EXP_OPTION int ddocNotInfo_GetNextUpdate (const NotaryInfo *pNotary, DigiDocMemBuf *pMBuf)
int ddocNotInfo_GetIssuerNameHash (const NotaryInfo *pNotary, DigiDocMemBuf *pMBuf)
int ddocNotInfo_GetIssuerKeyHash (const NotaryInfo *pNotary, DigiDocMemBuf *pMBuf)
int ddocNotInfo_GetOcspRealDigest (const NotaryInfo *pNotary, DigiDocMemBuf *pMBuf)
int ddocNotInfo_GetOcspSignatureValue (const NotaryInfo *pNotary, DigiDocMemBuf *pMBuf)
EXP_OPTION const DigiDocMemBufddocNotInfo_GetOcspDigest (const NotaryInfo *pNotary)
int ddocNotInfo_SetOcspDigest (NotaryInfo *pNotary, const char *data, long len)
int addNotaryInfoCert (SignedDoc *pSigDoc, NotaryInfo *pNotary, X509 *cert)
int removeNotaryInfoCert (SignatureInfo *pSigInfo)
EXP_OPTION int NotaryInfo_new_file (NotaryInfo **newNotaryInfo, SignedDoc *pSigDoc, const SignatureInfo *pSigInfo, const char *ocspRespFile, const char *notaryCertFile)
int notary2ocspBasResp (const SignedDoc *pSigDoc, const NotaryInfo *pNotInfo, X509 *notCert, OCSP_BASICRESP **pBasResp)
int calculateOcspBasicResponseDigest (OCSP_BASICRESP *pBsResp, byte *digBuf, int *digLen)
EXP_OPTION int calculateNotaryInfoDigest (const SignedDoc *pSigDoc, const NotaryInfo *pNotInfo, byte *digBuf, int *digLen)

Documentación de las funciones

EXP_OPTION int addAllDocInfos ( SignedDoc pSigDoc,
SignatureInfo pSigInfo 
)
int addDataFileAttribute ( DataFile pDataFile,
const char *  name,
const char *  value 
)
EXP_OPTION int addDocInfo ( DocInfo **  newDocInfo,
SignatureInfo pSigInfo,
const char *  docId,
const char *  digType,
const byte digest,
int  digLen,
const byte mimeDig,
int  mimeDigLen 
)
int addNotaryInfoCert ( SignedDoc pSigDoc,
NotaryInfo pNotary,
X509 cert 
)
EXP_OPTION int addSignerRole ( SignatureInfo pSigInfo,
int  nCertified,
const char *  role,
int  rLen,
int  enc 
)
EXP_OPTION int calculateDataFileSizeAndDigest ( SignedDoc pSigDoc,
const char *  id,
const char *  filename,
int  digType 
)
EXP_OPTION int calculateNotaryInfoDigest ( const SignedDoc pSigDoc,
const NotaryInfo pNotInfo,
byte digBuf,
int digLen 
)
int calculateOcspBasicResponseDigest ( OCSP_BASICRESP pBsResp,
byte digBuf,
int digLen 
)
EXP_OPTION int calculateSigInfoSignature ( const SignedDoc pSigDoc,
SignatureInfo pSigInfo,
int  nSigType,
const char *  keyfile,
const char *  passwd,
const char *  certfile 
)
EXP_OPTION int calculateSignedInfoDigest ( SignedDoc pSigDoc,
SignatureInfo pSigInfo,
byte digBuf,
int digLen 
)
EXP_OPTION int calculateSignedPropertiesDigest ( SignedDoc pSigDoc,
SignatureInfo pSigInfo 
)
EXP_OPTION int DataFile_delete ( SignedDoc pSigDoc,
const char *  id 
)
EXP_OPTION void DataFile_free ( DataFile pDataFile)
EXP_OPTION int DataFile_new ( DataFile **  newDataFile,
SignedDoc pSigDoc,
const char *  id,
const char *  filename,
const char *  contentType,
const char *  mime,
long  size,
const byte digest,
int  digLen,
const char *  digType,
const char *  szCharset 
)
void ddocAppendDataFileData ( DataFile pDf,
int  maxLen,
void *  data,
int  len 
)
EXP_OPTION int ddocCertID_free ( CertID pCertID)
EXP_OPTION DigiDocMemBuf* ddocCertID_GetDigestValue ( const CertID pCertID)
EXP_OPTION const char* ddocCertID_GetId ( const CertID pCertID)
EXP_OPTION const char* ddocCertID_GetIssuerName ( const CertID pCertID)
EXP_OPTION const char* ddocCertID_GetIssuerSerial ( const CertID pCertID)
EXP_OPTION int ddocCertID_new ( CertID **  ppCertID,
int  nType,
const char *  szId,
const char *  szIssuerSerial,
const char *  szIssuerName,
void *  szDigVal,
long  lDigLen 
)
EXP_OPTION int ddocCertID_SetDigestValue ( CertID pCertID,
const char *  value,
long  len 
)
EXP_OPTION int ddocCertID_SetId ( CertID pCertID,
const char *  value 
)
EXP_OPTION int ddocCertID_SetIssuerName ( CertID pCertID,
const char *  value 
)
EXP_OPTION int ddocCertID_SetIssuerSerial ( CertID pCertID,
const char *  value 
)
int ddocCertID_toXML ( const SignedDoc pSigDoc,
const CertID pCertID,
DigiDocMemBuf pBuf 
)
int ddocCertIDList_addCertID ( CertIDList pCertIDList,
CertID pCertID 
)
EXP_OPTION int ddocCertIDList_DeleteCertID ( CertIDList pCertIDList,
int  nIdx 
)
EXP_OPTION int ddocCertIDList_free ( CertIDList pCertIDList)
EXP_OPTION CertID* ddocCertIDList_GetCertID ( CertIDList pCertIDList,
int  nIdx 
)
EXP_OPTION CertID* ddocCertIDList_GetCertIDOfSerial ( CertIDList pCertIDList,
const char *  szSerial 
)
EXP_OPTION CertID* ddocCertIDList_GetCertIDOfType ( CertIDList pCertIDList,
int  nType 
)
EXP_OPTION int ddocCertIDList_GetCertIDsCount ( CertIDList pCertIDList)
EXP_OPTION CertID* ddocCertIDList_GetLastCertID ( CertIDList pCertIDList)
EXP_OPTION CertID* ddocCertIDList_GetOrCreateCertIDOfType ( CertIDList pCertIDList,
int  nType 
)
EXP_OPTION int ddocCertIDList_new ( CertIDList **  ppCertIDList)
EXP_OPTION int ddocCertValue_free ( CertValue pCertValue)
EXP_OPTION X509* ddocCertValue_GetCert ( CertValue pCertValue)
EXP_OPTION const char* ddocCertValue_GetId ( CertValue pCertValue)
EXP_OPTION int ddocCertValue_new ( CertValue **  ppCertValue,
int  nType,
const char *  szId,
X509 pCert 
)
EXP_OPTION int ddocCertValue_SetCert ( CertValue pCertValue,
X509 pCert 
)
EXP_OPTION int ddocCertValue_SetId ( CertValue pCertValue,
const char *  value 
)
int ddocCertValue_toXML ( const CertValue pCertValue,
DigiDocMemBuf pBuf 
)
EXP_OPTION int ddocCertValueList_addCertValue ( CertValueList pCertValueList,
CertValue pCertValue 
)
EXP_OPTION int ddocCertValueList_DeleteCertValue ( CertValueList pCertValueList,
int  nIdx 
)
EXP_OPTION int ddocCertValueList_free ( CertValueList pCertValueList)
EXP_OPTION CertValue* ddocCertValueList_GetCertValue ( CertValueList pCertValueList,
int  nIdx 
)
EXP_OPTION CertValue* ddocCertValueList_GetCertValueOfType ( CertValueList pCertValueList,
int  nType 
)
EXP_OPTION int ddocCertValueList_GetCertValuesCount ( CertValueList pCertValueList)
EXP_OPTION CertValue* ddocCertValueList_GetOrCreateCertValueOfType ( CertValueList pCertValueList,
int  nType 
)
EXP_OPTION int ddocCertValueList_new ( CertValueList **  ppCertValueList)
int ddocCompareDigestValues ( DigestValue pDigest1,
DigestValue pDigest2 
)
int ddocCompleteCertificateRefs_toXML ( const SignedDoc pSigDoc,
const SignatureInfo pSigInfo,
DigiDocMemBuf pBuf 
)
int ddocCompleteRevocationRefs_toXML ( const SignedDoc pSigDoc,
const SignatureInfo pSigInfo,
DigiDocMemBuf pBuf 
)
EXP_OPTION DigiDocMemBuf* ddocDataFile_GetDetachedDigestValue ( DataFile pDataFile)
EXP_OPTION DigiDocMemBuf* ddocDataFile_GetDigestValue ( DataFile pDataFile)
EXP_OPTION int ddocDataFile_SetDetachedDigestValue ( DataFile pDataFile,
const char *  value,
long  len 
)
EXP_OPTION int ddocDataFile_SetDigestValue ( DataFile pDataFile,
const char *  value,
long  len 
)
EXP_OPTION int ddocDigestValue_free ( DigestValue pDigestValue)
EXP_OPTION const char* ddocDigestValue_GetDigestMethod ( DigestValue pDigestValue)
EXP_OPTION DigiDocMemBuf* ddocDigestValue_GetDigestValue ( DigestValue pDigestValue)
EXP_OPTION int ddocDigestValue_new ( DigestValue **  ppDigestValue,
const char *  szDigestMethod,
void *  szDigVal,
long  lDigLen 
)
EXP_OPTION int ddocDigestValue_SetDigestMethod ( DigestValue pDigestValue,
const char *  value 
)
EXP_OPTION int ddocDigestValue_SetDigestValue ( DigestValue pDigestValue,
const char *  value,
long  len 
)
int ddocDigestValue_toXML ( const SignedDoc pSigDoc,
const DigestValue pDigestValue,
DigiDocMemBuf pBuf 
)
int ddocGetDataFileCachedData ( SignedDoc pSigDoc,
const char *  szDocId,
void **  ppBuf,
long *  pLen 
)
EXP_OPTION int ddocGetDataFileFilename ( SignedDoc pSigDoc,
const char *  szDocId,
void **  ppBuf,
int pLen 
)
EXP_OPTION DataFile* ddocGetLastDataFile ( const SignedDoc pSigDoc)
EXP_OPTION DocInfo* ddocGetLastDocInfo ( const SignatureInfo pSigInfo)
EXP_OPTION NotaryInfo* ddocGetLastNotaryInfo ( const SignedDoc pSigDoc)
EXP_OPTION SignatureInfo* ddocGetLastSignature ( const SignedDoc pSigDoc)
int ddocGetOcspRespIdTypeAndValue ( OCSP_RESPONSE pResp,
int pType,
DigiDocMemBuf pMbufRespId 
)
EXP_OPTION SignatureInfo* ddocGetSignatureForNotary ( const SignedDoc pSigDoc,
const NotaryInfo pNotInfo 
)
int ddocNotInfo_GetBasicResp ( const NotaryInfo pNotary,
OCSP_RESPONSE **  ppResp,
OCSP_BASICRESP **  ppBasResp,
OCSP_SINGLERESP **  ppSingle 
)
int ddocNotInfo_GetIssuerKeyHash ( const NotaryInfo pNotary,
DigiDocMemBuf pMBuf 
)
int ddocNotInfo_GetIssuerNameHash ( const NotaryInfo pNotary,
DigiDocMemBuf pMBuf 
)
EXP_OPTION int ddocNotInfo_GetNextUpdate ( const NotaryInfo pNotary,
DigiDocMemBuf pMBuf 
)
EXP_OPTION const DigiDocMemBuf* ddocNotInfo_GetOcspDigest ( const NotaryInfo pNotary)
int ddocNotInfo_GetOcspRealDigest ( const NotaryInfo pNotary,
DigiDocMemBuf pMBuf 
)
const DigiDocMemBuf* ddocNotInfo_GetOCSPResponse ( const NotaryInfo pNotary)
OCSP_RESPONSE* ddocNotInfo_GetOCSPResponse_Value ( const NotaryInfo pNotary)
int ddocNotInfo_GetOcspSignatureValue ( const NotaryInfo pNotary,
DigiDocMemBuf pMBuf 
)
int ddocNotInfo_GetProducedAt_timet ( const NotaryInfo pNotary,
time_t *  pTime 
)
EXP_OPTION const DigiDocMemBuf* ddocNotInfo_GetResponderId ( const NotaryInfo pNotary)
EXP_OPTION const char* ddocNotInfo_GetResponderId_Type ( const NotaryInfo pNotary)
EXP_OPTION const char* ddocNotInfo_GetResponderId_Value ( const NotaryInfo pNotary)
EXP_OPTION int ddocNotInfo_GetThisUpdate ( const NotaryInfo pNotary,
DigiDocMemBuf pMBuf 
)
int ddocNotInfo_GetThisUpdate_timet ( const NotaryInfo pNotary,
time_t *  pTime 
)
int ddocNotInfo_SetOcspDigest ( NotaryInfo pNotary,
const char *  data,
long  len 
)
int ddocNotInfo_SetOCSPResponse ( NotaryInfo pNotary,
const char *  data,
long  len 
)
int ddocNotInfo_SetOCSPResponse_Value ( NotaryInfo pNotary,
OCSP_RESPONSE pResp 
)
int ddocNotInfo_SetResponderId ( NotaryInfo pNotary,
const char *  data,
long  len 
)
EXP_OPTION int ddocSigInfo_addCert ( SignatureInfo pSigInfo,
X509 pCert,
int  nCertIdType 
)
EXP_OPTION CertID* ddocSigInfo_GetCertIDOfType ( const SignatureInfo pSigInfo,
int  nType 
)
EXP_OPTION CertValue* ddocSigInfo_GetCertValueOfType ( const SignatureInfo pSigInfo,
int  nType 
)
EXP_OPTION CertValue* ddocSigInfo_GetLastCertValue ( const SignatureInfo pSigInfo)
EXP_OPTION X509* ddocSigInfo_GetOCSPRespondersCert ( const SignatureInfo pSigInfo)
EXP_OPTION CertID* ddocSigInfo_GetOrCreateCertIDOfType ( SignatureInfo pSigInfo,
int  nType 
)
EXP_OPTION CertValue* ddocSigInfo_GetOrCreateCertValueOfType ( SignatureInfo pSigInfo,
int  nType 
)
EXP_OPTION DigiDocMemBuf* ddocSigInfo_GetSigInfoRealDigest ( SignatureInfo pSigInfo)
EXP_OPTION SignatureValue* ddocSigInfo_GetSignatureValue ( SignatureInfo pSigInfo)
EXP_OPTION DigiDocMemBuf* ddocSigInfo_GetSignatureValue_Value ( SignatureInfo pSigInfo)
EXP_OPTION X509* ddocSigInfo_GetSignersCert ( const SignatureInfo pSigInfo)
EXP_OPTION DigiDocMemBuf* ddocSigInfo_GetSignersCert_DigestValue ( const SignatureInfo pSigInfo)
EXP_OPTION const char* ddocSigInfo_GetSignersCert_IssuerName ( const SignatureInfo pSigInfo)
EXP_OPTION const char* ddocSigInfo_GetSignersCert_IssuerSerial ( const SignatureInfo pSigInfo)
EXP_OPTION DigiDocMemBuf* ddocSigInfo_GetSigPropDigest ( SignatureInfo pSigInfo)
EXP_OPTION DigiDocMemBuf* ddocSigInfo_GetSigPropRealDigest ( SignatureInfo pSigInfo)
EXP_OPTION int ddocSigInfo_SetOCSPRespondersCert ( SignatureInfo pSigInfo,
X509 pCert 
)
EXP_OPTION int ddocSigInfo_SetSigInfoRealDigest ( SignatureInfo pSigInfo,
const char *  value,
long  len 
)
EXP_OPTION int ddocSigInfo_SetSignatureValue ( SignatureInfo pSigInfo,
const char *  value,
long  len 
)
EXP_OPTION int ddocSigInfo_SetSignersCert ( SignatureInfo pSigInfo,
X509 pCert 
)
EXP_OPTION int ddocSigInfo_SetSignersCert_DigestValue ( SignatureInfo pSigInfo,
const char *  value,
long  len 
)
EXP_OPTION int ddocSigInfo_SetSignersCert_IssuerName ( SignatureInfo pSigInfo,
const char *  value 
)
EXP_OPTION int ddocSigInfo_SetSignersCert_IssuerSerial ( SignatureInfo pSigInfo,
const char *  value 
)
EXP_OPTION int ddocSigInfo_SetSigPropDigest ( SignatureInfo pSigInfo,
const char *  value,
long  len 
)
EXP_OPTION int ddocSigInfo_SetSigPropRealDigest ( SignatureInfo pSigInfo,
const char *  value,
long  len 
)
EXP_OPTION int ddocSignatureValue_free ( SignatureValue pSignatureValue)
EXP_OPTION const char* ddocSignatureValue_GetId ( const SignatureValue pSignatureValue)
EXP_OPTION DigiDocMemBuf* ddocSignatureValue_GetSignatureValue ( const SignatureValue pSignatureValue)
EXP_OPTION const char* ddocSignatureValue_GetType ( const SignatureValue pSignatureValue)
EXP_OPTION int ddocSignatureValue_new ( SignatureValue **  ppSignatureValue,
const char *  szId,
const char *  szType,
void *  szSigVal,
long  lSigLen 
)
EXP_OPTION int ddocSignatureValue_SetId ( SignatureValue pSignatureValue,
const char *  value 
)
EXP_OPTION int ddocSignatureValue_SetSignatureValue ( SignatureValue pSignatureValue,
const char *  value,
long  len 
)
EXP_OPTION int ddocSignatureValue_SetType ( SignatureValue pSignatureValue,
const char *  value 
)
int ddocSignatureValue_toXML ( const SignatureValue pSignatureValue,
DigiDocMemBuf pBuf 
)
EXP_OPTION void DocInfo_free ( DocInfo pDocInfo)
EXP_OPTION int getCountOfDataFileAttributes ( const DataFile pDataFile)
EXP_OPTION int getCountOfDataFiles ( const SignedDoc pSigDoc)
EXP_OPTION int getCountOfDocInfos ( const SignatureInfo pSigInfo)
EXP_OPTION int getCountOfNotaryInfos ( const SignedDoc pSigDoc)
EXP_OPTION int getCountOfSignatures ( const SignedDoc pSigDoc)
EXP_OPTION int getCountOfSignerRoles ( SignatureInfo pSigInfo,
int  nCertified 
)
EXP_OPTION DataFile* getDataFile ( const SignedDoc pSigDoc,
int  nIdx 
)
EXP_OPTION int getDataFileAttribute ( DataFile pDataFile,
int  idx,
char **  name,
char **  value 
)
EXP_OPTION DataFile* getDataFileWithId ( const SignedDoc pSigDoc,
const char *  id 
)
EXP_OPTION DocInfo* getDocInfo ( const SignatureInfo pSigInfo,
int  idx 
)
EXP_OPTION DocInfo* getDocInfoWithId ( const SignatureInfo pSigInfo,
const char *  id 
)
EXP_OPTION int getNextDataFileId ( const SignedDoc pSigDoc)
EXP_OPTION int getNextNotaryId ( const SignedDoc pSigDoc)
EXP_OPTION int getNextSignatureId ( const SignedDoc pSigDoc)
EXP_OPTION NotaryInfo* getNotaryInfo ( const SignedDoc pSigDoc,
int  nIdx 
)
EXP_OPTION NotaryInfo* getNotaryWithId ( const SignedDoc pSigDoc,
const char *  id 
)
NotaryInfo* getNotaryWithSigId ( const SignedDoc pSigDoc,
const char *  sigId 
)
NotaryInfo* getOrCreateNotaryWithSigId ( SignedDoc pSigDoc,
const char *  sigId 
)
EXP_OPTION SignatureInfo* getSignature ( const SignedDoc pSigDoc,
int  nIdx 
)
EXP_OPTION SignatureInfo* getSignatureWithId ( const SignedDoc pSigDoc,
const char *  id 
)
EXP_OPTION const char* getSignerRole ( SignatureInfo pSigInfo,
int  nCertified,
int  nIdx 
)
int notary2ocspBasResp ( const SignedDoc pSigDoc,
const NotaryInfo pNotInfo,
X509 notCert,
OCSP_BASICRESP **  pBasResp 
)
EXP_OPTION int NotaryInfo_delete ( SignatureInfo pSigInfo)
EXP_OPTION void NotaryInfo_free ( NotaryInfo pNotary)
EXP_OPTION int NotaryInfo_new ( NotaryInfo **  newNotaryInfo,
SignedDoc pSigDoc,
SignatureInfo pSigInfo 
)
EXP_OPTION int NotaryInfo_new_file ( NotaryInfo **  newNotaryInfo,
SignedDoc pSigDoc,
const SignatureInfo pSigInfo,
const char *  ocspRespFile,
const char *  notaryCertFile 
)
int removeNotaryInfoCert ( SignatureInfo pSigInfo)
EXP_OPTION void setDocInfoDigest ( DocInfo pDocInfo,
const byte digest,
int  digLen,
const char *  digType 
)
EXP_OPTION void setDocInfoMimeDigest ( DocInfo pDocInfo,
const byte mimeDig,
int  mimeDigLen 
)
EXP_OPTION int setSignatureProductionPlace ( SignatureInfo pSigInfo,
const char *  city,
const char *  state,
const char *  zip,
const char *  country 
)
EXP_OPTION int setSignatureValue ( SignatureInfo pSigInfo,
byte szSignature,
int  sigLen 
)
EXP_OPTION int setSignatureValueFromFile ( SignatureInfo pSigInfo,
char *  szSigFile 
)
EXP_OPTION int setString ( char **  dest,
const char *  value,
int  valLen 
)
EXP_OPTION int SignatureInfo_delete ( SignedDoc pSigDoc,
const char *  id 
)
EXP_OPTION void SignatureInfo_free ( SignatureInfo pSigInfo)
EXP_OPTION int SignatureInfo_new ( SignatureInfo **  newSignatureInfo,
SignedDoc pSigDoc,
const char *  id 
)
EXP_OPTION void SignedDoc_free ( SignedDoc pSigDoc)
EXP_OPTION int SignedDoc_new ( SignedDoc **  pSignedDoc,
const char *  format,
const char *  version 
)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'