Eneboo - Documentación para desarrolladores
Funciones
Referencia del Archivo src/libdigidoc/DigiDocOCSP.h
#include <libdigidoc/DigiDocDefs.h>
#include <libdigidoc/DigiDocObj.h>
#include <libdigidoc/DigiDocMem.h>
#include <openssl/ocsp.h>

Ir al código fuente de este archivo.

Funciones

int sendOCSPRequest (OCSP_RESPONSE **resp, OCSP_REQUEST *req, char *url, char *proxyHost, char *proxyPort, unsigned long ip_addr)
EXP_OPTION int ddocDecodeOCSPResponseData (OCSP_RESPONSE **ppResp, const byte *data, int len)
EXP_OPTION int ddocDecodeOCSPResponsePEMData (OCSP_RESPONSE **ppResp, const byte *data, int len)
EXP_OPTION int writeOCSPRequest (SignedDoc *pSigDoc, const char *signerCertFile, const char *issuertCertFile, byte *nonce, int nlen, const char *szOutputFile)
EXP_OPTION int getConfirmation (SignedDoc *pSigDoc, SignatureInfo *pSigInfo, const X509 **caCerts, const X509 *pNotCert, char *pkcs12FileName, char *pkcs12Password, char *notaryURL, char *proxyHost, char *proxyPort)
EXP_OPTION int getConfirmationWithIp (SignedDoc *pSigDoc, SignatureInfo *pSigInfo, const X509 **caCerts, const X509 *pNotCert, char *pkcs12FileName, char *pkcs12Password, char *notaryURL, char *proxyHost, char *proxyPort, unsigned long ip)
EXP_OPTION int finalizeAndVerifyNotary (SignedDoc *pSigDoc, SignatureInfo *pSigInfo, NotaryInfo *pNotInf, const X509 **caCerts, const X509 *pNotCert)
int ReadOCSPResponse (OCSP_RESPONSE **newOCSP_RESPONSE, const char *szFileName)
int initializeNotaryInfoWithOCSP (SignedDoc *pSigDoc, NotaryInfo *pNotary, OCSP_RESPONSE *resp, X509 *notCert, int initDigest)
int verifyOCSPResponse (OCSP_RESPONSE *pResp, const X509 **caCerts, const char *CApath, const X509 *notCert)
int ddocOcspReadOcspResp (OCSP_RESPONSE **ppResp, DigiDocMemBuf *pMBufInData)
int ddocOcspWriteOcspResp (OCSP_RESPONSE *pResp, DigiDocMemBuf *pMBufOutData)
EXP_OPTION int getOcspPEM (OCSP_RESPONSE *pResp, int bHeaders, char **buf)
EXP_OPTION int ddocGetOcspBase64 (NotaryInfo *pNotary, int bHeaders, DigiDocMemBuf *pMBufOutData)

Documentación de las funciones

EXP_OPTION int ddocDecodeOCSPResponseData ( OCSP_RESPONSE **  ppResp,
const byte data,
int  len 
)
EXP_OPTION int ddocDecodeOCSPResponsePEMData ( OCSP_RESPONSE **  ppResp,
const byte data,
int  len 
)
EXP_OPTION int ddocGetOcspBase64 ( NotaryInfo pNotary,
int  bHeaders,
DigiDocMemBuf pMBufOutData 
)
int ddocOcspReadOcspResp ( OCSP_RESPONSE **  ppResp,
DigiDocMemBuf pMBufInData 
)
int ddocOcspWriteOcspResp ( OCSP_RESPONSE pResp,
DigiDocMemBuf pMBufOutData 
)
EXP_OPTION int finalizeAndVerifyNotary ( SignedDoc pSigDoc,
SignatureInfo pSigInfo,
NotaryInfo pNotInf,
const X509 **  caCerts,
const X509 pNotCert 
)
EXP_OPTION int getConfirmation ( SignedDoc pSigDoc,
SignatureInfo pSigInfo,
const X509 **  caCerts,
const X509 pNotCert,
char *  pkcs12FileName,
char *  pkcs12Password,
char *  notaryURL,
char *  proxyHost,
char *  proxyPort 
)
EXP_OPTION int getConfirmationWithIp ( SignedDoc pSigDoc,
SignatureInfo pSigInfo,
const X509 **  caCerts,
const X509 pNotCert,
char *  pkcs12FileName,
char *  pkcs12Password,
char *  notaryURL,
char *  proxyHost,
char *  proxyPort,
unsigned long  ip 
)
EXP_OPTION int getOcspPEM ( OCSP_RESPONSE pResp,
int  bHeaders,
char **  buf 
)
int initializeNotaryInfoWithOCSP ( SignedDoc pSigDoc,
NotaryInfo pNotary,
OCSP_RESPONSE resp,
X509 notCert,
int  initDigest 
)
int ReadOCSPResponse ( OCSP_RESPONSE **  newOCSP_RESPONSE,
const char *  szFileName 
)
int sendOCSPRequest ( OCSP_RESPONSE **  resp,
OCSP_REQUEST req,
char *  url,
char *  proxyHost,
char *  proxyPort,
unsigned long  ip_addr 
)
int verifyOCSPResponse ( OCSP_RESPONSE pResp,
const X509 **  caCerts,
const char *  CApath,
const X509 notCert 
)
EXP_OPTION int writeOCSPRequest ( SignedDoc pSigDoc,
const char *  signerCertFile,
const char *  issuertCertFile,
byte nonce,
int  nlen,
const char *  szOutputFile 
)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'