/usr/include/gwenhywfar4/gwenhywfar/sighead.h is in libgwenhywfar-core-dev 4.20.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | /***************************************************************************
begin : Sun Nov 30 2008
copyright : (C) 2008 by Martin Preuss
email : martin@libchipcard.de
***************************************************************************
* Please see toplevel file COPYING for license details *
***************************************************************************/
#ifndef GWEN_CRYPTMGR_SIGHEAD_H
#define GWEN_CRYPTMGR_SIGHEAD_H
#include <gwenhywfar/list1.h>
#include <gwenhywfar/buffer.h>
#include <gwenhywfar/gwentime.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct GWEN_SIGHEAD GWEN_SIGHEAD;
GWEN_LIST_FUNCTION_LIB_DEFS(GWEN_SIGHEAD, GWEN_SigHead, GWENHYWFAR_API)
GWENHYWFAR_API
GWEN_SIGHEAD *GWEN_SigHead_new(void);
GWENHYWFAR_API
void GWEN_SigHead_free(GWEN_SIGHEAD *sh);
GWENHYWFAR_API
GWEN_SIGHEAD *GWEN_SigHead_fromBuffer(const uint8_t *p, uint32_t l);
GWENHYWFAR_API
int GWEN_SigHead_toBuffer(const GWEN_SIGHEAD *sh, GWEN_BUFFER *buf, uint8_t tagType);
GWENHYWFAR_API
const char *GWEN_SigHead_GetKeyName(const GWEN_SIGHEAD *sh);
GWENHYWFAR_API
void GWEN_SigHead_SetKeyName(GWEN_SIGHEAD *sh, const char *s);
GWENHYWFAR_API
int GWEN_SigHead_GetKeyNumber(const GWEN_SIGHEAD *sh);
GWENHYWFAR_API
void GWEN_SigHead_SetKeyNumber(GWEN_SIGHEAD *sh, int i);
GWENHYWFAR_API
int GWEN_SigHead_GetKeyVersion(const GWEN_SIGHEAD *sh);
GWENHYWFAR_API
void GWEN_SigHead_SetKeyVersion(GWEN_SIGHEAD *sh, int i);
GWENHYWFAR_API
const GWEN_TIME *GWEN_SigHead_GetDateTime(const GWEN_SIGHEAD *sh);
GWENHYWFAR_API
void GWEN_SigHead_SetDateTime(GWEN_SIGHEAD *sh, const GWEN_TIME *ti);
GWENHYWFAR_API
int GWEN_SigHead_GetSignatureProfile(const GWEN_SIGHEAD *sh);
GWENHYWFAR_API
void GWEN_SigHead_SetSignatureProfile(GWEN_SIGHEAD *sh, int i);
GWENHYWFAR_API
int GWEN_SigHead_GetSignatureNumber(const GWEN_SIGHEAD *sh);
GWENHYWFAR_API
void GWEN_SigHead_SetSignatureNumber(GWEN_SIGHEAD *sh, int i);
#ifdef __cplusplus
}
#endif
#endif
|