Eneboo - Documentación para desarrolladores
Clases | 'typedefs' | Funciones
Referencia del Archivo src/libdigidoc/DigiDocLib.h
#include <openssl/x509.h>
#include <openssl/ocsp.h>
#include <libdigidoc/DigiDocMem.h>
#include <libdigidoc/DigiDocDefs.h>
#include <libdigidoc/DigiDocError.h>
#include <libdigidoc/DigiDocObj.h>
#include <libdigidoc/DigiDocVerify.h>

Ir al código fuente de este archivo.

Clases

struct  FormatAndVer_st

'typedefs'

typedef struct FormatAndVer_st FormatAndVer

Funciones

EXP_OPTION const char * getLibName ()
EXP_OPTION const char * getLibVersion ()
EXP_OPTION const char ** getSupportedFormats ()
EXP_OPTION FormatAndVergetSupportedFormatsAndVersions ()
EXP_OPTION const char * getGUIVersion ()
EXP_OPTION void setGUIVersion (const char *szVer)
EXP_OPTION void initDigiDocLib ()
EXP_OPTION void finalizeDigiDocLib ()
EXP_OPTION char * trim (char *src)
int setString (char **dest, const char *value, int valLen)
EXP_OPTION int checkFileExists (const char *szFileName)
int ddocPullUrl (const char *url, DigiDocMemBuf *pSendData, DigiDocMemBuf *pRecvData, const char *proxyHost, const char *proxyPort)
int ddocCheckFormatAndVer (const char *format, const char *version)
EXP_OPTION int ddocLocalTime (time_t *pTime, struct tm *pTmStruct, int bLocal)
EXP_OPTION int getTempFileName (char *szFileName, int len)
EXP_OPTION int calculateFileDigest (const char *szFileName, int nDigestType, byte *pDigestBuf, int *nDigestLen, long *lFileLen)
EXP_OPTION int calculateFileSize (const char *szFileName, long *lFileLen)
EXP_OPTION int calculateFileSignature (const char *szFileName, int nDigestType, byte *pSigBuf, int *nSigLen, const char *keyfile, const char *passwd)
EXP_OPTION int signData (const byte *data, int dlen, byte *pSigBuf, int *nSigLen, int nDigestType, const char *keyfile, const char *passwd)
EXP_OPTION int calculateDigest (const byte *data, int nDataLen, int nDigestType, byte *pDigestBuf, int *nDigestLen)
EXP_OPTION int ddocPrepareSignature (SignedDoc *pSigDoc, SignatureInfo **ppSigInfo, const char *manifest, const char *city, const char *state, const char *zip, const char *country, X509 *pCert, const char *id)
EXP_OPTION int ddocGetSignedHash (SignatureInfo *pSigInfo, char *pBuf, int *pBufLen, int enc, int bWithAsn1Prefix)
EXP_OPTION char * createXMLSignedInfo (const SignedDoc *pSigDoc, const SignatureInfo *pSigInfo)
EXP_OPTION int createMimeType (char *buf, const char *mime, const char *sigId, const char *docId)
EXP_OPTION const char * getSimpleFileName (const char *szFileName)
EXP_OPTION int getFullFileName (const char *szFileName, char *szDest, int len)
EXP_OPTION int getFileNamePath (const char *szFileName, char *szPath, int len)
EXP_OPTION int setSignatureCertFile (SignatureInfo *pSigInfo, const char *certFile)
EXP_OPTION int setSignatureCert (SignatureInfo *pSigInfo, X509 *cert)
EXP_OPTION int setSignatureValue (SignatureInfo *pSigInfo, byte *szSignature, int sigLen)
EXP_OPTION int setSignatureValueFromFile (SignatureInfo *pSigInfo, char *szSigFile)
void decodeSignatureValue (const char *b64val, int b64len, char *value, int *vlen)
EXP_OPTION X509getSignCertData (const SignatureInfo *pSignInfo)
void CorrectCharacters (char *psText)

Documentación de los 'typedefs'

typedef struct FormatAndVer_st FormatAndVer

Documentación de las funciones

EXP_OPTION int calculateDigest ( const byte data,
int  nDataLen,
int  nDigestType,
byte pDigestBuf,
int nDigestLen 
)
EXP_OPTION int calculateFileDigest ( const char *  szFileName,
int  nDigestType,
byte pDigestBuf,
int nDigestLen,
long *  lFileLen 
)
EXP_OPTION int calculateFileSignature ( const char *  szFileName,
int  nDigestType,
byte pSigBuf,
int nSigLen,
const char *  keyfile,
const char *  passwd 
)
EXP_OPTION int calculateFileSize ( const char *  szFileName,
long *  lFileLen 
)
EXP_OPTION int checkFileExists ( const char *  szFileName)
void CorrectCharacters ( char *  psText)
EXP_OPTION int createMimeType ( char *  buf,
const char *  mime,
const char *  sigId,
const char *  docId 
)
EXP_OPTION char* createXMLSignedInfo ( const SignedDoc pSigDoc,
const SignatureInfo pSigInfo 
)
int ddocCheckFormatAndVer ( const char *  format,
const char *  version 
)
EXP_OPTION int ddocGetSignedHash ( SignatureInfo pSigInfo,
char *  pBuf,
int pBufLen,
int  enc,
int  bWithAsn1Prefix 
)
EXP_OPTION int ddocLocalTime ( time_t *  pTime,
struct tm *  pTmStruct,
int  bLocal 
)
EXP_OPTION int ddocPrepareSignature ( SignedDoc pSigDoc,
SignatureInfo **  ppSigInfo,
const char *  manifest,
const char *  city,
const char *  state,
const char *  zip,
const char *  country,
X509 pCert,
const char *  id 
)
int ddocPullUrl ( const char *  url,
DigiDocMemBuf pSendData,
DigiDocMemBuf pRecvData,
const char *  proxyHost,
const char *  proxyPort 
)
void decodeSignatureValue ( const char *  b64val,
int  b64len,
char *  value,
int vlen 
)
EXP_OPTION void finalizeDigiDocLib ( )
EXP_OPTION int getFileNamePath ( const char *  szFileName,
char *  szPath,
int  len 
)
EXP_OPTION int getFullFileName ( const char *  szFileName,
char *  szDest,
int  len 
)
EXP_OPTION const char* getGUIVersion ( )
EXP_OPTION const char* getLibName ( )
EXP_OPTION const char* getLibVersion ( )
EXP_OPTION X509* getSignCertData ( const SignatureInfo pSignInfo)
EXP_OPTION const char* getSimpleFileName ( const char *  szFileName)
EXP_OPTION const char** getSupportedFormats ( )
EXP_OPTION FormatAndVer* getSupportedFormatsAndVersions ( )
EXP_OPTION int getTempFileName ( char *  szFileName,
int  len 
)
EXP_OPTION void initDigiDocLib ( )
EXP_OPTION void setGUIVersion ( const char *  szVer)
EXP_OPTION int setSignatureCert ( SignatureInfo pSigInfo,
X509 cert 
)
EXP_OPTION int setSignatureCertFile ( SignatureInfo pSigInfo,
const char *  certFile 
)
EXP_OPTION int setSignatureValue ( SignatureInfo pSigInfo,
byte szSignature,
int  sigLen 
)
EXP_OPTION int setSignatureValueFromFile ( SignatureInfo pSigInfo,
char *  szSigFile 
)
int setString ( char **  dest,
const char *  value,
int  valLen 
)
EXP_OPTION int signData ( const byte data,
int  dlen,
byte pSigBuf,
int nSigLen,
int  nDigestType,
const char *  keyfile,
const char *  passwd 
)
EXP_OPTION char* trim ( char *  src)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'