gwenhywfar
4.12.0beta
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
gwenhywfar4
gwenhywfar
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
;
24
GWEN_LIST_FUNCTION_LIB_DEFS
(
GWEN_SIGHEAD
, GWEN_SigHead,
GWENHYWFAR_API
)
25
26
27
GWENHYWFAR_API
28
GWEN_SIGHEAD
*
GWEN_SigHead_new
(
void
);
29
30
GWENHYWFAR_API
31
void
GWEN_SigHead_free
(
GWEN_SIGHEAD
*sh);
32
33
GWENHYWFAR_API
34
GWEN_SIGHEAD
*
GWEN_SigHead_fromBuffer
(const uint8_t *p, uint32_t l);
35
36
GWENHYWFAR_API
37
int
GWEN_SigHead_toBuffer
(const
GWEN_SIGHEAD
*sh,
GWEN_BUFFER
*buf, uint8_t tagType);
38
39
40
GWENHYWFAR_API
41
const
char
*
GWEN_SigHead_GetKeyName
(const
GWEN_SIGHEAD
*sh);
42
43
GWENHYWFAR_API
44
void
GWEN_SigHead_SetKeyName
(
GWEN_SIGHEAD
*sh, const
char
*s);
45
46
GWENHYWFAR_API
47
int
GWEN_SigHead_GetKeyNumber
(const
GWEN_SIGHEAD
*sh);
48
49
GWENHYWFAR_API
50
void
GWEN_SigHead_SetKeyNumber
(
GWEN_SIGHEAD
*sh,
int
i);
51
52
GWENHYWFAR_API
53
int
GWEN_SigHead_GetKeyVersion
(const
GWEN_SIGHEAD
*sh);
54
55
GWENHYWFAR_API
56
void
GWEN_SigHead_SetKeyVersion
(
GWEN_SIGHEAD
*sh,
int
i);
57
58
GWENHYWFAR_API
59
const
GWEN_TIME
*
GWEN_SigHead_GetDateTime
(const
GWEN_SIGHEAD
*sh);
60
61
GWENHYWFAR_API
62
void
GWEN_SigHead_SetDateTime
(
GWEN_SIGHEAD
*sh, const
GWEN_TIME
*ti);
63
64
GWENHYWFAR_API
65
int
GWEN_SigHead_GetSignatureProfile
(const
GWEN_SIGHEAD
*sh);
66
67
GWENHYWFAR_API
68
void
GWEN_SigHead_SetSignatureProfile
(
GWEN_SIGHEAD
*sh,
int
i);
69
70
GWENHYWFAR_API
71
int
GWEN_SigHead_GetSignatureNumber
(const
GWEN_SIGHEAD
*sh);
72
73
GWENHYWFAR_API
74
void
GWEN_SigHead_SetSignatureNumber
(
GWEN_SIGHEAD
*sh,
int
i);
75
76
77
#ifdef __cplusplus
78
}
79
#endif
80
81
82
#endif
83
Generated on Thu Nov 13 2014 21:37:51 for gwenhywfar by
1.8.1.2