diff options
Diffstat (limited to 'include/xmlsec/x509.h')
-rw-r--r-- | include/xmlsec/x509.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/include/xmlsec/x509.h b/include/xmlsec/x509.h index e58f37c0..b2114822 100644 --- a/include/xmlsec/x509.h +++ b/include/xmlsec/x509.h @@ -1,23 +1,23 @@ -/** +/** * XML Security Library (http://www.aleksey.com/xmlsec). * * This is free software; see Copyright file in the source * distribution for preciese wording. - * + * * Copyright (C) 2002-2003 Aleksey Sanin <aleksey@aleksey.com> */ #ifndef __XMLSEC_X509_H__ -#define __XMLSEC_X509_H__ +#define __XMLSEC_X509_H__ #ifndef XMLSEC_NO_X509 - + #ifdef __cplusplus extern "C" { -#endif /* __cplusplus */ -#include <stdio.h> +#endif /* __cplusplus */ +#include <stdio.h> #include <libxml/tree.h> -#include <libxml/parser.h> +#include <libxml/parser.h> #include <xmlsec/xmlsec.h> #include <xmlsec/buffer.h> @@ -32,43 +32,43 @@ extern "C" { * * <dsig:X509Certificate/> node found or would be written back. */ -#define XMLSEC_X509DATA_CERTIFICATE_NODE 0x00000001 +#define XMLSEC_X509DATA_CERTIFICATE_NODE 0x00000001 /** * XMLSEC_X509DATA_SUBJECTNAME_NODE: * * <dsig:X509SubjectName/> node found or would be written back. */ -#define XMLSEC_X509DATA_SUBJECTNAME_NODE 0x00000002 +#define XMLSEC_X509DATA_SUBJECTNAME_NODE 0x00000002 /** * XMLSEC_X509DATA_ISSUERSERIAL_NODE: * * <dsig:X509IssuerSerial/> node found or would be written back. */ -#define XMLSEC_X509DATA_ISSUERSERIAL_NODE 0x00000004 +#define XMLSEC_X509DATA_ISSUERSERIAL_NODE 0x00000004 /** * XMLSEC_X509DATA_SKI_NODE: * * <dsig:/X509SKI> node found or would be written back. */ -#define XMLSEC_X509DATA_SKI_NODE 0x00000008 +#define XMLSEC_X509DATA_SKI_NODE 0x00000008 /** * XMLSEC_X509DATA_CRL_NODE: * * <dsig:X509CRL/> node found or would be written back. */ -#define XMLSEC_X509DATA_CRL_NODE 0x00000010 +#define XMLSEC_X509DATA_CRL_NODE 0x00000010 /** * XMLSEC_X509DATA_DEFAULT: * * Default set of nodes to write in case of empty * <dsig:X509Data/> node template. */ -#define XMLSEC_X509DATA_DEFAULT \ - (XMLSEC_X509DATA_CERTIFICATE_NODE | XMLSEC_X509DATA_CRL_NODE) - -XMLSEC_EXPORT int xmlSecX509DataGetNodeContent (xmlNodePtr node, - int deleteChildren, - xmlSecKeyInfoCtxPtr keyInfoCtx); +#define XMLSEC_X509DATA_DEFAULT \ + (XMLSEC_X509DATA_CERTIFICATE_NODE | XMLSEC_X509DATA_CRL_NODE) + +XMLSEC_EXPORT int xmlSecX509DataGetNodeContent (xmlNodePtr node, + int deleteChildren, + xmlSecKeyInfoCtxPtr keyInfoCtx); #ifdef __cplusplus } |