gwenhywfar  4.12.0beta
sighead.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_SIGHEAD_H
12 #define GWEN_CRYPTMGR_SIGHEAD_H
13 
14 #include <gwenhywfar/list1.h>
15 #include <gwenhywfar/buffer.h>
16 #include <gwenhywfar/gwentime.h>
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 
23 typedef struct GWEN_SIGHEAD GWEN_SIGHEAD;
25 
26 
29 
32 
34 GWEN_SIGHEAD *GWEN_SigHead_fromBuffer(const uint8_t *p, uint32_t l);
35 
37 int GWEN_SigHead_toBuffer(const GWEN_SIGHEAD *sh, GWEN_BUFFER *buf, uint8_t tagType);
38 
39 
41 const char *GWEN_SigHead_GetKeyName(const GWEN_SIGHEAD *sh);
42 
44 void GWEN_SigHead_SetKeyName(GWEN_SIGHEAD *sh, const char *s);
45 
48 
51 
54 
57 
60 
63 
66 
69 
72 
75 
76 
77 #ifdef __cplusplus
78 }
79 #endif
80 
81 
82 #endif
83