aqbanking  5.7.8
aqebics/provider.h
Go to the documentation of this file.
1 /***************************************************************************
2  begin : Mon Mar 01 2004
3  copyright : (C) 2004-2010 by Martin Preuss
4  email : martin@libchipcard.de
5 
6  ***************************************************************************
7  * Please see toplevel file COPYING for license details *
8  ***************************************************************************/
9 
10 #ifndef AQEBICS_CLIENT_PROVIDER_H
11 #define AQEBICS_CLIENT_PROVIDER_H
12 
13 
14 #include <aqebics/aqebics.h>
15 #include <aqbanking/provider.h>
16 #include <gwenhywfar/ct.h>
17 
18 #define EBC_DEFAULT_CONNECT_TIMEOUT 30
19 #define EBC_DEFAULT_TRANSFER_TIMEOUT 60
20 
21 
23 
25  AB_USER *u,
26  int cryptAndAuthKeySizeInBytes,
27  int signKeySizeInBytes,
28  int nounmount);
29 
31  AB_USER *u,
32  int signKeySizeInBytes,
33  int nounmount);
34 
36  AB_USER *u,
37  int useBankKey,
38  GWEN_BUFFER *lbuf,
39  int nounmount);
40 
42  AB_USER *u,
43  int useBankKey,
44  GWEN_BUFFER *lbuf,
45  int nounmount);
46 
48 
49 AQEBICS_API int EBC_Provider_Send_HIA(AB_PROVIDER *pro, AB_USER *u, int doLock);
50 AQEBICS_API int EBC_Provider_Send_INI(AB_PROVIDER *pro, AB_USER *u, int doLock);
51 AQEBICS_API int EBC_Provider_Send_PUB(AB_PROVIDER *pro, AB_USER *u, const char *signVersion, int doLock);
52 AQEBICS_API int EBC_Provider_Send_HPB(AB_PROVIDER *pro, AB_USER *u, int doLock);
53 AQEBICS_API int EBC_Provider_Send_HPD(AB_PROVIDER *pro, AB_USER *u, int doLock);
54 AQEBICS_API int EBC_Provider_Send_HKD(AB_PROVIDER *pro, AB_USER *u, int doLock);
55 AQEBICS_API int EBC_Provider_Send_HTD(AB_PROVIDER *pro, AB_USER *u, int doLock);
56 
58  const char *rtype,
59  GWEN_BUFFER *targetBuffer,
60  int withReceipt,
61  const GWEN_TIME *fromTime,
62  const GWEN_TIME *toTime,
63  int doLock);
64 
66  const char *rtype,
67  const uint8_t *pData,
68  uint32_t lData,
69  int doLock);
70 
73 
74 
75 #endif
AQEBICS_API AB_PROVIDER * EBC_Provider_new(AB_BANKING *ab)
AQEBICS_API int EBC_Provider_Download(AB_PROVIDER *pro, AB_USER *u, const char *rtype, GWEN_BUFFER *targetBuffer, int withReceipt, const GWEN_TIME *fromTime, const GWEN_TIME *toTime, int doLock)
struct AB_USER AB_USER
struct AB_BANKING AB_BANKING
Definition: banking.h:26
#define AQEBICS_API
Definition: aqebics.h:48
This file is used by AqBanking and provider backends.
AQEBICS_API int EBC_Provider_Send_HKD(AB_PROVIDER *pro, AB_USER *u, int doLock)
int EBC_Provider_GetConnectTimeout(const AB_PROVIDER *pro)
AQEBICS_API int EBC_Provider_CreateKeys(AB_PROVIDER *pro, AB_USER *u, int cryptAndAuthKeySizeInBytes, int signKeySizeInBytes, int nounmount)
AQEBICS_API int EBC_Provider_GetCert(AB_PROVIDER *pro, AB_USER *u)
AQEBICS_API int EBC_Provider_Send_PUB(AB_PROVIDER *pro, AB_USER *u, const char *signVersion, int doLock)
AQEBICS_API int EBC_Provider_Upload(AB_PROVIDER *pro, AB_USER *u, const char *rtype, const uint8_t *pData, uint32_t lData, int doLock)
AQEBICS_API int EBC_Provider_Send_HPB(AB_PROVIDER *pro, AB_USER *u, int doLock)
AQEBICS_API int EBC_Provider_Send_HTD(AB_PROVIDER *pro, AB_USER *u, int doLock)
AQEBICS_API int EBC_Provider_GetHiaLetterTxt(AB_PROVIDER *pro, AB_USER *u, int useBankKey, GWEN_BUFFER *lbuf, int nounmount)
AQEBICS_API int EBC_Provider_Send_HIA(AB_PROVIDER *pro, AB_USER *u, int doLock)
int EBC_Provider_GetTransferTimeout(const AB_PROVIDER *pro)
struct AB_PROVIDER AB_PROVIDER
AQEBICS_API int EBC_Provider_Send_HPD(AB_PROVIDER *pro, AB_USER *u, int doLock)
AQEBICS_API int EBC_Provider_Send_INI(AB_PROVIDER *pro, AB_USER *u, int doLock)
AQEBICS_API int EBC_Provider_GetIniLetterTxt(AB_PROVIDER *pro, AB_USER *u, int useBankKey, GWEN_BUFFER *lbuf, int nounmount)
AQEBICS_API int EBC_Provider_CreateTempKey(AB_PROVIDER *pro, AB_USER *u, int signKeySizeInBytes, int nounmount)