aqbanking  5.7.8
Macros | Enumerations | Functions
aqebics/user.h File Reference
#include <aqebics/aqebics.h>
#include <aqbanking/user.h>
#include <gwenhywfar/db.h>
#include <gwenhywfar/misc.h>
#include <gwenhywfar/url.h>

Go to the source code of this file.

Macros

#define EBC_USER_FLAGS_BANK_DOESNT_SIGN   0x00000001
 
#define EBC_USER_FLAGS_FORCE_SSLV3   0x00000002
 
#define EBC_USER_FLAGS_INI   0x00000004
 
#define EBC_USER_FLAGS_HIA   0x00000008
 
#define EBC_USER_FLAGS_CLIENT_DATA_DOWNLOAD_SPP   0x00000010
 
#define EBC_USER_FLAGS_PREVALIDATION_SPP   0x00000020
 
#define EBC_USER_FLAGS_RECOVERY_SPP   0x00000040
 
#define EBC_USER_FLAGS_STA_SPP   0x00000080
 
#define EBC_USER_FLAGS_IZV_SPP   0x00000100
 
#define EBC_USER_FLAGS_USE_IZL   0x00010000
 
#define EBC_USER_FLAGS_TIMESTAMP_FIX1   0x00020000
 
#define EBC_USER_FLAGS_NO_EU   0x00040000
 

Enumerations

enum  EBC_USER_STATUS {
  EBC_UserStatus_New =0, EBC_UserStatus_Init1, EBC_UserStatus_Init2, EBC_UserStatus_Enabled,
  EBC_UserStatus_Disabled, EBC_UserStatus_Unknown =999
}
 

Functions

AQEBICS_API void EBC_User_Flags_toDb (GWEN_DB_NODE *db, const char *name, uint32_t flags)
 
AQEBICS_API uint32_t EBC_User_Flags_fromDb (GWEN_DB_NODE *db, const char *name)
 
AQEBICS_API const char * EBC_User_Status_toString (EBC_USER_STATUS st)
 
AQEBICS_API EBC_USER_STATUS EBC_User_Status_fromString (const char *s)
 
AQEBICS_API EBC_USER_STATUS EBC_User_GetStatus (const AB_USER *u)
 
AQEBICS_API void EBC_User_SetStatus (AB_USER *u, EBC_USER_STATUS i)
 
AQEBICS_API const char * EBC_User_GetServerUrl (const AB_USER *u)
 
AQEBICS_API void EBC_User_SetServerUrl (AB_USER *u, const char *s)
 
AQEBICS_API const char * EBC_User_GetPeerId (const AB_USER *u)
 
AQEBICS_API void EBC_User_SetPeerId (AB_USER *u, const char *s)
 
AQEBICS_API const char * EBC_User_GetSystemId (const AB_USER *u)
 
AQEBICS_API void EBC_User_SetSystemId (AB_USER *u, const char *s)
 
AQEBICS_API const char * EBC_User_GetProtoVersion (const AB_USER *u)
 
AQEBICS_API void EBC_User_SetProtoVersion (AB_USER *u, const char *s)
 
AQEBICS_API const char * EBC_User_GetSignVersion (const AB_USER *u)
 
AQEBICS_API void EBC_User_SetSignVersion (AB_USER *u, const char *s)
 
AQEBICS_API const char * EBC_User_GetCryptVersion (const AB_USER *u)
 
AQEBICS_API void EBC_User_SetCryptVersion (AB_USER *u, const char *s)
 
AQEBICS_API const char * EBC_User_GetAuthVersion (const AB_USER *u)
 
AQEBICS_API void EBC_User_SetAuthVersion (AB_USER *u, const char *s)
 
AQEBICS_API uint32_t EBC_User_GetFlags (const AB_USER *u)
 
AQEBICS_API void EBC_User_SetFlags (AB_USER *u, uint32_t flags)
 
AQEBICS_API void EBC_User_AddFlags (AB_USER *u, uint32_t flags)
 
AQEBICS_API void EBC_User_SubFlags (AB_USER *u, uint32_t flags)
 
AQEBICS_API int EBC_User_GetHttpVMajor (const AB_USER *u)
 
AQEBICS_API void EBC_User_SetHttpVMajor (AB_USER *u, int i)
 
AQEBICS_API int EBC_User_GetHttpVMinor (const AB_USER *u)
 
AQEBICS_API void EBC_User_SetHttpVMinor (AB_USER *u, int i)
 
AQEBICS_API const char * EBC_User_GetHttpUserAgent (const AB_USER *u)
 
AQEBICS_API void EBC_User_SetHttpUserAgent (AB_USER *u, const char *s)
 
AQEBICS_API const char * EBC_User_GetHttpContentType (const AB_USER *u)
 
AQEBICS_API void EBC_User_SetHttpContentType (AB_USER *u, const char *s)
 
AQEBICS_API const char * EBC_User_GetTokenType (const AB_USER *u)
 
AQEBICS_API void EBC_User_SetTokenType (AB_USER *u, const char *s)
 
AQEBICS_API const char * EBC_User_GetTokenName (const AB_USER *u)
 
AQEBICS_API void EBC_User_SetTokenName (AB_USER *u, const char *s)
 
AQEBICS_API uint32_t EBC_User_GetTokenContextId (const AB_USER *u)
 
AQEBICS_API void EBC_User_SetTokenContextId (AB_USER *u, uint32_t id)
 
AQEBICS_API int EBC_User_MkPasswdName (const AB_USER *u, GWEN_BUFFER *buf)
 

Macro Definition Documentation

◆ EBC_USER_FLAGS_BANK_DOESNT_SIGN

#define EBC_USER_FLAGS_BANK_DOESNT_SIGN   0x00000001

Definition at line 27 of file aqebics/user.h.

◆ EBC_USER_FLAGS_CLIENT_DATA_DOWNLOAD_SPP

#define EBC_USER_FLAGS_CLIENT_DATA_DOWNLOAD_SPP   0x00000010

Definition at line 31 of file aqebics/user.h.

◆ EBC_USER_FLAGS_FORCE_SSLV3

#define EBC_USER_FLAGS_FORCE_SSLV3   0x00000002

Definition at line 28 of file aqebics/user.h.

◆ EBC_USER_FLAGS_HIA

#define EBC_USER_FLAGS_HIA   0x00000008

Definition at line 30 of file aqebics/user.h.

◆ EBC_USER_FLAGS_INI

#define EBC_USER_FLAGS_INI   0x00000004

Definition at line 29 of file aqebics/user.h.

◆ EBC_USER_FLAGS_IZV_SPP

#define EBC_USER_FLAGS_IZV_SPP   0x00000100

Definition at line 35 of file aqebics/user.h.

◆ EBC_USER_FLAGS_NO_EU

#define EBC_USER_FLAGS_NO_EU   0x00040000

Definition at line 38 of file aqebics/user.h.

◆ EBC_USER_FLAGS_PREVALIDATION_SPP

#define EBC_USER_FLAGS_PREVALIDATION_SPP   0x00000020

Definition at line 32 of file aqebics/user.h.

◆ EBC_USER_FLAGS_RECOVERY_SPP

#define EBC_USER_FLAGS_RECOVERY_SPP   0x00000040

Definition at line 33 of file aqebics/user.h.

◆ EBC_USER_FLAGS_STA_SPP

#define EBC_USER_FLAGS_STA_SPP   0x00000080

Definition at line 34 of file aqebics/user.h.

◆ EBC_USER_FLAGS_TIMESTAMP_FIX1

#define EBC_USER_FLAGS_TIMESTAMP_FIX1   0x00020000

Definition at line 37 of file aqebics/user.h.

◆ EBC_USER_FLAGS_USE_IZL

#define EBC_USER_FLAGS_USE_IZL   0x00010000

Definition at line 36 of file aqebics/user.h.

Enumeration Type Documentation

◆ EBC_USER_STATUS

Enumerator
EBC_UserStatus_New 
EBC_UserStatus_Init1 
EBC_UserStatus_Init2 
EBC_UserStatus_Enabled 
EBC_UserStatus_Disabled 
EBC_UserStatus_Unknown 

Definition at line 47 of file aqebics/user.h.

Function Documentation

◆ EBC_User_AddFlags()

AQEBICS_API void EBC_User_AddFlags ( AB_USER u,
uint32_t  flags 
)

◆ EBC_User_Flags_fromDb()

AQEBICS_API uint32_t EBC_User_Flags_fromDb ( GWEN_DB_NODE *  db,
const char *  name 
)

◆ EBC_User_Flags_toDb()

AQEBICS_API void EBC_User_Flags_toDb ( GWEN_DB_NODE *  db,
const char *  name,
uint32_t  flags 
)

◆ EBC_User_GetAuthVersion()

AQEBICS_API const char* EBC_User_GetAuthVersion ( const AB_USER u)

◆ EBC_User_GetCryptVersion()

AQEBICS_API const char* EBC_User_GetCryptVersion ( const AB_USER u)

◆ EBC_User_GetFlags()

AQEBICS_API uint32_t EBC_User_GetFlags ( const AB_USER u)

Returns 0 if the bank doesn't sign messages, 1 otherwise. This can be used in case the bank sends a sign key upon request but never signs it's messages.

◆ EBC_User_GetHttpContentType()

AQEBICS_API const char* EBC_User_GetHttpContentType ( const AB_USER u)

◆ EBC_User_GetHttpUserAgent()

AQEBICS_API const char* EBC_User_GetHttpUserAgent ( const AB_USER u)

◆ EBC_User_GetHttpVMajor()

AQEBICS_API int EBC_User_GetHttpVMajor ( const AB_USER u)

Returns the major HTTP version to be used in PIN/TAN mode (defaults to 1).

◆ EBC_User_GetHttpVMinor()

AQEBICS_API int EBC_User_GetHttpVMinor ( const AB_USER u)

Returns the minor HTTP version to be used in PIN/TAN mode (defaults to 1).

◆ EBC_User_GetPeerId()

AQEBICS_API const char* EBC_User_GetPeerId ( const AB_USER u)

◆ EBC_User_GetProtoVersion()

AQEBICS_API const char* EBC_User_GetProtoVersion ( const AB_USER u)

◆ EBC_User_GetServerUrl()

AQEBICS_API const char* EBC_User_GetServerUrl ( const AB_USER u)

◆ EBC_User_GetSignVersion()

AQEBICS_API const char* EBC_User_GetSignVersion ( const AB_USER u)

◆ EBC_User_GetStatus()

AQEBICS_API EBC_USER_STATUS EBC_User_GetStatus ( const AB_USER u)

◆ EBC_User_GetSystemId()

AQEBICS_API const char* EBC_User_GetSystemId ( const AB_USER u)

◆ EBC_User_GetTokenContextId()

AQEBICS_API uint32_t EBC_User_GetTokenContextId ( const AB_USER u)

◆ EBC_User_GetTokenName()

AQEBICS_API const char* EBC_User_GetTokenName ( const AB_USER u)

◆ EBC_User_GetTokenType()

AQEBICS_API const char* EBC_User_GetTokenType ( const AB_USER u)

◆ EBC_User_MkPasswdName()

AQEBICS_API int EBC_User_MkPasswdName ( const AB_USER u,
GWEN_BUFFER *  buf 
)

◆ EBC_User_SetAuthVersion()

AQEBICS_API void EBC_User_SetAuthVersion ( AB_USER u,
const char *  s 
)

◆ EBC_User_SetCryptVersion()

AQEBICS_API void EBC_User_SetCryptVersion ( AB_USER u,
const char *  s 
)

◆ EBC_User_SetFlags()

AQEBICS_API void EBC_User_SetFlags ( AB_USER u,
uint32_t  flags 
)

◆ EBC_User_SetHttpContentType()

AQEBICS_API void EBC_User_SetHttpContentType ( AB_USER u,
const char *  s 
)

◆ EBC_User_SetHttpUserAgent()

AQEBICS_API void EBC_User_SetHttpUserAgent ( AB_USER u,
const char *  s 
)

◆ EBC_User_SetHttpVMajor()

AQEBICS_API void EBC_User_SetHttpVMajor ( AB_USER u,
int  i 
)

◆ EBC_User_SetHttpVMinor()

AQEBICS_API void EBC_User_SetHttpVMinor ( AB_USER u,
int  i 
)

◆ EBC_User_SetPeerId()

AQEBICS_API void EBC_User_SetPeerId ( AB_USER u,
const char *  s 
)

◆ EBC_User_SetProtoVersion()

AQEBICS_API void EBC_User_SetProtoVersion ( AB_USER u,
const char *  s 
)

◆ EBC_User_SetServerUrl()

AQEBICS_API void EBC_User_SetServerUrl ( AB_USER u,
const char *  s 
)

◆ EBC_User_SetSignVersion()

AQEBICS_API void EBC_User_SetSignVersion ( AB_USER u,
const char *  s 
)

◆ EBC_User_SetStatus()

AQEBICS_API void EBC_User_SetStatus ( AB_USER u,
EBC_USER_STATUS  i 
)

◆ EBC_User_SetSystemId()

AQEBICS_API void EBC_User_SetSystemId ( AB_USER u,
const char *  s 
)

◆ EBC_User_SetTokenContextId()

AQEBICS_API void EBC_User_SetTokenContextId ( AB_USER u,
uint32_t  id 
)

◆ EBC_User_SetTokenName()

AQEBICS_API void EBC_User_SetTokenName ( AB_USER u,
const char *  s 
)

◆ EBC_User_SetTokenType()

AQEBICS_API void EBC_User_SetTokenType ( AB_USER u,
const char *  s 
)

◆ EBC_User_Status_fromString()

AQEBICS_API EBC_USER_STATUS EBC_User_Status_fromString ( const char *  s)

◆ EBC_User_Status_toString()

AQEBICS_API const char* EBC_User_Status_toString ( EBC_USER_STATUS  st)

◆ EBC_User_SubFlags()

AQEBICS_API void EBC_User_SubFlags ( AB_USER u,
uint32_t  flags 
)