gwenhywfar
4.6.0beta
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
src
cryptmsg
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
;
25
GWEN_LIST_FUNCTION_LIB_DEFS
(
GWEN_SIGTAIL
, GWEN_SigTail,
GWENHYWFAR_API
)
26
27
28
GWEN_SIGTAIL
*
GWEN_SigTail_new
(
void
);
29
void
GWEN_SigTail_free
(
GWEN_SIGTAIL
*st);
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
39
int
GWEN_SigTail_GetSignatureNumber
(const
GWEN_SIGTAIL
*st);
40
void
GWEN_SigTail_SetSignatureNumber
(
GWEN_SIGTAIL
*st,
int
i);
41
42
43
#ifdef __cplusplus
44
}
45
#endif
46
47
48
#endif
49
Generated on Sun May 26 2013 16:42:54 for gwenhywfar by
1.8.1.2