gwenhywfar 5.10.1
Functions
ct_context.c File Reference
#include "ct_context_p.h"
#include <gwenhywfar/misc.h>
#include <gwenhywfar/debug.h>
Include dependency graph for ct_context.c:

Go to the source code of this file.

Functions

void GWEN_Crypt_Token_Context_Attach (GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
GWEN_CRYPT_TOKEN_CONTEXTGWEN_Crypt_Token_Context_copy (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, const GWEN_CRYPT_TOKEN_CONTEXT *p_src)
 
GWEN_CRYPT_TOKEN_CONTEXTGWEN_Crypt_Token_Context_dup (const GWEN_CRYPT_TOKEN_CONTEXT *p_src)
 
void GWEN_Crypt_Token_Context_free (GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
GWEN_CRYPT_TOKEN_CONTEXTGWEN_Crypt_Token_Context_fromDb (GWEN_DB_NODE *p_db)
 
GWEN_CRYPT_TOKEN_CONTEXTGWEN_Crypt_Token_Context_fromXml (GWEN_XMLNODE *p_db)
 
const char * GWEN_Crypt_Token_Context_GetAddress (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetAuthSignKeyId (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetAuthSignKeyNum (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetAuthSignKeyVer (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetAuthVerifyKeyId (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetCidLen (const GWEN_CRYPT_TOKEN_CONTEXT *st)
 
const uint8_t * GWEN_Crypt_Token_Context_GetCidPtr (const GWEN_CRYPT_TOKEN_CONTEXT *st)
 
const char * GWEN_Crypt_Token_Context_GetCustomerId (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetDecipherKeyId (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetDecipherKeyNum (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetDecipherKeyVer (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetEncipherKeyId (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetId (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetKeyHashAlgo (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetKeyHashLen (const GWEN_CRYPT_TOKEN_CONTEXT *st)
 
uint32_t GWEN_Crypt_Token_Context_GetKeyHashNum (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
const uint8_t * GWEN_Crypt_Token_Context_GetKeyHashPtr (const GWEN_CRYPT_TOKEN_CONTEXT *st)
 
uint32_t GWEN_Crypt_Token_Context_GetKeyHashVer (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetKeyStatus (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
const char * GWEN_Crypt_Token_Context_GetPeerId (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
const char * GWEN_Crypt_Token_Context_GetPeerName (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
int GWEN_Crypt_Token_Context_GetPort (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetProtocolVersion (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
const char * GWEN_Crypt_Token_Context_GetServiceId (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetSignKeyId (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetSignKeyNum (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetSignKeyVer (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
const char * GWEN_Crypt_Token_Context_GetSystemId (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetTempSignKeyId (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
const char * GWEN_Crypt_Token_Context_GetUserId (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
const char * GWEN_Crypt_Token_Context_GetUserName (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
uint32_t GWEN_Crypt_Token_Context_GetVerifyKeyId (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct)
 
GWEN_CRYPT_TOKEN_CONTEXT_LISTGWEN_Crypt_Token_Context_List_dup (const GWEN_CRYPT_TOKEN_CONTEXT_LIST *p_src)
 
GWEN_CRYPT_TOKEN_CONTEXTGWEN_Crypt_Token_Context_List_GetById (const GWEN_CRYPT_TOKEN_CONTEXT_LIST *p_list, uint32_t p_cmp)
 
GWEN_CRYPT_TOKEN_CONTEXTGWEN_Crypt_Token_Context_new (void)
 
void GWEN_Crypt_Token_Context_ReadDb (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, GWEN_DB_NODE *p_db)
 
void GWEN_Crypt_Token_Context_ReadXml (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, GWEN_XMLNODE *p_db)
 
void GWEN_Crypt_Token_Context_SetAddress (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, const char *p_src)
 
void GWEN_Crypt_Token_Context_SetAuthSignKeyId (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetAuthSignKeyNum (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetAuthSignKeyVer (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetAuthVerifyKeyId (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetCid (GWEN_CRYPT_TOKEN_CONTEXT *st, const uint8_t *p, uint32_t len)
 
void GWEN_Crypt_Token_Context_SetCustomerId (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, const char *p_src)
 
void GWEN_Crypt_Token_Context_SetDecipherKeyId (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetDecipherKeyNum (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetDecipherKeyVer (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetEncipherKeyId (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetId (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetKeyHash (GWEN_CRYPT_TOKEN_CONTEXT *st, const uint8_t *p, uint32_t len)
 
void GWEN_Crypt_Token_Context_SetKeyHashAlgo (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetKeyHashNum (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetKeyHashVer (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetKeyStatus (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetPeerId (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, const char *p_src)
 
void GWEN_Crypt_Token_Context_SetPeerName (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, const char *p_src)
 
void GWEN_Crypt_Token_Context_SetPort (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, int p_src)
 
void GWEN_Crypt_Token_Context_SetProtocolVersion (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetServiceId (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, const char *p_src)
 
void GWEN_Crypt_Token_Context_SetSignKeyId (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetSignKeyNum (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetSignKeyVer (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetSystemId (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, const char *p_src)
 
void GWEN_Crypt_Token_Context_SetTempSignKeyId (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
void GWEN_Crypt_Token_Context_SetUserId (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, const char *p_src)
 
void GWEN_Crypt_Token_Context_SetUserName (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, const char *p_src)
 
void GWEN_Crypt_Token_Context_SetVerifyKeyId (GWEN_CRYPT_TOKEN_CONTEXT *p_struct, uint32_t p_src)
 
int GWEN_Crypt_Token_Context_toDb (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct, GWEN_DB_NODE *p_db)
 
void GWEN_Crypt_Token_Context_toXml (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct, GWEN_XMLNODE *p_db)
 
int GWEN_Crypt_Token_Context_WriteDb (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct, GWEN_DB_NODE *p_db)
 
void GWEN_Crypt_Token_Context_WriteXml (const GWEN_CRYPT_TOKEN_CONTEXT *p_struct, GWEN_XMLNODE *p_db)
 

Function Documentation

◆ GWEN_Crypt_Token_Context_Attach()

void GWEN_Crypt_Token_Context_Attach ( GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Definition at line 113 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_copy()

GWEN_CRYPT_TOKEN_CONTEXT * GWEN_Crypt_Token_Context_copy ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
const GWEN_CRYPT_TOKEN_CONTEXT p_src 
)

Definition at line 303 of file ct_context.c.

References NULL.

◆ GWEN_Crypt_Token_Context_dup()

GWEN_CRYPT_TOKEN_CONTEXT * GWEN_Crypt_Token_Context_dup ( const GWEN_CRYPT_TOKEN_CONTEXT p_src)

Definition at line 120 of file ct_context.c.

References GWEN_Crypt_Token_Context_new(), and NULL.

Referenced by GWEN_Crypt_Token_Context_List_dup().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_free()

void GWEN_Crypt_Token_Context_free ( GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Destructor.

Definition at line 71 of file ct_context.c.

References GWEN_FREE_OBJECT, GWEN_INHERIT_FINI, GWEN_LIST_FINI, and NULL.

Referenced by GWEN_Crypt_TokenOHBCI__Decode().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_fromDb()

GWEN_CRYPT_TOKEN_CONTEXT * GWEN_Crypt_Token_Context_fromDb ( GWEN_DB_NODE p_db)

Definition at line 1401 of file ct_context.c.

References GWEN_Crypt_Token_Context_new(), and GWEN_Crypt_Token_Context_ReadDb().

Here is the call graph for this function:

◆ GWEN_Crypt_Token_Context_fromXml()

GWEN_CRYPT_TOKEN_CONTEXT * GWEN_Crypt_Token_Context_fromXml ( GWEN_XMLNODE p_db)

Definition at line 1793 of file ct_context.c.

References GWEN_Crypt_Token_Context_new(), and GWEN_Crypt_Token_Context_ReadXml().

Here is the call graph for this function:

◆ GWEN_Crypt_Token_Context_GetAddress()

const char * GWEN_Crypt_Token_Context_GetAddress ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "address" (see GWEN_CRYPT_TOKEN_CONTEXT_address)

Definition at line 635 of file ct_context.c.

Referenced by GWEN_Crypt_TokenFile__SetContext(), GWEN_Crypt_TokenOHBCI_Encode(), and showUser().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_GetAuthSignKeyId()

uint32_t GWEN_Crypt_Token_Context_GetAuthSignKeyId ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "authSignKeyId" (see GWEN_CRYPT_TOKEN_CONTEXT_authSignKeyId)

Definition at line 539 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetAuthSignKeyNum()

uint32_t GWEN_Crypt_Token_Context_GetAuthSignKeyNum ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "authSignKeyNum" (see GWEN_CRYPT_TOKEN_CONTEXT_authSignKeyNum)

Definition at line 545 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetAuthSignKeyVer()

uint32_t GWEN_Crypt_Token_Context_GetAuthSignKeyVer ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "authSignKeyVer" (see GWEN_CRYPT_TOKEN_CONTEXT_authSignKeyVer)

Definition at line 551 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetAuthVerifyKeyId()

uint32_t GWEN_Crypt_Token_Context_GetAuthVerifyKeyId ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "authVerifyKeyId" (see GWEN_CRYPT_TOKEN_CONTEXT_authVerifyKeyId)

Definition at line 557 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetCidLen()

uint32_t GWEN_Crypt_Token_Context_GetCidLen ( const GWEN_CRYPT_TOKEN_CONTEXT st)

Definition at line 1881 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetCidPtr()

const uint8_t * GWEN_Crypt_Token_Context_GetCidPtr ( const GWEN_CRYPT_TOKEN_CONTEXT st)

Definition at line 1876 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetCustomerId()

const char * GWEN_Crypt_Token_Context_GetCustomerId ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "customerId" (see GWEN_CRYPT_TOKEN_CONTEXT_customerId)

Definition at line 611 of file ct_context.c.

Referenced by showUser().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_GetDecipherKeyId()

uint32_t GWEN_Crypt_Token_Context_GetDecipherKeyId ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "decipherKeyId" (see GWEN_CRYPT_TOKEN_CONTEXT_decipherKeyId)

Definition at line 521 of file ct_context.c.

Referenced by showUser().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_GetDecipherKeyNum()

uint32_t GWEN_Crypt_Token_Context_GetDecipherKeyNum ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "decipherKeyNum" (see GWEN_CRYPT_TOKEN_CONTEXT_decipherKeyNum)

Definition at line 527 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetDecipherKeyVer()

uint32_t GWEN_Crypt_Token_Context_GetDecipherKeyVer ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "decipherKeyVer" (see GWEN_CRYPT_TOKEN_CONTEXT_decipherKeyVer)

Definition at line 533 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetEncipherKeyId()

uint32_t GWEN_Crypt_Token_Context_GetEncipherKeyId ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "encipherKeyId" (see GWEN_CRYPT_TOKEN_CONTEXT_encipherKeyId)

Definition at line 515 of file ct_context.c.

Referenced by showUser().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_GetId()

uint32_t GWEN_Crypt_Token_Context_GetId ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "id" (see GWEN_CRYPT_TOKEN_CONTEXT_id)

Definition at line 485 of file ct_context.c.

Referenced by GWEN_Crypt_TokenFile__GetContext(), GWEN_Crypt_TokenFile__SetContext(), GWEN_Crypt_TokenFile__Sign(), and showUser().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_GetKeyHashAlgo()

uint32_t GWEN_Crypt_Token_Context_GetKeyHashAlgo ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "keyHashAlgo" (see GWEN_CRYPT_TOKEN_CONTEXT_keyHashAlgo)

Definition at line 581 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetKeyHashLen()

uint32_t GWEN_Crypt_Token_Context_GetKeyHashLen ( const GWEN_CRYPT_TOKEN_CONTEXT st)

Definition at line 1850 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetKeyHashNum()

uint32_t GWEN_Crypt_Token_Context_GetKeyHashNum ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "keyHashNum" (see GWEN_CRYPT_TOKEN_CONTEXT_keyHashNum)

Definition at line 569 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetKeyHashPtr()

const uint8_t * GWEN_Crypt_Token_Context_GetKeyHashPtr ( const GWEN_CRYPT_TOKEN_CONTEXT st)

Definition at line 1845 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetKeyHashVer()

uint32_t GWEN_Crypt_Token_Context_GetKeyHashVer ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "keyHashVer" (see GWEN_CRYPT_TOKEN_CONTEXT_keyHashVer)

Definition at line 575 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetKeyStatus()

uint32_t GWEN_Crypt_Token_Context_GetKeyStatus ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "keyStatus" (see GWEN_CRYPT_TOKEN_CONTEXT_keyStatus)

Definition at line 587 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetPeerId()

const char * GWEN_Crypt_Token_Context_GetPeerId ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "peerId" (see GWEN_CRYPT_TOKEN_CONTEXT_peerId)

Definition at line 623 of file ct_context.c.

Referenced by GWEN_Crypt_TokenFile__SetContext(), GWEN_Crypt_TokenOHBCI__EncodeKey(), and showUser().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_GetPeerName()

const char * GWEN_Crypt_Token_Context_GetPeerName ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "peerName" (see GWEN_CRYPT_TOKEN_CONTEXT_peerName)

Definition at line 629 of file ct_context.c.

Referenced by showUser().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_GetPort()

int GWEN_Crypt_Token_Context_GetPort ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "port" (see GWEN_CRYPT_TOKEN_CONTEXT_port)

Definition at line 641 of file ct_context.c.

Referenced by GWEN_Crypt_TokenFile__SetContext(), GWEN_Crypt_TokenOHBCI_Encode(), and showUser().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_GetProtocolVersion()

uint32_t GWEN_Crypt_Token_Context_GetProtocolVersion ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "protocolVersion" (see GWEN_CRYPT_TOKEN_CONTEXT_protocolVersion)

Definition at line 593 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetServiceId()

const char * GWEN_Crypt_Token_Context_GetServiceId ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "serviceId" (see GWEN_CRYPT_TOKEN_CONTEXT_serviceId)

Definition at line 599 of file ct_context.c.

Referenced by GWEN_Crypt_TokenFile__SetContext(), GWEN_Crypt_TokenOHBCI_Encode(), and showUser().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_GetSignKeyId()

uint32_t GWEN_Crypt_Token_Context_GetSignKeyId ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "signKeyId" (see GWEN_CRYPT_TOKEN_CONTEXT_signKeyId)

Definition at line 491 of file ct_context.c.

Referenced by showUser().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_GetSignKeyNum()

uint32_t GWEN_Crypt_Token_Context_GetSignKeyNum ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "signKeyNum" (see GWEN_CRYPT_TOKEN_CONTEXT_signKeyNum)

Definition at line 497 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetSignKeyVer()

uint32_t GWEN_Crypt_Token_Context_GetSignKeyVer ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "signKeyVer" (see GWEN_CRYPT_TOKEN_CONTEXT_signKeyVer)

Definition at line 503 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetSystemId()

const char * GWEN_Crypt_Token_Context_GetSystemId ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "systemId" (see GWEN_CRYPT_TOKEN_CONTEXT_systemId)

Definition at line 647 of file ct_context.c.

Referenced by GWEN_Crypt_TokenFile__SetContext(), GWEN_Crypt_TokenOHBCI_Encode(), and showUser().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_GetTempSignKeyId()

uint32_t GWEN_Crypt_Token_Context_GetTempSignKeyId ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "tempSignKeyId" (see GWEN_CRYPT_TOKEN_CONTEXT_tempSignKeyId)

Definition at line 563 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_GetUserId()

const char * GWEN_Crypt_Token_Context_GetUserId ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "userId" (see GWEN_CRYPT_TOKEN_CONTEXT_userId)

Definition at line 605 of file ct_context.c.

Referenced by GWEN_Crypt_TokenFile__SetContext(), GWEN_Crypt_TokenOHBCI_Encode(), and showUser().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_GetUserName()

const char * GWEN_Crypt_Token_Context_GetUserName ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "userName" (see GWEN_CRYPT_TOKEN_CONTEXT_userName)

Definition at line 617 of file ct_context.c.

Referenced by GWEN_Crypt_TokenFile__SetContext(), and showUser().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_GetVerifyKeyId()

uint32_t GWEN_Crypt_Token_Context_GetVerifyKeyId ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct)

Getter. Use this function to get the member "verifyKeyId" (see GWEN_CRYPT_TOKEN_CONTEXT_verifyKeyId)

Definition at line 509 of file ct_context.c.

Referenced by showUser().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_List_dup()

GWEN_CRYPT_TOKEN_CONTEXT_LIST * GWEN_Crypt_Token_Context_List_dup ( const GWEN_CRYPT_TOKEN_CONTEXT_LIST p_src)

◆ GWEN_Crypt_Token_Context_List_GetById()

GWEN_CRYPT_TOKEN_CONTEXT * GWEN_Crypt_Token_Context_List_GetById ( const GWEN_CRYPT_TOKEN_CONTEXT_LIST p_list,
uint32_t  p_cmp 
)

Definition at line 1801 of file ct_context.c.

References GWEN_Crypt_Token_Context_List_First(), GWEN_Crypt_Token_Context_List_Next(), and NULL.

Here is the call graph for this function:

◆ GWEN_Crypt_Token_Context_new()

GWEN_CRYPT_TOKEN_CONTEXT * GWEN_Crypt_Token_Context_new ( void  )

Constructor.

Definition at line 25 of file ct_context.c.

References GWEN_INHERIT_INIT, GWEN_LIST_INIT, GWEN_NEW_OBJECT, and NULL.

Referenced by GWEN_Crypt_Token_Context_dup(), GWEN_Crypt_Token_Context_fromDb(), GWEN_Crypt_Token_Context_fromXml(), and GWEN_CTF_Context_new().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_ReadDb()

void GWEN_Crypt_Token_Context_ReadDb ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
GWEN_DB_NODE p_db 
)

Definition at line 913 of file ct_context.c.

References GWEN_DB_GetBinValue(), GWEN_DB_GetCharValue(), GWEN_DB_GetIntValue(), and NULL.

Referenced by GWEN_Crypt_Token_Context_fromDb().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_ReadXml()

void GWEN_Crypt_Token_Context_ReadXml ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
GWEN_XMLNODE p_db 
)

◆ GWEN_Crypt_Token_Context_SetAddress()

void GWEN_Crypt_Token_Context_SetAddress ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
const char *  p_src 
)

Setter. Use this function to set the member "address" (see GWEN_CRYPT_TOKEN_CONTEXT_address)

Definition at line 857 of file ct_context.c.

References NULL.

Referenced by GWEN_Crypt_TokenFile__SetContext(), and GWEN_Crypt_TokenOHBCI__Decode().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_SetAuthSignKeyId()

void GWEN_Crypt_Token_Context_SetAuthSignKeyId ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "authSignKeyId" (see GWEN_CRYPT_TOKEN_CONTEXT_authSignKeyId)

Definition at line 707 of file ct_context.c.

Referenced by GWEN_Crypt_TokenOHBCI__Decode(), and GWEN_Crypt_TokenOHBCI_Create().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_SetAuthSignKeyNum()

void GWEN_Crypt_Token_Context_SetAuthSignKeyNum ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "authSignKeyNum" (see GWEN_CRYPT_TOKEN_CONTEXT_authSignKeyNum)

Definition at line 713 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_SetAuthSignKeyVer()

void GWEN_Crypt_Token_Context_SetAuthSignKeyVer ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "authSignKeyVer" (see GWEN_CRYPT_TOKEN_CONTEXT_authSignKeyVer)

Definition at line 719 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_SetAuthVerifyKeyId()

void GWEN_Crypt_Token_Context_SetAuthVerifyKeyId ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "authVerifyKeyId" (see GWEN_CRYPT_TOKEN_CONTEXT_authVerifyKeyId)

Definition at line 725 of file ct_context.c.

Referenced by GWEN_Crypt_TokenOHBCI__Decode(), and GWEN_Crypt_TokenOHBCI_Create().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_SetCid()

void GWEN_Crypt_Token_Context_SetCid ( GWEN_CRYPT_TOKEN_CONTEXT st,
const uint8_t *  p,
uint32_t  len 
)

Definition at line 1855 of file ct_context.c.

References NULL.

◆ GWEN_Crypt_Token_Context_SetCustomerId()

void GWEN_Crypt_Token_Context_SetCustomerId ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
const char *  p_src 
)

Setter. Use this function to set the member "customerId" (see GWEN_CRYPT_TOKEN_CONTEXT_customerId)

Definition at line 797 of file ct_context.c.

References NULL.

◆ GWEN_Crypt_Token_Context_SetDecipherKeyId()

void GWEN_Crypt_Token_Context_SetDecipherKeyId ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "decipherKeyId" (see GWEN_CRYPT_TOKEN_CONTEXT_decipherKeyId)

Definition at line 689 of file ct_context.c.

Referenced by GWEN_Crypt_TokenOHBCI__Decode(), and GWEN_Crypt_TokenOHBCI_Create().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_SetDecipherKeyNum()

void GWEN_Crypt_Token_Context_SetDecipherKeyNum ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "decipherKeyNum" (see GWEN_CRYPT_TOKEN_CONTEXT_decipherKeyNum)

Definition at line 695 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_SetDecipherKeyVer()

void GWEN_Crypt_Token_Context_SetDecipherKeyVer ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "decipherKeyVer" (see GWEN_CRYPT_TOKEN_CONTEXT_decipherKeyVer)

Definition at line 701 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_SetEncipherKeyId()

void GWEN_Crypt_Token_Context_SetEncipherKeyId ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "encipherKeyId" (see GWEN_CRYPT_TOKEN_CONTEXT_encipherKeyId)

Definition at line 683 of file ct_context.c.

Referenced by GWEN_Crypt_TokenOHBCI__Decode(), and GWEN_Crypt_TokenOHBCI_Create().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_SetId()

void GWEN_Crypt_Token_Context_SetId ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "id" (see GWEN_CRYPT_TOKEN_CONTEXT_id)

Definition at line 653 of file ct_context.c.

Referenced by GWEN_Crypt_TokenOHBCI__Decode(), and GWEN_Crypt_TokenOHBCI_Create().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_SetKeyHash()

void GWEN_Crypt_Token_Context_SetKeyHash ( GWEN_CRYPT_TOKEN_CONTEXT st,
const uint8_t *  p,
uint32_t  len 
)

Definition at line 1824 of file ct_context.c.

References NULL.

◆ GWEN_Crypt_Token_Context_SetKeyHashAlgo()

void GWEN_Crypt_Token_Context_SetKeyHashAlgo ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "keyHashAlgo" (see GWEN_CRYPT_TOKEN_CONTEXT_keyHashAlgo)

Definition at line 749 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_SetKeyHashNum()

void GWEN_Crypt_Token_Context_SetKeyHashNum ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "keyHashNum" (see GWEN_CRYPT_TOKEN_CONTEXT_keyHashNum)

Definition at line 737 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_SetKeyHashVer()

void GWEN_Crypt_Token_Context_SetKeyHashVer ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "keyHashVer" (see GWEN_CRYPT_TOKEN_CONTEXT_keyHashVer)

Definition at line 743 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_SetKeyStatus()

void GWEN_Crypt_Token_Context_SetKeyStatus ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "keyStatus" (see GWEN_CRYPT_TOKEN_CONTEXT_keyStatus)

Definition at line 755 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_SetPeerId()

void GWEN_Crypt_Token_Context_SetPeerId ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
const char *  p_src 
)

Setter. Use this function to set the member "peerId" (see GWEN_CRYPT_TOKEN_CONTEXT_peerId)

Definition at line 827 of file ct_context.c.

References NULL.

Referenced by GWEN_Crypt_TokenFile__SetContext(), and GWEN_Crypt_TokenOHBCI__Decode().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_SetPeerName()

void GWEN_Crypt_Token_Context_SetPeerName ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
const char *  p_src 
)

Setter. Use this function to set the member "peerName" (see GWEN_CRYPT_TOKEN_CONTEXT_peerName)

Definition at line 842 of file ct_context.c.

References NULL.

◆ GWEN_Crypt_Token_Context_SetPort()

void GWEN_Crypt_Token_Context_SetPort ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
int  p_src 
)

Setter. Use this function to set the member "port" (see GWEN_CRYPT_TOKEN_CONTEXT_port)

Definition at line 872 of file ct_context.c.

Referenced by GWEN_Crypt_TokenFile__SetContext(), and GWEN_Crypt_TokenOHBCI__Decode().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_SetProtocolVersion()

void GWEN_Crypt_Token_Context_SetProtocolVersion ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "protocolVersion" (see GWEN_CRYPT_TOKEN_CONTEXT_protocolVersion)

Definition at line 761 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_SetServiceId()

void GWEN_Crypt_Token_Context_SetServiceId ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
const char *  p_src 
)

Setter. Use this function to set the member "serviceId" (see GWEN_CRYPT_TOKEN_CONTEXT_serviceId)

Definition at line 767 of file ct_context.c.

References NULL.

Referenced by GWEN_Crypt_TokenFile__SetContext(), and GWEN_Crypt_TokenOHBCI__Decode().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_SetSignKeyId()

void GWEN_Crypt_Token_Context_SetSignKeyId ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "signKeyId" (see GWEN_CRYPT_TOKEN_CONTEXT_signKeyId)

Definition at line 659 of file ct_context.c.

Referenced by GWEN_Crypt_TokenOHBCI__Decode(), and GWEN_Crypt_TokenOHBCI_Create().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_SetSignKeyNum()

void GWEN_Crypt_Token_Context_SetSignKeyNum ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "signKeyNum" (see GWEN_CRYPT_TOKEN_CONTEXT_signKeyNum)

Definition at line 665 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_SetSignKeyVer()

void GWEN_Crypt_Token_Context_SetSignKeyVer ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "signKeyVer" (see GWEN_CRYPT_TOKEN_CONTEXT_signKeyVer)

Definition at line 671 of file ct_context.c.

◆ GWEN_Crypt_Token_Context_SetSystemId()

void GWEN_Crypt_Token_Context_SetSystemId ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
const char *  p_src 
)

Setter. Use this function to set the member "systemId" (see GWEN_CRYPT_TOKEN_CONTEXT_systemId)

Definition at line 878 of file ct_context.c.

References NULL.

Referenced by GWEN_Crypt_TokenFile__SetContext(), and GWEN_Crypt_TokenOHBCI__Decode().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_SetTempSignKeyId()

void GWEN_Crypt_Token_Context_SetTempSignKeyId ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "tempSignKeyId" (see GWEN_CRYPT_TOKEN_CONTEXT_tempSignKeyId)

Definition at line 731 of file ct_context.c.

Referenced by GWEN_Crypt_TokenOHBCI__Decode().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_SetUserId()

void GWEN_Crypt_Token_Context_SetUserId ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
const char *  p_src 
)

Setter. Use this function to set the member "userId" (see GWEN_CRYPT_TOKEN_CONTEXT_userId)

Definition at line 782 of file ct_context.c.

References NULL.

Referenced by GWEN_Crypt_TokenFile__SetContext(), and GWEN_Crypt_TokenOHBCI__Decode().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_SetUserName()

void GWEN_Crypt_Token_Context_SetUserName ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
const char *  p_src 
)

Setter. Use this function to set the member "userName" (see GWEN_CRYPT_TOKEN_CONTEXT_userName)

Definition at line 812 of file ct_context.c.

References NULL.

Referenced by GWEN_Crypt_TokenFile__SetContext().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_SetVerifyKeyId()

void GWEN_Crypt_Token_Context_SetVerifyKeyId ( GWEN_CRYPT_TOKEN_CONTEXT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "verifyKeyId" (see GWEN_CRYPT_TOKEN_CONTEXT_verifyKeyId)

Definition at line 677 of file ct_context.c.

Referenced by GWEN_Crypt_TokenOHBCI__Decode(), and GWEN_Crypt_TokenOHBCI_Create().

Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_toDb()

int GWEN_Crypt_Token_Context_toDb ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct,
GWEN_DB_NODE p_db 
)

Definition at line 1409 of file ct_context.c.

References GWEN_Crypt_Token_Context_WriteDb().

Here is the call graph for this function:

◆ GWEN_Crypt_Token_Context_toXml()

void GWEN_Crypt_Token_Context_toXml ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 1788 of file ct_context.c.

References GWEN_Crypt_Token_Context_WriteXml().

Here is the call graph for this function:

◆ GWEN_Crypt_Token_Context_WriteDb()

int GWEN_Crypt_Token_Context_WriteDb ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct,
GWEN_DB_NODE p_db 
)

Definition at line 1126 of file ct_context.c.

References DBG_INFO, GWEN_DB_DeleteVar(), GWEN_DB_FLAGS_OVERWRITE_VARS, GWEN_DB_SetBinValue(), GWEN_DB_SetCharValue(), GWEN_DB_SetIntValue(), and GWEN_LOGDOMAIN.

Referenced by GWEN_Crypt_Token_Context_toDb().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_Crypt_Token_Context_WriteXml()

void GWEN_Crypt_Token_Context_WriteXml ( const GWEN_CRYPT_TOKEN_CONTEXT p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 1665 of file ct_context.c.

References DBG_INFO, GWEN_Base64_Encode(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), GWEN_LOGDOMAIN, GWEN_XMLNode_SetCharValue(), and GWEN_XMLNode_SetIntValue().

Referenced by GWEN_Crypt_Token_Context_toXml().

Here is the call graph for this function:
Here is the caller graph for this function: