Eneboo - Documentación para desarrolladores
src/libdigidoc/DigiDocGlobals.h
Ir a la documentación de este archivo.
00001 #ifndef __DIGIDOC_PROFILE_H__
00002 #define __DIGIDOC_PROFILE_H__
00003 //==================================================
00004 // FILE:        DigiDocGlobals.h
00005 // PROJECT:     Digi Doc Encryption
00006 // DESCRIPTION: DigiDoc TSA profiles
00007 // AUTHOR:  Veiko Sinivee, S|E|B IT Partner Estonia
00008 //==================================================
00009 // Copyright (C) AS Sertifitseerimiskeskus
00010 // This library is free software; you can redistribute it and/or
00011 // modify it under the terms of the GNU Lesser General Public
00012 // License as published by the Free Software Foundation; either
00013 // version 2.1 of the License, or (at your option) any later version.
00014 // This library is distributed in the hope that it will be useful,
00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017 // Lesser General Public License for more details.
00018 // GNU Lesser General Public Licence is available at
00019 // http://www.gnu.org/copyleft/lesser.html
00020 //==========< HISTORY >=============================
00021 //      01.06.2006      Arvo Sulakatko
00022 //                      Creation
00023 //      08.06.2006      Veiko Sinivee
00024 //                      Changed implementation and assignment of profile values
00025 //==================================================
00026 
00027 #include <libdigidoc/DigiDocDefs.h>
00028 
00029 #ifdef __cplusplus
00030 extern "C"
00031 {
00032 #endif  
00033 
00034 // TSAProfile
00035 typedef struct tag_TSAProfile *LPTSAProfile;
00036 
00037 // TSAProfile
00038 typedef struct tag_TSAProfile
00039 {
00040         char g_szTsaPolicy[255];
00041         char g_szTsaUrl[255];
00042         int g_nTsaMaxTsInterval;        
00043         int g_bAddSignatureTimeStamp;
00044         int g_bAddSigAndRefsTimeStamp;
00045 
00046         char m_szDebugFilePath[0xFF];
00047         int m_nDebugLevel;
00048 
00049 } TSAProfile, *LPTSAProfile;
00050 
00051 
00052 //--------------------------------------------------
00053 // Initializes TSA profile block
00054 // returns pointer to global TSA profile
00055 //--------------------------------------------------
00056 EXP_OPTION TSAProfile* TSAProfile_init();
00057 
00058 
00059 // default TSAProfile (to be extended)
00060 extern LPTSAProfile g_current_TSAProfile;
00061 
00062 
00063 
00064 #ifdef __cplusplus
00065 }
00066 #endif   
00067 
00068 #endif  // __DIGIDOC_PROFILE_H__
00069 
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'