sighead.c File Reference

#include "sighead_p.h"
#include "i18n_l.h"
#include <gwenhywfar/misc.h>
#include <gwenhywfar/debug.h>
#include <gwenhywfar/tag16.h>

Go to the source code of this file.

Functions

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


Function Documentation

void GWEN_SigHead_free ( GWEN_SIGHEAD sh  ) 

GWEN_SIGHEAD* GWEN_SigHead_fromBuffer ( const uint8_t *  p,
uint32_t  l 
)

const GWEN_TIME* GWEN_SigHead_GetDateTime ( const GWEN_SIGHEAD sh  ) 

Definition at line 237 of file sighead.c.

const char* GWEN_SigHead_GetKeyName ( const GWEN_SIGHEAD sh  ) 

Definition at line 193 of file sighead.c.

Referenced by GWEN_CryptMgr_Verify().

int GWEN_SigHead_GetKeyNumber ( const GWEN_SIGHEAD sh  ) 

Definition at line 209 of file sighead.c.

Referenced by GWEN_CryptMgr_Verify().

int GWEN_SigHead_GetKeyVersion ( const GWEN_SIGHEAD sh  ) 

Definition at line 223 of file sighead.c.

Referenced by GWEN_CryptMgr_Verify().

int GWEN_SigHead_GetSignatureNumber ( const GWEN_SIGHEAD sh  ) 

Definition at line 267 of file sighead.c.

Referenced by GWEN_CryptMgr_Verify().

int GWEN_SigHead_GetSignatureProfile ( const GWEN_SIGHEAD sh  ) 

Definition at line 253 of file sighead.c.

GWEN_SIGHEAD* GWEN_SigHead_new (  ) 

Definition at line 27 of file sighead.c.

References GWEN_LIST_INIT, and GWEN_NEW_OBJECT.

Referenced by GWEN_CryptMgr_Sign(), and GWEN_SigHead_fromBuffer().

void GWEN_SigHead_SetDateTime ( GWEN_SIGHEAD sh,
const GWEN_TIME ti 
)

Definition at line 244 of file sighead.c.

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

Referenced by GWEN_CryptMgr_Sign().

void GWEN_SigHead_SetKeyName ( GWEN_SIGHEAD sh,
const char *  s 
)

Definition at line 200 of file sighead.c.

References NULL.

Referenced by GWEN_CryptMgr_Sign().

void GWEN_SigHead_SetKeyNumber ( GWEN_SIGHEAD sh,
int  i 
)

Definition at line 216 of file sighead.c.

Referenced by GWEN_CryptMgr_Sign().

void GWEN_SigHead_SetKeyVersion ( GWEN_SIGHEAD sh,
int  i 
)

Definition at line 230 of file sighead.c.

Referenced by GWEN_CryptMgr_Sign().

void GWEN_SigHead_SetSignatureNumber ( GWEN_SIGHEAD sh,
int  i 
)

Definition at line 274 of file sighead.c.

Referenced by GWEN_CryptMgr_Sign().

void GWEN_SigHead_SetSignatureProfile ( GWEN_SIGHEAD sh,
int  i 
)

Definition at line 260 of file sighead.c.

Referenced by GWEN_CryptMgr_Sign().

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


Generated on Thu Aug 20 13:54:42 2009 for gwenhywfar by  doxygen 1.5.9