/usr/include/xmlsec1/xmlsec/x509.h is in libxmlsec1-dev 1.2.18-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | /**
* 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__
#ifndef XMLSEC_NO_X509
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#include <stdio.h>
#include <libxml/tree.h>
#include <libxml/parser.h>
#include <xmlsec/xmlsec.h>
#include <xmlsec/buffer.h>
#include <xmlsec/list.h>
#include <xmlsec/keys.h>
#include <xmlsec/keysmngr.h>
#include <xmlsec/keyinfo.h>
#include <xmlsec/transforms.h>
/**
* XMLSEC_X509DATA_CERTIFICATE_NODE:
*
* <dsig:X509Certificate/> node found or would be written back.
*/
#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
/**
* XMLSEC_X509DATA_ISSUERSERIAL_NODE:
*
* <dsig:X509IssuerSerial/> node found or would be written back.
*/
#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
/**
* XMLSEC_X509DATA_CRL_NODE:
*
* <dsig:X509CRL/> node found or would be written back.
*/
#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);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* XMLSEC_NO_X509 */
#endif /* __XMLSEC_X509_H__ */
|