gwenhywfar  4.8.0beta
Typedefs | Functions
sighead.h File Reference
#include <gwenhywfar/list1.h>
#include <gwenhywfar/buffer.h>
#include <gwenhywfar/gwentime.h>

Go to the source code of this file.

Typedefs

typedef struct GWEN_SIGHEAD GWEN_SIGHEAD

Functions

GWENHYWFAR_API void GWEN_SigHead_free (GWEN_SIGHEAD *sh)
GWENHYWFAR_API GWEN_SIGHEADGWEN_SigHead_fromBuffer (const uint8_t *p, uint32_t l)
GWENHYWFAR_API const GWEN_TIMEGWEN_SigHead_GetDateTime (const GWEN_SIGHEAD *sh)
GWENHYWFAR_API const char * GWEN_SigHead_GetKeyName (const GWEN_SIGHEAD *sh)
GWENHYWFAR_API int GWEN_SigHead_GetKeyNumber (const GWEN_SIGHEAD *sh)
GWENHYWFAR_API int GWEN_SigHead_GetKeyVersion (const GWEN_SIGHEAD *sh)
GWENHYWFAR_API int GWEN_SigHead_GetSignatureNumber (const GWEN_SIGHEAD *sh)
GWENHYWFAR_API int GWEN_SigHead_GetSignatureProfile (const GWEN_SIGHEAD *sh)
GWENHYWFAR_API GWEN_SIGHEADGWEN_SigHead_new (void)
GWENHYWFAR_API void GWEN_SigHead_SetDateTime (GWEN_SIGHEAD *sh, const GWEN_TIME *ti)
GWENHYWFAR_API void GWEN_SigHead_SetKeyName (GWEN_SIGHEAD *sh, const char *s)
GWENHYWFAR_API void GWEN_SigHead_SetKeyNumber (GWEN_SIGHEAD *sh, int i)
GWENHYWFAR_API void GWEN_SigHead_SetKeyVersion (GWEN_SIGHEAD *sh, int i)
GWENHYWFAR_API void GWEN_SigHead_SetSignatureNumber (GWEN_SIGHEAD *sh, int i)
GWENHYWFAR_API void GWEN_SigHead_SetSignatureProfile (GWEN_SIGHEAD *sh, int i)
GWENHYWFAR_API int GWEN_SigHead_toBuffer (const GWEN_SIGHEAD *sh, GWEN_BUFFER *buf, uint8_t tagType)

Typedef Documentation

typedef struct GWEN_SIGHEAD GWEN_SIGHEAD

Definition at line 23 of file sighead.h.

Function Documentation

GWENHYWFAR_API void GWEN_SigHead_free ( GWEN_SIGHEAD sh)
GWENHYWFAR_API GWEN_SIGHEAD* GWEN_SigHead_fromBuffer ( const uint8_t *  p,
uint32_t  l 
)
GWENHYWFAR_API const GWEN_TIME* GWEN_SigHead_GetDateTime ( const GWEN_SIGHEAD sh)

Definition at line 239 of file sighead.c.

GWENHYWFAR_API const char* GWEN_SigHead_GetKeyName ( const GWEN_SIGHEAD sh)

Definition at line 195 of file sighead.c.

Referenced by GWEN_CryptMgr_Verify().

GWENHYWFAR_API int GWEN_SigHead_GetKeyNumber ( const GWEN_SIGHEAD sh)

Definition at line 211 of file sighead.c.

Referenced by GWEN_CryptMgr_Verify().

GWENHYWFAR_API int GWEN_SigHead_GetKeyVersion ( const GWEN_SIGHEAD sh)

Definition at line 225 of file sighead.c.

Referenced by GWEN_CryptMgr_Verify().

GWENHYWFAR_API int GWEN_SigHead_GetSignatureNumber ( const GWEN_SIGHEAD sh)

Definition at line 269 of file sighead.c.

Referenced by GWEN_CryptMgr_Verify().

GWENHYWFAR_API int GWEN_SigHead_GetSignatureProfile ( const GWEN_SIGHEAD sh)

Definition at line 255 of file sighead.c.

GWENHYWFAR_API GWEN_SIGHEAD* GWEN_SigHead_new ( void  )

Definition at line 29 of file sighead.c.

References GWEN_LIST_INIT, and GWEN_NEW_OBJECT.

Referenced by GWEN_CryptMgr_Sign(), and GWEN_SigHead_fromBuffer().

GWENHYWFAR_API void GWEN_SigHead_SetDateTime ( GWEN_SIGHEAD sh,
const GWEN_TIME ti 
)

Definition at line 246 of file sighead.c.

References GWEN_Time_dup(), GWEN_Time_free(), and NULL.

Referenced by GWEN_CryptMgr_Sign().

GWENHYWFAR_API void GWEN_SigHead_SetKeyName ( GWEN_SIGHEAD sh,
const char *  s 
)

Definition at line 202 of file sighead.c.

References NULL.

Referenced by GWEN_CryptMgr_Sign().

GWENHYWFAR_API void GWEN_SigHead_SetKeyNumber ( GWEN_SIGHEAD sh,
int  i 
)

Definition at line 218 of file sighead.c.

Referenced by GWEN_CryptMgr_Sign().

GWENHYWFAR_API void GWEN_SigHead_SetKeyVersion ( GWEN_SIGHEAD sh,
int  i 
)

Definition at line 232 of file sighead.c.

Referenced by GWEN_CryptMgr_Sign().

GWENHYWFAR_API void GWEN_SigHead_SetSignatureNumber ( GWEN_SIGHEAD sh,
int  i 
)

Definition at line 276 of file sighead.c.

Referenced by GWEN_CryptMgr_Sign().

GWENHYWFAR_API void GWEN_SigHead_SetSignatureProfile ( GWEN_SIGHEAD sh,
int  i 
)

Definition at line 262 of file sighead.c.

Referenced by GWEN_CryptMgr_Sign().

GWENHYWFAR_API int GWEN_SigHead_toBuffer ( const GWEN_SIGHEAD sh,
GWEN_BUFFER buf,
uint8_t  tagType 
)