gwenhywfar 5.14.1
ctf_context_be.h File Reference
#include <gwenhywfar/ct_context.h>
#include <gwenhywfar/ct_keyinfo.h>
#include <gwenhywfar/cryptkey.h>
Include dependency graph for ctf_context_be.h:

Go to the source code of this file.

Macros

#define GWEN_CRYPT_TOKEN_CONTEXT_KEYS   7

Functions

GWENHYWFAR_API GWEN_CRYPT_KEYGWEN_CTF_Context_GetLocalAuthKey (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWENHYWFAR_API GWEN_CRYPT_TOKEN_KEYINFOGWEN_CTF_Context_GetLocalAuthKeyInfo (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWENHYWFAR_API GWEN_CRYPT_KEYGWEN_CTF_Context_GetLocalCryptKey (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWENHYWFAR_API GWEN_CRYPT_TOKEN_KEYINFOGWEN_CTF_Context_GetLocalCryptKeyInfo (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWENHYWFAR_API GWEN_CRYPT_KEYGWEN_CTF_Context_GetLocalSignKey (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWENHYWFAR_API GWEN_CRYPT_TOKEN_KEYINFOGWEN_CTF_Context_GetLocalSignKeyInfo (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWENHYWFAR_API GWEN_CRYPT_KEYGWEN_CTF_Context_GetRemoteAuthKey (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWENHYWFAR_API GWEN_CRYPT_TOKEN_KEYINFOGWEN_CTF_Context_GetRemoteAuthKeyInfo (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWENHYWFAR_API GWEN_CRYPT_KEYGWEN_CTF_Context_GetRemoteCryptKey (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWENHYWFAR_API GWEN_CRYPT_TOKEN_KEYINFOGWEN_CTF_Context_GetRemoteCryptKeyInfo (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWENHYWFAR_API GWEN_CRYPT_KEYGWEN_CTF_Context_GetRemoteSignKey (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWENHYWFAR_API GWEN_CRYPT_TOKEN_KEYINFOGWEN_CTF_Context_GetRemoteSignKeyInfo (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWENHYWFAR_API GWEN_CRYPT_KEYGWEN_CTF_Context_GetTempLocalSignKey (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWENHYWFAR_API GWEN_CRYPT_TOKEN_KEYINFOGWEN_CTF_Context_GetTempLocalSignKeyInfo (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWENHYWFAR_API int GWEN_CTF_Context_IsOfThisType (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWENHYWFAR_API GWEN_CRYPT_TOKEN_CONTEXTGWEN_CTF_Context_new ()
GWENHYWFAR_API void GWEN_CTF_Context_SetLocalAuthKey (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_KEY *k)
GWENHYWFAR_API void GWEN_CTF_Context_SetLocalAuthKeyInfo (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_TOKEN_KEYINFO *ki)
GWENHYWFAR_API void GWEN_CTF_Context_SetLocalCryptKey (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_KEY *k)
GWENHYWFAR_API void GWEN_CTF_Context_SetLocalCryptKeyInfo (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_TOKEN_KEYINFO *ki)
GWENHYWFAR_API void GWEN_CTF_Context_SetLocalSignKey (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_KEY *k)
GWENHYWFAR_API void GWEN_CTF_Context_SetLocalSignKeyInfo (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_TOKEN_KEYINFO *ki)
GWENHYWFAR_API void GWEN_CTF_Context_SetRemoteAuthKey (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_KEY *k)
GWENHYWFAR_API void GWEN_CTF_Context_SetRemoteAuthKeyInfo (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_TOKEN_KEYINFO *ki)
GWENHYWFAR_API void GWEN_CTF_Context_SetRemoteCryptKey (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_KEY *k)
GWENHYWFAR_API void GWEN_CTF_Context_SetRemoteCryptKeyInfo (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_TOKEN_KEYINFO *ki)
GWENHYWFAR_API void GWEN_CTF_Context_SetRemoteSignKey (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_KEY *k)
GWENHYWFAR_API void GWEN_CTF_Context_SetRemoteSignKeyInfo (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_TOKEN_KEYINFO *ki)
GWENHYWFAR_API void GWEN_CTF_Context_SetTempLocalSignKey (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_KEY *k)
GWENHYWFAR_API void GWEN_CTF_Context_SetTempLocalSignKeyInfo (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_TOKEN_KEYINFO *ki)

Macro Definition Documentation

◆ GWEN_CRYPT_TOKEN_CONTEXT_KEYS

#define GWEN_CRYPT_TOKEN_CONTEXT_KEYS   7

Definition at line 20 of file ctf_context_be.h.

Referenced by GWEN_Crypt_TokenFile__GetKeyIdList().

Function Documentation

◆ GWEN_CTF_Context_GetLocalAuthKey()

GWENHYWFAR_API GWEN_CRYPT_KEY * GWEN_CTF_Context_GetLocalAuthKey ( const GWEN_CRYPT_TOKEN_CONTEXT * ctx)

Definition at line 296 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GetKey(), GWEN_Crypt_TokenFile__SetKeyInfo(), and GWEN_Crypt_TokenOHBCI_Encode().

Here is the caller graph for this function:

◆ GWEN_CTF_Context_GetLocalAuthKeyInfo()

◆ GWEN_CTF_Context_GetLocalCryptKey()

GWENHYWFAR_API GWEN_CRYPT_KEY * GWEN_CTF_Context_GetLocalCryptKey ( const GWEN_CRYPT_TOKEN_CONTEXT * ctx)

Definition at line 134 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GetKey(), GWEN_Crypt_TokenFile__SetKeyInfo(), and GWEN_Crypt_TokenOHBCI_Encode().

Here is the caller graph for this function:

◆ GWEN_CTF_Context_GetLocalCryptKeyInfo()

GWENHYWFAR_API GWEN_CRYPT_TOKEN_KEYINFO * GWEN_CTF_Context_GetLocalCryptKeyInfo ( const GWEN_CRYPT_TOKEN_CONTEXT * ctx)

Definition at line 161 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GenerateKey(), GWEN_Crypt_TokenFile__GetKeyInfo(), and GWEN_Crypt_TokenFile__SetKeyInfo().

Here is the caller graph for this function:

◆ GWEN_CTF_Context_GetLocalSignKey()

GWENHYWFAR_API GWEN_CRYPT_KEY * GWEN_CTF_Context_GetLocalSignKey ( const GWEN_CRYPT_TOKEN_CONTEXT * ctx)

Definition at line 80 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GetKey(), GWEN_Crypt_TokenFile__SetKeyInfo(), and GWEN_Crypt_TokenOHBCI_Encode().

Here is the caller graph for this function:

◆ GWEN_CTF_Context_GetLocalSignKeyInfo()

◆ GWEN_CTF_Context_GetRemoteAuthKey()

GWENHYWFAR_API GWEN_CRYPT_KEY * GWEN_CTF_Context_GetRemoteAuthKey ( const GWEN_CRYPT_TOKEN_CONTEXT * ctx)

Definition at line 350 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GetKey(), GWEN_Crypt_TokenFile__SetKeyInfo(), and GWEN_Crypt_TokenOHBCI_Encode().

Here is the caller graph for this function:

◆ GWEN_CTF_Context_GetRemoteAuthKeyInfo()

GWENHYWFAR_API GWEN_CRYPT_TOKEN_KEYINFO * GWEN_CTF_Context_GetRemoteAuthKeyInfo ( const GWEN_CRYPT_TOKEN_CONTEXT * ctx)

Definition at line 377 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GetKeyInfo(), GWEN_Crypt_TokenFile__SetKeyInfo(), and GWEN_Crypt_TokenFile__Verify().

Here is the caller graph for this function:

◆ GWEN_CTF_Context_GetRemoteCryptKey()

GWENHYWFAR_API GWEN_CRYPT_KEY * GWEN_CTF_Context_GetRemoteCryptKey ( const GWEN_CRYPT_TOKEN_CONTEXT * ctx)

Definition at line 242 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GetKey(), GWEN_Crypt_TokenFile__SetKeyInfo(), and GWEN_Crypt_TokenOHBCI_Encode().

Here is the caller graph for this function:

◆ GWEN_CTF_Context_GetRemoteCryptKeyInfo()

GWENHYWFAR_API GWEN_CRYPT_TOKEN_KEYINFO * GWEN_CTF_Context_GetRemoteCryptKeyInfo ( const GWEN_CRYPT_TOKEN_CONTEXT * ctx)

Definition at line 269 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GetKeyInfo(), and GWEN_Crypt_TokenFile__SetKeyInfo().

Here is the caller graph for this function:

◆ GWEN_CTF_Context_GetRemoteSignKey()

GWENHYWFAR_API GWEN_CRYPT_KEY * GWEN_CTF_Context_GetRemoteSignKey ( const GWEN_CRYPT_TOKEN_CONTEXT * ctx)

Definition at line 188 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GetKey(), GWEN_Crypt_TokenFile__SetKeyInfo(), and GWEN_Crypt_TokenOHBCI_Encode().

Here is the caller graph for this function:

◆ GWEN_CTF_Context_GetRemoteSignKeyInfo()

GWENHYWFAR_API GWEN_CRYPT_TOKEN_KEYINFO * GWEN_CTF_Context_GetRemoteSignKeyInfo ( const GWEN_CRYPT_TOKEN_CONTEXT * ctx)

Definition at line 215 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GetKeyInfo(), GWEN_Crypt_TokenFile__SetKeyInfo(), GWEN_Crypt_TokenFile__Verify(), and GWEN_Crypt_TokenOHBCI_Encode().

Here is the caller graph for this function:

◆ GWEN_CTF_Context_GetTempLocalSignKey()

GWENHYWFAR_API GWEN_CRYPT_KEY * GWEN_CTF_Context_GetTempLocalSignKey ( const GWEN_CRYPT_TOKEN_CONTEXT * ctx)

Definition at line 404 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__ActivateKey(), GWEN_Crypt_TokenFile__SetKeyInfo(), and GWEN_Crypt_TokenOHBCI_Encode().

Here is the caller graph for this function:

◆ GWEN_CTF_Context_GetTempLocalSignKeyInfo()

GWENHYWFAR_API GWEN_CRYPT_TOKEN_KEYINFO * GWEN_CTF_Context_GetTempLocalSignKeyInfo ( const GWEN_CRYPT_TOKEN_CONTEXT * ctx)

Definition at line 431 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GenerateKey(), GWEN_Crypt_TokenFile__GetKeyInfo(), GWEN_Crypt_TokenFile__SetKeyInfo(), and GWEN_Crypt_TokenOHBCI_Encode().

Here is the caller graph for this function:

◆ GWEN_CTF_Context_IsOfThisType()

GWENHYWFAR_API int GWEN_CTF_Context_IsOfThisType ( const GWEN_CRYPT_TOKEN_CONTEXT * ctx)

Definition at line 45 of file ctf_context.c.

References GWEN_INHERIT_ISOFTYPE.

Referenced by GWEN_Crypt_TokenFile_AddContext().

Here is the caller graph for this function:

◆ GWEN_CTF_Context_new()

GWENHYWFAR_API GWEN_CRYPT_TOKEN_CONTEXT * GWEN_CTF_Context_new ( )

Definition at line 30 of file ctf_context.c.

References GWEN_Crypt_Token_Context_new(), GWEN_CTF_Context_freeData(), GWEN_CTF_Context_new(), GWEN_INHERIT_SETDATA, and GWEN_NEW_OBJECT.

Referenced by GWEN_Crypt_TokenOHBCI__Decode(), GWEN_Crypt_TokenOHBCI_Create(), and GWEN_CTF_Context_new().

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

◆ GWEN_CTF_Context_SetLocalAuthKey()

GWENHYWFAR_API void GWEN_CTF_Context_SetLocalAuthKey ( GWEN_CRYPT_TOKEN_CONTEXT * ctx,
GWEN_CRYPT_KEY * k )

Definition at line 309 of file ctf_context.c.

References GWEN_Crypt_Key_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__ActivateKey(), GWEN_Crypt_TokenFile__GenerateKey(), and GWEN_Crypt_TokenOHBCI__Decode().

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

◆ GWEN_CTF_Context_SetLocalAuthKeyInfo()

GWENHYWFAR_API void GWEN_CTF_Context_SetLocalAuthKeyInfo ( GWEN_CRYPT_TOKEN_CONTEXT * ctx,
GWEN_CRYPT_TOKEN_KEYINFO * ki )

Definition at line 336 of file ctf_context.c.

References GWEN_Crypt_Token_KeyInfo_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__ActivateKey(), GWEN_Crypt_TokenFile__GenerateKey(), GWEN_Crypt_TokenOHBCI__Decode(), and GWEN_Crypt_TokenOHBCI_Create().

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

◆ GWEN_CTF_Context_SetLocalCryptKey()

GWENHYWFAR_API void GWEN_CTF_Context_SetLocalCryptKey ( GWEN_CRYPT_TOKEN_CONTEXT * ctx,
GWEN_CRYPT_KEY * k )

Definition at line 147 of file ctf_context.c.

References GWEN_Crypt_Key_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GenerateKey(), and GWEN_Crypt_TokenOHBCI__Decode().

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

◆ GWEN_CTF_Context_SetLocalCryptKeyInfo()

GWENHYWFAR_API void GWEN_CTF_Context_SetLocalCryptKeyInfo ( GWEN_CRYPT_TOKEN_CONTEXT * ctx,
GWEN_CRYPT_TOKEN_KEYINFO * ki )

Definition at line 174 of file ctf_context.c.

References GWEN_Crypt_Token_KeyInfo_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GenerateKey(), GWEN_Crypt_TokenOHBCI__Decode(), and GWEN_Crypt_TokenOHBCI_Create().

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

◆ GWEN_CTF_Context_SetLocalSignKey()

GWENHYWFAR_API void GWEN_CTF_Context_SetLocalSignKey ( GWEN_CRYPT_TOKEN_CONTEXT * ctx,
GWEN_CRYPT_KEY * k )

Definition at line 93 of file ctf_context.c.

References GWEN_Crypt_Key_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__ActivateKey(), GWEN_Crypt_TokenFile__GenerateKey(), and GWEN_Crypt_TokenOHBCI__Decode().

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

◆ GWEN_CTF_Context_SetLocalSignKeyInfo()

GWENHYWFAR_API void GWEN_CTF_Context_SetLocalSignKeyInfo ( GWEN_CRYPT_TOKEN_CONTEXT * ctx,
GWEN_CRYPT_TOKEN_KEYINFO * ki )

Definition at line 120 of file ctf_context.c.

References GWEN_Crypt_Token_KeyInfo_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__ActivateKey(), GWEN_Crypt_TokenFile__GenerateKey(), GWEN_Crypt_TokenOHBCI__Decode(), and GWEN_Crypt_TokenOHBCI_Create().

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

◆ GWEN_CTF_Context_SetRemoteAuthKey()

GWENHYWFAR_API void GWEN_CTF_Context_SetRemoteAuthKey ( GWEN_CRYPT_TOKEN_CONTEXT * ctx,
GWEN_CRYPT_KEY * k )

Definition at line 363 of file ctf_context.c.

References GWEN_Crypt_Key_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__SetKeyInfo(), and GWEN_Crypt_TokenOHBCI__Decode().

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

◆ GWEN_CTF_Context_SetRemoteAuthKeyInfo()

GWENHYWFAR_API void GWEN_CTF_Context_SetRemoteAuthKeyInfo ( GWEN_CRYPT_TOKEN_CONTEXT * ctx,
GWEN_CRYPT_TOKEN_KEYINFO * ki )

Definition at line 390 of file ctf_context.c.

References GWEN_Crypt_Token_KeyInfo_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenOHBCI__Decode(), and GWEN_Crypt_TokenOHBCI_Create().

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

◆ GWEN_CTF_Context_SetRemoteCryptKey()

GWENHYWFAR_API void GWEN_CTF_Context_SetRemoteCryptKey ( GWEN_CRYPT_TOKEN_CONTEXT * ctx,
GWEN_CRYPT_KEY * k )

Definition at line 255 of file ctf_context.c.

References GWEN_Crypt_Key_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__SetKeyInfo(), and GWEN_Crypt_TokenOHBCI__Decode().

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

◆ GWEN_CTF_Context_SetRemoteCryptKeyInfo()

GWENHYWFAR_API void GWEN_CTF_Context_SetRemoteCryptKeyInfo ( GWEN_CRYPT_TOKEN_CONTEXT * ctx,
GWEN_CRYPT_TOKEN_KEYINFO * ki )

Definition at line 282 of file ctf_context.c.

References GWEN_Crypt_Token_KeyInfo_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenOHBCI__Decode(), and GWEN_Crypt_TokenOHBCI_Create().

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

◆ GWEN_CTF_Context_SetRemoteSignKey()

GWENHYWFAR_API void GWEN_CTF_Context_SetRemoteSignKey ( GWEN_CRYPT_TOKEN_CONTEXT * ctx,
GWEN_CRYPT_KEY * k )

Definition at line 201 of file ctf_context.c.

References GWEN_Crypt_Key_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__SetKeyInfo(), and GWEN_Crypt_TokenOHBCI__Decode().

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

◆ GWEN_CTF_Context_SetRemoteSignKeyInfo()

GWENHYWFAR_API void GWEN_CTF_Context_SetRemoteSignKeyInfo ( GWEN_CRYPT_TOKEN_CONTEXT * ctx,
GWEN_CRYPT_TOKEN_KEYINFO * ki )

Definition at line 228 of file ctf_context.c.

References GWEN_Crypt_Token_KeyInfo_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenOHBCI__Decode(), and GWEN_Crypt_TokenOHBCI_Create().

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

◆ GWEN_CTF_Context_SetTempLocalSignKey()

GWENHYWFAR_API void GWEN_CTF_Context_SetTempLocalSignKey ( GWEN_CRYPT_TOKEN_CONTEXT * ctx,
GWEN_CRYPT_KEY * k )

Definition at line 417 of file ctf_context.c.

References GWEN_Crypt_Key_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GenerateKey(), and GWEN_Crypt_TokenOHBCI__Decode().

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

◆ GWEN_CTF_Context_SetTempLocalSignKeyInfo()

GWENHYWFAR_API void GWEN_CTF_Context_SetTempLocalSignKeyInfo ( GWEN_CRYPT_TOKEN_CONTEXT * ctx,
GWEN_CRYPT_TOKEN_KEYINFO * ki )

Definition at line 444 of file ctf_context.c.

References GWEN_Crypt_Token_KeyInfo_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GenerateKey(), and GWEN_Crypt_TokenOHBCI__Decode().

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