diff options
Diffstat (limited to 'include/xmlsec/keyinfo.h')
-rw-r--r-- | include/xmlsec/keyinfo.h | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/include/xmlsec/keyinfo.h b/include/xmlsec/keyinfo.h index b2f24d17..1f79284d 100644 --- a/include/xmlsec/keyinfo.h +++ b/include/xmlsec/keyinfo.h @@ -1,4 +1,4 @@ -/** +/* * XML Security Library (http://www.aleksey.com/xmlsec). * * <dsig:KeyInfo> element processing @@ -12,10 +12,6 @@ #ifndef __XMLSEC_KEYINFO_H__ #define __XMLSEC_KEYINFO_H__ -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - #include <time.h> #include <libxml/tree.h> @@ -26,6 +22,10 @@ extern "C" { #include <xmlsec/keys.h> #include <xmlsec/transforms.h> +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /**************************************************************************** * * High-level functions @@ -155,17 +155,6 @@ typedef enum { #define XMLSEC_KEYINFO_FLAGS_X509DATA_SKIP_STRICT_CHECKS 0x00004000 /** - * XMLSEC_KEYINFO_FLAGS_SKIP_VERIFY_CHAIN: - * - * If the flag is set then we wont stop document validation - * on certificate chain error. Instead of stopping validation - * we'll just set flag XMLSEC_KEYINFO_ERROR_FLAGS_BROKEN_CHAIN - * as flags2 value. - */ -#define XMLSEC_KEYINFO_FLAGS_ALLOW_BROKEN_CHAIN 0x00008000 -#define XMLSEC_KEYINFO_ERROR_FLAGS_BROKEN_CHAIN 0x00000001 - -/** * xmlSecKeyInfoCtx: * @userData: the pointer to user data (xmlsec and xmlsec-crypto * never touch this). |