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

Go to the source code of this file.

Typedefs

typedef struct GWEN_SIGTAIL GWEN_SIGTAIL
 

Functions

void GWEN_SigTail_free (GWEN_SIGTAIL *st)
 
GWEN_SIGTAILGWEN_SigTail_fromBuffer (const uint8_t *p, uint32_t l)
 
uint32_t GWEN_SigTail_GetSignatureLen (const GWEN_SIGTAIL *st)
 
int GWEN_SigTail_GetSignatureNumber (const GWEN_SIGTAIL *st)
 
const uint8_t * GWEN_SigTail_GetSignaturePtr (const GWEN_SIGTAIL *st)
 
GWEN_SIGTAILGWEN_SigTail_new (void)
 
void GWEN_SigTail_SetSignature (GWEN_SIGTAIL *st, const uint8_t *p, uint32_t l)
 
void GWEN_SigTail_SetSignatureNumber (GWEN_SIGTAIL *st, int i)
 
int GWEN_SigTail_toBuffer (const GWEN_SIGTAIL *st, GWEN_BUFFER *buf, uint8_t tagType)
 

Typedef Documentation

typedef struct GWEN_SIGTAIL GWEN_SIGTAIL

Definition at line 24 of file sigtail.h.

Function Documentation

void GWEN_SigTail_free ( GWEN_SIGTAIL st)

Definition at line 40 of file sigtail.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

Referenced by GWEN_CryptMgr_Sign(), GWEN_CryptMgr_Verify(), and GWEN_SigTail_fromBuffer().

GWEN_SIGTAIL* GWEN_SigTail_fromBuffer ( const uint8_t *  p,
uint32_t  l 
)
uint32_t GWEN_SigTail_GetSignatureLen ( const GWEN_SIGTAIL st)

Definition at line 147 of file sigtail.c.

Referenced by GWEN_CryptMgr_Verify().

int GWEN_SigTail_GetSignatureNumber ( const GWEN_SIGTAIL st)

Definition at line 171 of file sigtail.c.

Referenced by GWEN_CryptMgr_Verify().

const uint8_t* GWEN_SigTail_GetSignaturePtr ( const GWEN_SIGTAIL st)

Definition at line 140 of file sigtail.c.

Referenced by GWEN_CryptMgr_Verify().

GWEN_SIGTAIL* GWEN_SigTail_new ( void  )

Definition at line 29 of file sigtail.c.

References GWEN_LIST_INIT, and GWEN_NEW_OBJECT.

Referenced by GWEN_CryptMgr_Sign(), and GWEN_SigTail_fromBuffer().

void GWEN_SigTail_SetSignature ( GWEN_SIGTAIL st,
const uint8_t *  p,
uint32_t  l 
)

Definition at line 154 of file sigtail.c.

References NULL.

Referenced by GWEN_CryptMgr_Sign().

void GWEN_SigTail_SetSignatureNumber ( GWEN_SIGTAIL st,
int  i 
)

Definition at line 178 of file sigtail.c.

Referenced by GWEN_CryptMgr_Sign().

int GWEN_SigTail_toBuffer ( const GWEN_SIGTAIL st,
GWEN_BUFFER buf,
uint8_t  tagType 
)