gwenhywfar  5.1.3
sigtail.h
Go to the documentation of this file.
1 /***************************************************************************
2  begin : Sun Nov 30 2008
3  copyright : (C) 2008 by Martin Preuss
4  email : martin@libchipcard.de
5 
6  ***************************************************************************
7  * Please see toplevel file COPYING for license details *
8  ***************************************************************************/
9 
10 
11 #ifndef GWEN_CRYPTMGR_SIGTAIL_H
12 #define GWEN_CRYPTMGR_SIGTAIL_H
13 
14 #include <gwenhywfar/gwentime.h>
15 #include <gwenhywfar/buffer.h>
16 #include <gwenhywfar/list1.h>
17 
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 
24 typedef struct GWEN_SIGTAIL GWEN_SIGTAIL;
26 
27 
30 
31 GWEN_SIGTAIL *GWEN_SigTail_fromBuffer(const uint8_t *p, uint32_t l);
32 int GWEN_SigTail_toBuffer(const GWEN_SIGTAIL *st, GWEN_BUFFER *buf, uint8_t tagType);
33 
34 const uint8_t *GWEN_SigTail_GetSignaturePtr(const GWEN_SIGTAIL *st);
35 uint32_t GWEN_SigTail_GetSignatureLen(const GWEN_SIGTAIL *st);
36 void GWEN_SigTail_SetSignature(GWEN_SIGTAIL *st, const uint8_t *p, uint32_t l);
37 
38 
41 
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 
48 #endif
49 
GWEN_SigTail_GetSignatureNumber
int GWEN_SigTail_GetSignatureNumber(const GWEN_SIGTAIL *st)
gwentime.h
GWEN_SigTail_GetSignaturePtr
const uint8_t * GWEN_SigTail_GetSignaturePtr(const GWEN_SIGTAIL *st)
GWEN_SigTail_fromBuffer
GWEN_SIGTAIL * GWEN_SigTail_fromBuffer(const uint8_t *p, uint32_t l)
GWEN_SigTail_free
void GWEN_SigTail_free(GWEN_SIGTAIL *st)
GWEN_SigTail_toBuffer
int GWEN_SigTail_toBuffer(const GWEN_SIGTAIL *st, GWEN_BUFFER *buf, uint8_t tagType)
GWEN_SIGTAIL
struct GWEN_SIGTAIL GWEN_SIGTAIL
Definition: sigtail.h:23
GWEN_SigTail_SetSignature
void GWEN_SigTail_SetSignature(GWEN_SIGTAIL *st, const uint8_t *p, uint32_t l)
GWEN_SigTail_new
GWEN_SIGTAIL * GWEN_SigTail_new(void)
GWEN_LIST_FUNCTION_LIB_DEFS
#define GWEN_LIST_FUNCTION_LIB_DEFS(t, pr, decl)
Definition: list1.h:347
buffer.h
GWEN_SigTail_SetSignatureNumber
void GWEN_SigTail_SetSignatureNumber(GWEN_SIGTAIL *st, int i)
GWEN_SigTail_GetSignatureLen
uint32_t GWEN_SigTail_GetSignatureLen(const GWEN_SIGTAIL *st)
GWENHYWFAR_API
#define GWENHYWFAR_API
Definition: gwenhywfarapi.h:66
list1.h
GWEN_BUFFER
struct GWEN_BUFFER GWEN_BUFFER
A dynamically resizeable text buffer.
Definition: buffer.h:37