gwenhywfar 5.11.2beta
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
20extern "C" {
21#endif
22
23
26
27
30
31GWEN_SIGTAIL *GWEN_SigTail_fromBuffer(const uint8_t *p, uint32_t l);
32int GWEN_SigTail_toBuffer(const GWEN_SIGTAIL *st, GWEN_BUFFER *buf, uint8_t tagType);
33
36void 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
struct GWEN_BUFFER GWEN_BUFFER
A dynamically resizeable text buffer.
Definition: buffer.h:38
#define GWENHYWFAR_API
Definition: gwenhywfarapi.h:67
#define GWEN_LIST_FUNCTION_LIB_DEFS(t, pr, decl)
Definition: list1.h:349
void GWEN_SigTail_SetSignatureNumber(GWEN_SIGTAIL *st, int i)
GWEN_SIGTAIL * GWEN_SigTail_fromBuffer(const uint8_t *p, uint32_t l)
GWEN_SIGTAIL * GWEN_SigTail_new(void)
void GWEN_SigTail_SetSignature(GWEN_SIGTAIL *st, const uint8_t *p, uint32_t l)
const uint8_t * GWEN_SigTail_GetSignaturePtr(const GWEN_SIGTAIL *st)
struct GWEN_SIGTAIL GWEN_SIGTAIL
Definition: sigtail.h:24
int GWEN_SigTail_GetSignatureNumber(const GWEN_SIGTAIL *st)
void GWEN_SigTail_free(GWEN_SIGTAIL *st)
uint32_t GWEN_SigTail_GetSignatureLen(const GWEN_SIGTAIL *st)
int GWEN_SigTail_toBuffer(const GWEN_SIGTAIL *st, GWEN_BUFFER *buf, uint8_t tagType)