Eneboo - Documentación para desarrolladores
Clases | 'defines' | 'typedefs' | Funciones
Referencia del Archivo src/libdigidoc/DigiDocCsp.h

Ir al código fuente de este archivo.

Clases

struct  CSProvider_st
struct  CertItem_st
struct  CertSearchStore_st
struct  CertSearch_st

'defines'

#define EST_EID_CSP   "EstEID Card CSP"

'typedefs'

typedef struct CSProvider_st CSProvider
typedef struct CertItem_st CertItem
typedef struct CertSearchStore_st CertSearchStore
typedef struct CertSearch_st CertSearch

Funciones

int GetSignParametersWithEstIdCSP (byte *dataToBeSigned, unsigned long dataLen, X509 **x509, int *needCert, byte *keyBlob, unsigned long *keyBlobLen, byte *hash, unsigned long *hashLen, byte *sign, unsigned long *sigLen)
EXP_OPTION int calculateSigInfoSignatureWithEstID (SignedDoc *pSigDoc, SignatureInfo *pSigInfo, int slot, const char *passwd)
EXP_OPTION int calculateSigInfoSignatureWithCSPEstID (SignedDoc *pSigDoc, SignatureInfo *pSigInfo, int iByKeyContainer)
EXP_OPTION X509findIssuerCertificatefromMsStore (X509 *x509)
EXP_OPTION CertSearchStoreCertSearchStore_new ()
EXP_OPTION void CertSearchStore_free (CertSearchStore *certSearchStore)
EXP_OPTION CertSearchCertSearch_new ()
EXP_OPTION void CertSearch_free (CertSearch *certSearch)
EXP_OPTION void CertList_free (CertItem *pListStart)
EXP_OPTION void CertSearch_setX509FileName (CertSearch *certSearch, const char *str)
EXP_OPTION void CertSearch_setKeyFileName (CertSearch *certSearch, const char *str)
EXP_OPTION void CertSearch_setPkcs12FileName (CertSearch *certSearch, const char *str)
EXP_OPTION void CertSearch_setPasswd (CertSearch *certSearch, const char *str)
EXP_OPTION CSProvidergetCurrentCSProvider (BOOL tryToFindIfMissing)
EXP_OPTION X509findCertificate (const CertSearch *cS)
EXP_OPTION int findAllCertificates (const CertSearchStore *sS, X509 ***certsArray, int *numberOfCerts)
EXP_OPTION int Digi_readCertificateByPKCS12OnlyCertHandle (const char *pkcs12file, const char *passwd, X509 **x509)
EXP_OPTION int Digi_getConfirmationWithCertSearch (SignedDoc *pSigDoc, SignatureInfo *pSigInfo, char *pkcs12File, char *password, char *notaryURL, char *proxyHost, char *proxyPort)
EXP_OPTION int Digi_setNotaryCertificate (NotaryInfo *pNotary, X509 *notCert)
EXP_OPTION int Digi_verifyNotaryInfoWithCertSearch (const SignedDoc *pSigDoc, const NotaryInfo *pNotInfo)
EXP_OPTION int Digi_verifySignatureInfo (const SignedDoc *pSigDoc, const SignatureInfo *pSigInfo, const char *szDataFile, FilePath *pPaths, int nPaths)
EXP_OPTION int Digi_verifySigDoc (const SignedDoc *pSigDoc, const char *szDataFile, FilePath *pPaths, int nPaths)
EXP_OPTION int Digi_verifySigDocWithCertSearch (const SignedDoc *pSigDoc, const char *szDataFile, FilePath *pPaths, int nPaths)

Documentación de los 'defines'

#define EST_EID_CSP   "EstEID Card CSP"

Documentación de los 'typedefs'

typedef struct CertItem_st CertItem
typedef struct CertSearch_st CertSearch
typedef struct CSProvider_st CSProvider

Documentación de las funciones

EXP_OPTION int calculateSigInfoSignatureWithCSPEstID ( SignedDoc pSigDoc,
SignatureInfo pSigInfo,
int  iByKeyContainer 
)
EXP_OPTION int calculateSigInfoSignatureWithEstID ( SignedDoc pSigDoc,
SignatureInfo pSigInfo,
int  slot,
const char *  passwd 
)
EXP_OPTION void CertList_free ( CertItem pListStart)
EXP_OPTION void CertSearch_free ( CertSearch certSearch)
EXP_OPTION CertSearch* CertSearch_new ( )
EXP_OPTION void CertSearch_setKeyFileName ( CertSearch certSearch,
const char *  str 
)
EXP_OPTION void CertSearch_setPasswd ( CertSearch certSearch,
const char *  str 
)
EXP_OPTION void CertSearch_setPkcs12FileName ( CertSearch certSearch,
const char *  str 
)
EXP_OPTION void CertSearch_setX509FileName ( CertSearch certSearch,
const char *  str 
)
EXP_OPTION void CertSearchStore_free ( CertSearchStore certSearchStore)
EXP_OPTION CertSearchStore* CertSearchStore_new ( )
EXP_OPTION int Digi_getConfirmationWithCertSearch ( SignedDoc pSigDoc,
SignatureInfo pSigInfo,
char *  pkcs12File,
char *  password,
char *  notaryURL,
char *  proxyHost,
char *  proxyPort 
)
EXP_OPTION int Digi_readCertificateByPKCS12OnlyCertHandle ( const char *  pkcs12file,
const char *  passwd,
X509 **  x509 
)
EXP_OPTION int Digi_setNotaryCertificate ( NotaryInfo pNotary,
X509 notCert 
)
EXP_OPTION int Digi_verifyNotaryInfoWithCertSearch ( const SignedDoc pSigDoc,
const NotaryInfo pNotInfo 
)
EXP_OPTION int Digi_verifySigDoc ( const SignedDoc pSigDoc,
const char *  szDataFile,
FilePath pPaths,
int  nPaths 
)
EXP_OPTION int Digi_verifySigDocWithCertSearch ( const SignedDoc pSigDoc,
const char *  szDataFile,
FilePath pPaths,
int  nPaths 
)
EXP_OPTION int Digi_verifySignatureInfo ( const SignedDoc pSigDoc,
const SignatureInfo pSigInfo,
const char *  szDataFile,
FilePath pPaths,
int  nPaths 
)
EXP_OPTION int findAllCertificates ( const CertSearchStore sS,
X509 ***  certsArray,
int numberOfCerts 
)
EXP_OPTION X509* findCertificate ( const CertSearch cS)
EXP_OPTION X509* findIssuerCertificatefromMsStore ( X509 x509)
EXP_OPTION CSProvider* getCurrentCSProvider ( BOOL  tryToFindIfMissing)
int GetSignParametersWithEstIdCSP ( byte dataToBeSigned,
unsigned long  dataLen,
X509 **  x509,
int needCert,
byte keyBlob,
unsigned long *  keyBlobLen,
byte hash,
unsigned long *  hashLen,
byte sign,
unsigned long *  sigLen 
)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'