#include "ct_keyinfo_p.h"#include <gwenhywfar/misc.h>#include <gwenhywfar/debug.h>Go to the source code of this file.
| void GWEN_Crypt_Token_KeyInfo_AddFlags | ( | GWEN_CRYPT_TOKEN_KEYINFO * | ki, | |
| uint32_t | f | |||
| ) |
| GWEN_CRYPT_TOKEN_KEYINFO* GWEN_Crypt_Token_KeyInfo_dup | ( | const GWEN_CRYPT_TOKEN_KEYINFO * | ki | ) |
Definition at line 71 of file ct_keyinfo.c.
References GWEN_Crypt_Token_KeyInfo_new().
Referenced by GWEN_Crypt_TokenFile__GenerateKey().
| void GWEN_Crypt_Token_KeyInfo_free | ( | GWEN_CRYPT_TOKEN_KEYINFO * | ki | ) |
Definition at line 48 of file ct_keyinfo.c.
References GWEN_FREE_OBJECT, and NULL.
Referenced by GWEN_Crypt_TokenFile__GenerateKey(), GWEN_CTF_Context_freeData(), GWEN_CTF_Context_SetLocalAuthKeyInfo(), GWEN_CTF_Context_SetLocalCryptKeyInfo(), GWEN_CTF_Context_SetLocalSignKeyInfo(), GWEN_CTF_Context_SetRemoteAuthKeyInfo(), GWEN_CTF_Context_SetRemoteCryptKeyInfo(), and GWEN_CTF_Context_SetRemoteSignKeyInfo().
| GWEN_CRYPT_CRYPTALGOID GWEN_Crypt_Token_KeyInfo_GetCryptAlgoId | ( | const GWEN_CRYPT_TOKEN_KEYINFO * | ki | ) |
Definition at line 113 of file ct_keyinfo.c.
| const uint8_t* GWEN_Crypt_Token_KeyInfo_GetExponentData | ( | const GWEN_CRYPT_TOKEN_KEYINFO * | ki | ) |
| uint32_t GWEN_Crypt_Token_KeyInfo_GetExponentLen | ( | const GWEN_CRYPT_TOKEN_KEYINFO * | ki | ) |
| uint32_t GWEN_Crypt_Token_KeyInfo_GetFlags | ( | const GWEN_CRYPT_TOKEN_KEYINFO * | ki | ) |
Definition at line 137 of file ct_keyinfo.c.
Referenced by GWEN_Crypt_TokenFile__SetKeyInfo(), GWEN_Crypt_TokenFile__Sign(), and GWEN_Crypt_TokenFile__Verify().
| const char* GWEN_Crypt_Token_KeyInfo_GetKeyDescr | ( | const GWEN_CRYPT_TOKEN_KEYINFO * | ki | ) |
Definition at line 296 of file ct_keyinfo.c.
| uint32_t GWEN_Crypt_Token_KeyInfo_GetKeyId | ( | const GWEN_CRYPT_TOKEN_KEYINFO * | ki | ) |
Definition at line 105 of file ct_keyinfo.c.
| uint32_t GWEN_Crypt_Token_KeyInfo_GetKeyNumber | ( | const GWEN_CRYPT_TOKEN_KEYINFO * | ki | ) |
| int GWEN_Crypt_Token_KeyInfo_GetKeySize | ( | const GWEN_CRYPT_TOKEN_KEYINFO * | ki | ) |
| uint32_t GWEN_Crypt_Token_KeyInfo_GetKeyVersion | ( | const GWEN_CRYPT_TOKEN_KEYINFO * | ki | ) |
| const uint8_t* GWEN_Crypt_Token_KeyInfo_GetModulusData | ( | const GWEN_CRYPT_TOKEN_KEYINFO * | ki | ) |
| uint32_t GWEN_Crypt_Token_KeyInfo_GetModulusLen | ( | const GWEN_CRYPT_TOKEN_KEYINFO * | ki | ) |
| uint32_t GWEN_Crypt_Token_KeyInfo_GetSignCounter | ( | const GWEN_CRYPT_TOKEN_KEYINFO * | ki | ) |
Definition at line 277 of file ct_keyinfo.c.
Referenced by GWEN_Crypt_TokenFile__SetKeyInfo(), GWEN_Crypt_TokenFile__Sign(), and GWEN_Crypt_TokenFile__Verify().
| GWEN_CRYPT_TOKEN_KEYINFO* GWEN_Crypt_Token_KeyInfo_new | ( | uint32_t | kid, | |
| GWEN_CRYPT_CRYPTALGOID | a, | |||
| int | keySize | |||
| ) |
Definition at line 30 of file ct_keyinfo.c.
References GWEN_LIST_INIT, and GWEN_NEW_OBJECT.
Referenced by GWEN_Crypt_Token_KeyInfo_dup().
| void GWEN_Crypt_Token_KeyInfo_SetExponent | ( | GWEN_CRYPT_TOKEN_KEYINFO * | ki, | |
| const uint8_t * | p, | |||
| uint32_t | len | |||
| ) |
Definition at line 220 of file ct_keyinfo.c.
Referenced by GWEN_Crypt_TokenFile__GenerateKey(), and GWEN_Crypt_TokenFile__SetKeyInfo().
| void GWEN_Crypt_Token_KeyInfo_SetFlags | ( | GWEN_CRYPT_TOKEN_KEYINFO * | ki, | |
| uint32_t | f | |||
| ) |
| void GWEN_Crypt_Token_KeyInfo_SetKeyDescr | ( | GWEN_CRYPT_TOKEN_KEYINFO * | ki, | |
| const char * | s | |||
| ) |
| void GWEN_Crypt_Token_KeyInfo_SetKeyNumber | ( | GWEN_CRYPT_TOKEN_KEYINFO * | ki, | |
| uint32_t | i | |||
| ) |
Definition at line 267 of file ct_keyinfo.c.
Referenced by GWEN_Crypt_TokenFile__GenerateKey(), and GWEN_Crypt_TokenFile__SetKeyInfo().
| void GWEN_Crypt_Token_KeyInfo_SetKeySize | ( | GWEN_CRYPT_TOKEN_KEYINFO * | ki, | |
| int | i | |||
| ) |
| void GWEN_Crypt_Token_KeyInfo_SetKeyVersion | ( | GWEN_CRYPT_TOKEN_KEYINFO * | ki, | |
| uint32_t | i | |||
| ) |
Definition at line 248 of file ct_keyinfo.c.
Referenced by GWEN_Crypt_TokenFile__GenerateKey(), and GWEN_Crypt_TokenFile__SetKeyInfo().
| void GWEN_Crypt_Token_KeyInfo_SetModulus | ( | GWEN_CRYPT_TOKEN_KEYINFO * | ki, | |
| const uint8_t * | p, | |||
| uint32_t | len | |||
| ) |
Definition at line 185 of file ct_keyinfo.c.
Referenced by GWEN_Crypt_TokenFile__GenerateKey(), and GWEN_Crypt_TokenFile__SetKeyInfo().
| void GWEN_Crypt_Token_KeyInfo_SetSignCounter | ( | GWEN_CRYPT_TOKEN_KEYINFO * | ki, | |
| uint32_t | i | |||
| ) |
Definition at line 286 of file ct_keyinfo.c.
Referenced by GWEN_Crypt_TokenFile__SetKeyInfo(), GWEN_Crypt_TokenFile__Sign(), and GWEN_Crypt_TokenFile__Verify().
| void GWEN_Crypt_Token_KeyInfo_SubFlags | ( | GWEN_CRYPT_TOKEN_KEYINFO * | ki, | |
| uint32_t | f | |||
| ) |
Definition at line 161 of file ct_keyinfo.c.
1.5.6