ctf_context.c File Reference

#include "ctf_context_p.h"
#include <gwenhywfar/misc.h>
#include <gwenhywfar/debug.h>
Include dependency graph for ctf_context.c:

Go to the source code of this file.

Functions

GWENHYWFAR_CB void GWEN_CTF_Context_freeData (GWEN_UNUSED void *bp, void *p)
GWEN_CRYPT_KEYGWEN_CTF_Context_GetLocalAuthKey (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWEN_CRYPT_TOKEN_KEYINFOGWEN_CTF_Context_GetLocalAuthKeyInfo (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWEN_CRYPT_KEYGWEN_CTF_Context_GetLocalCryptKey (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWEN_CRYPT_TOKEN_KEYINFOGWEN_CTF_Context_GetLocalCryptKeyInfo (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWEN_CRYPT_KEYGWEN_CTF_Context_GetLocalSignKey (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWEN_CRYPT_TOKEN_KEYINFOGWEN_CTF_Context_GetLocalSignKeyInfo (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWEN_CRYPT_KEYGWEN_CTF_Context_GetRemoteAuthKey (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWEN_CRYPT_TOKEN_KEYINFOGWEN_CTF_Context_GetRemoteAuthKeyInfo (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWEN_CRYPT_KEYGWEN_CTF_Context_GetRemoteCryptKey (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWEN_CRYPT_TOKEN_KEYINFOGWEN_CTF_Context_GetRemoteCryptKeyInfo (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWEN_CRYPT_KEYGWEN_CTF_Context_GetRemoteSignKey (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWEN_CRYPT_TOKEN_KEYINFOGWEN_CTF_Context_GetRemoteSignKeyInfo (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
int GWEN_CTF_Context_IsOfThisType (const GWEN_CRYPT_TOKEN_CONTEXT *ctx)
GWEN_CRYPT_TOKEN_CONTEXTGWEN_CTF_Context_new ()
void GWEN_CTF_Context_SetLocalAuthKey (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_KEY *k)
void GWEN_CTF_Context_SetLocalAuthKeyInfo (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_TOKEN_KEYINFO *ki)
void GWEN_CTF_Context_SetLocalCryptKey (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_KEY *k)
void GWEN_CTF_Context_SetLocalCryptKeyInfo (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_TOKEN_KEYINFO *ki)
void GWEN_CTF_Context_SetLocalSignKey (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_KEY *k)
void GWEN_CTF_Context_SetLocalSignKeyInfo (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_TOKEN_KEYINFO *ki)
void GWEN_CTF_Context_SetRemoteAuthKey (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_KEY *k)
void GWEN_CTF_Context_SetRemoteAuthKeyInfo (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_TOKEN_KEYINFO *ki)
void GWEN_CTF_Context_SetRemoteCryptKey (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_KEY *k)
void GWEN_CTF_Context_SetRemoteCryptKeyInfo (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_TOKEN_KEYINFO *ki)
void GWEN_CTF_Context_SetRemoteSignKey (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_KEY *k)
void GWEN_CTF_Context_SetRemoteSignKeyInfo (GWEN_CRYPT_TOKEN_CONTEXT *ctx, GWEN_CRYPT_TOKEN_KEYINFO *ki)

Function Documentation

GWENHYWFAR_CB void GWEN_CTF_Context_freeData ( GWEN_UNUSED void *  bp,
void *  p 
)

Definition at line 53 of file ctf_context.c.

References GWEN_Crypt_Key_free(), GWEN_Crypt_Token_KeyInfo_free(), and GWEN_FREE_OBJECT.

Referenced by GWEN_CTF_Context_new().

Here is the call graph for this function:

Here is the caller graph for this function:

GWEN_CRYPT_KEY* GWEN_CTF_Context_GetLocalAuthKey ( const GWEN_CRYPT_TOKEN_CONTEXT ctx  ) 

Definition at line 276 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GetKey(), and GWEN_Crypt_TokenFile__SetKeyInfo().

Here is the caller graph for this function:

GWEN_CRYPT_TOKEN_KEYINFO* GWEN_CTF_Context_GetLocalAuthKeyInfo ( const GWEN_CRYPT_TOKEN_CONTEXT ctx  ) 

Definition at line 301 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_TokenFile__Sign().

Here is the caller graph for this function:

GWEN_CRYPT_KEY* GWEN_CTF_Context_GetLocalCryptKey ( const GWEN_CRYPT_TOKEN_CONTEXT ctx  ) 

Definition at line 126 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GetKey(), and GWEN_Crypt_TokenFile__SetKeyInfo().

Here is the caller graph for this function:

GWEN_CRYPT_TOKEN_KEYINFO* GWEN_CTF_Context_GetLocalCryptKeyInfo ( const GWEN_CRYPT_TOKEN_CONTEXT ctx  ) 

Definition at line 151 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_CRYPT_KEY* GWEN_CTF_Context_GetLocalSignKey ( const GWEN_CRYPT_TOKEN_CONTEXT ctx  ) 

Definition at line 76 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GetKey(), and GWEN_Crypt_TokenFile__SetKeyInfo().

Here is the caller graph for this function:

GWEN_CRYPT_TOKEN_KEYINFO* GWEN_CTF_Context_GetLocalSignKeyInfo ( const GWEN_CRYPT_TOKEN_CONTEXT ctx  ) 

Definition at line 101 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_TokenFile__Sign().

Here is the caller graph for this function:

GWEN_CRYPT_KEY* GWEN_CTF_Context_GetRemoteAuthKey ( const GWEN_CRYPT_TOKEN_CONTEXT ctx  ) 

Definition at line 326 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GetKey(), and GWEN_Crypt_TokenFile__SetKeyInfo().

Here is the caller graph for this function:

GWEN_CRYPT_TOKEN_KEYINFO* GWEN_CTF_Context_GetRemoteAuthKeyInfo ( const GWEN_CRYPT_TOKEN_CONTEXT ctx  ) 

Definition at line 351 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_CRYPT_KEY* GWEN_CTF_Context_GetRemoteCryptKey ( const GWEN_CRYPT_TOKEN_CONTEXT ctx  ) 

Definition at line 226 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GetKey(), and GWEN_Crypt_TokenFile__SetKeyInfo().

Here is the caller graph for this function:

GWEN_CRYPT_TOKEN_KEYINFO* GWEN_CTF_Context_GetRemoteCryptKeyInfo ( const GWEN_CRYPT_TOKEN_CONTEXT ctx  ) 

Definition at line 251 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_CRYPT_KEY* GWEN_CTF_Context_GetRemoteSignKey ( const GWEN_CRYPT_TOKEN_CONTEXT ctx  ) 

Definition at line 176 of file ctf_context.c.

References GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GetKey(), and GWEN_Crypt_TokenFile__SetKeyInfo().

Here is the caller graph for this function:

GWEN_CRYPT_TOKEN_KEYINFO* GWEN_CTF_Context_GetRemoteSignKeyInfo ( const GWEN_CRYPT_TOKEN_CONTEXT ctx  ) 

Definition at line 201 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:

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_CRYPT_TOKEN_CONTEXT* GWEN_CTF_Context_new (  ) 

Definition at line 31 of file ctf_context.c.

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

Here is the call graph for this function:

void GWEN_CTF_Context_SetLocalAuthKey ( GWEN_CRYPT_TOKEN_CONTEXT ctx,
GWEN_CRYPT_KEY k 
)

Definition at line 288 of file ctf_context.c.

References GWEN_Crypt_Key_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GenerateKey().

Here is the call graph for this function:

Here is the caller graph for this function:

void GWEN_CTF_Context_SetLocalAuthKeyInfo ( GWEN_CRYPT_TOKEN_CONTEXT ctx,
GWEN_CRYPT_TOKEN_KEYINFO ki 
)

Definition at line 313 of file ctf_context.c.

References GWEN_Crypt_Token_KeyInfo_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GenerateKey().

Here is the call graph for this function:

Here is the caller graph for this function:

void GWEN_CTF_Context_SetLocalCryptKey ( GWEN_CRYPT_TOKEN_CONTEXT ctx,
GWEN_CRYPT_KEY k 
)

Definition at line 138 of file ctf_context.c.

References GWEN_Crypt_Key_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GenerateKey().

Here is the call graph for this function:

Here is the caller graph for this function:

void GWEN_CTF_Context_SetLocalCryptKeyInfo ( GWEN_CRYPT_TOKEN_CONTEXT ctx,
GWEN_CRYPT_TOKEN_KEYINFO ki 
)

Definition at line 163 of file ctf_context.c.

References GWEN_Crypt_Token_KeyInfo_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GenerateKey().

Here is the call graph for this function:

Here is the caller graph for this function:

void GWEN_CTF_Context_SetLocalSignKey ( GWEN_CRYPT_TOKEN_CONTEXT ctx,
GWEN_CRYPT_KEY k 
)

Definition at line 88 of file ctf_context.c.

References GWEN_Crypt_Key_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GenerateKey().

Here is the call graph for this function:

Here is the caller graph for this function:

void GWEN_CTF_Context_SetLocalSignKeyInfo ( GWEN_CRYPT_TOKEN_CONTEXT ctx,
GWEN_CRYPT_TOKEN_KEYINFO ki 
)

Definition at line 113 of file ctf_context.c.

References GWEN_Crypt_Token_KeyInfo_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__GenerateKey().

Here is the call graph for this function:

Here is the caller graph for this function:

void GWEN_CTF_Context_SetRemoteAuthKey ( GWEN_CRYPT_TOKEN_CONTEXT ctx,
GWEN_CRYPT_KEY k 
)

Definition at line 338 of file ctf_context.c.

References GWEN_Crypt_Key_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__SetKeyInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

void GWEN_CTF_Context_SetRemoteAuthKeyInfo ( GWEN_CRYPT_TOKEN_CONTEXT ctx,
GWEN_CRYPT_TOKEN_KEYINFO ki 
)

Definition at line 363 of file ctf_context.c.

References GWEN_Crypt_Token_KeyInfo_free(), and GWEN_INHERIT_GETDATA.

Here is the call graph for this function:

void GWEN_CTF_Context_SetRemoteCryptKey ( GWEN_CRYPT_TOKEN_CONTEXT ctx,
GWEN_CRYPT_KEY k 
)

Definition at line 238 of file ctf_context.c.

References GWEN_Crypt_Key_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__SetKeyInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

void GWEN_CTF_Context_SetRemoteCryptKeyInfo ( GWEN_CRYPT_TOKEN_CONTEXT ctx,
GWEN_CRYPT_TOKEN_KEYINFO ki 
)

Definition at line 263 of file ctf_context.c.

References GWEN_Crypt_Token_KeyInfo_free(), and GWEN_INHERIT_GETDATA.

Here is the call graph for this function:

void GWEN_CTF_Context_SetRemoteSignKey ( GWEN_CRYPT_TOKEN_CONTEXT ctx,
GWEN_CRYPT_KEY k 
)

Definition at line 188 of file ctf_context.c.

References GWEN_Crypt_Key_free(), and GWEN_INHERIT_GETDATA.

Referenced by GWEN_Crypt_TokenFile__SetKeyInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

void GWEN_CTF_Context_SetRemoteSignKeyInfo ( GWEN_CRYPT_TOKEN_CONTEXT ctx,
GWEN_CRYPT_TOKEN_KEYINFO ki 
)

Definition at line 213 of file ctf_context.c.

References GWEN_Crypt_Token_KeyInfo_free(), and GWEN_INHERIT_GETDATA.

Here is the call graph for this function:

Generated on Mon Jul 5 22:54:12 2010 for gwenhywfar by  doxygen 1.6.3