Main Page | Modules | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

XSECW32Config.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 2002-2004 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * imitations under the License.
00015  */
00016 
00017 /*
00018  * XSEC
00019  * 
00020  * Configuration file for Windows platform
00021  *
00022  * Needs to be modified by hand
00023  *
00024  * Author(s): Berin Lautenbach
00025  *
00026  * $Id: XSECW32Config.hpp,v 1.19 2004/03/14 03:50:24 blautenb Exp $
00027  *
00028  */
00029 
00030 #include <xercesc/util/XercesVersion.hpp>
00031 
00032 #define XSEC_VERSION         "1.1.0"
00033 #define XSEC_VERSION_MAJOR   1
00034 #define XSEC_VERSION_MEDIUM  1
00035 #define XSEC_VERSION_MINOR   0
00036 
00037 /*
00038  * Because we don't have a configure script, we need to rely on version
00039  * numbers to understand library idiosycracies
00040  */
00041 
00042 #if (XERCES_VERSION_MAJOR >= 2) && (XERCES_VERSION_MINOR >= 3)
00043 /* 
00044  * As of version 2.3, xerces requires a version parameter in XMLFormatter
00045  * constructors
00046  */
00047 #   define XSEC_XERCES_FORMATTER_REQUIRES_VERSION 1
00048 
00049  /* 2.3 and above use a user defined Memory Manager.  In some cases, this
00050    actually needs to be passed to functions
00051 */
00052 
00053 #   define XSEC_XERCES_REQUIRES_MEMMGR 1
00054 
00055 #else
00056 /*
00057  * In version 2.2, the XMLUri class was broken for relative URI de-referencing
00058  */
00059 #   define XSEC_XERCES_BROKEN_XMLURI 1
00060 #endif
00061 
00062 
00063 
00064 /*
00065  * The following defines whether Xalan integration is required.
00066  *
00067  * Xalan is used for XSLT and complex XPath processing.
00068  * Activate this #define if Xalan is not required (or desired)
00069  */
00070 
00071 /* #define XSEC_NO_XALAN */
00072 
00073 /*
00074  * Define presence of cryptographic providers
00075  */
00076 
00077 #define HAVE_OPENSSL 1
00078 
00079 #define HAVE_WINCAPI 1
00080 
00081 
00082 /*
00083  * Some settings for OpenSSL if we have it
00084  *
00085  */
00086 
00087 #if defined (HAVE_OPENSSL)
00088 
00089 #   include <openssl/opensslv.h>
00090 #   if (OPENSSL_VERSION_NUMBER >= 0x00907000)
00091 
00092 #       define XSEC_OPENSSL_CONST_BUFFERS
00093 #       define XSEC_OPENSSL_HAVE_AES
00094 #       define XSEC_OPENSSL_CANSET_PADDING
00095 #   endif
00096 
00097 #endif
00098 
00099 /*
00100  * Macros used to determine what header files exist on this
00101  * system
00102  */
00103 
00104 /* Posix unistd.h */
00105 /* #define HAVE_UNISTD_H */
00106 
00107 /* Windows direct.h */
00108 #define HAVE_DIRECT_H 1
00109 
00110 

Generated on Sun Mar 14 21:35:35 2004 for XML-Security-C by doxygen 1.3.2