00001 /* This file is auto-generated from "mediumctx.xml" by the typemaker 00002 tool of Gwenhywfar. 00003 Do not edit this file -- all changes will be lost! */ 00004 #ifndef MEDIUMCTX_H 00005 #define MEDIUMCTX_H 00006 00064 #ifdef __cplusplus 00065 extern "C" { 00066 #endif 00067 00068 typedef struct AH_MEDIUM_CTX AH_MEDIUM_CTX; 00069 00070 #ifdef __cplusplus 00071 } /* __cplusplus */ 00072 #endif 00073 00074 #include <gwenhywfar/db.h> 00075 #include <gwenhywfar/crypttoken.h> 00076 #include <aqhbci/hbci.h> 00077 #include <aqhbci/medium.h> 00078 00079 #ifdef __cplusplus 00080 extern "C" { 00081 #endif 00082 00085 AQHBCI_API AH_MEDIUM_CTX *AH_MediumCtx_new(); 00088 AQHBCI_API void AH_MediumCtx_free(AH_MEDIUM_CTX *st); 00091 AQHBCI_API void AH_MediumCtx_Attach(AH_MEDIUM_CTX *st); 00094 AQHBCI_API AH_MEDIUM_CTX *AH_MediumCtx_dup(const AH_MEDIUM_CTX*st); 00097 AQHBCI_API AH_MEDIUM_CTX *AH_MediumCtx_fromDb(GWEN_DB_NODE *db); 00100 AQHBCI_API int AH_MediumCtx_toDb(const AH_MEDIUM_CTX*st, GWEN_DB_NODE *db); 00103 AQHBCI_API int AH_MediumCtx_IsModified(const AH_MEDIUM_CTX *st); 00106 AQHBCI_API void AH_MediumCtx_SetModified(AH_MEDIUM_CTX *st, int i); 00107 00111 AQHBCI_API GWEN_CRYPTTOKEN_USER *AH_MediumCtx_GetUser(const AH_MEDIUM_CTX *el); 00115 AQHBCI_API void AH_MediumCtx_SetUser(AH_MEDIUM_CTX *el, GWEN_CRYPTTOKEN_USER *d); 00116 00120 AQHBCI_API GWEN_CRYPTTOKEN_CONTEXT *AH_MediumCtx_GetTokenContext(const AH_MEDIUM_CTX *el); 00124 AQHBCI_API void AH_MediumCtx_SetTokenContext(AH_MEDIUM_CTX *el, GWEN_CRYPTTOKEN_CONTEXT *d); 00125 00129 AQHBCI_API const GWEN_KEYSPEC *AH_MediumCtx_GetLocalSignKeySpec(const AH_MEDIUM_CTX *el); 00133 AQHBCI_API void AH_MediumCtx_SetLocalSignKeySpec(AH_MEDIUM_CTX *el, const GWEN_KEYSPEC *d); 00134 00138 AQHBCI_API const GWEN_KEYSPEC *AH_MediumCtx_GetLocalCryptKeySpec(const AH_MEDIUM_CTX *el); 00142 AQHBCI_API void AH_MediumCtx_SetLocalCryptKeySpec(AH_MEDIUM_CTX *el, const GWEN_KEYSPEC *d); 00143 00147 AQHBCI_API const GWEN_KEYSPEC *AH_MediumCtx_GetRemoteSignKeySpec(const AH_MEDIUM_CTX *el); 00151 AQHBCI_API void AH_MediumCtx_SetRemoteSignKeySpec(AH_MEDIUM_CTX *el, const GWEN_KEYSPEC *d); 00152 00156 AQHBCI_API const GWEN_KEYSPEC *AH_MediumCtx_GetRemoteCryptKeySpec(const AH_MEDIUM_CTX *el); 00160 AQHBCI_API void AH_MediumCtx_SetRemoteCryptKeySpec(AH_MEDIUM_CTX *el, const GWEN_KEYSPEC *d); 00161 00162 00163 #ifdef __cplusplus 00164 } /* __cplusplus */ 00165 #endif 00166 00167 00168 #endif /* MEDIUMCTX_H */