This file is indexed.

/usr/include/xmlsec1/xmlsec/private/xkms.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
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
/**
 * XML Security Library (http://www.aleksey.com/xmlsec).
 *
 * "XML Key Management Specification v 2.0" implementation
 *  http://www.w3.org/TR/xkms2/
 *
 * 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_PRIVATE_XKMS_H__
#define __XMLSEC_PRIVATE_XKMS_H__

#ifndef XMLSEC_PRIVATE
#error "xmlsec/private/xkms.h file contains private xmlsec definitions and should not be used outside xmlsec or xmlsec-<crypto> libraries"
#endif /* XMLSEC_PRIVATE */

#ifndef XMLSEC_NO_XKMS

#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>
#include <xmlsec/xkms.h>

/************************************************************************
 *
 * XKMS RespondWith Klass
 *
 ************************************************************************/
typedef int             (*xmlSecXkmsRespondWithNodeReadMethod)  (xmlSecXkmsRespondWithId id,
                                                                 xmlSecXkmsServerCtxPtr ctx,
                                                                 xmlNodePtr node);
typedef int             (*xmlSecXkmsRespondWithNodeWriteMethod) (xmlSecXkmsRespondWithId id,
                                                                 xmlSecXkmsServerCtxPtr ctx,
                                                                 xmlNodePtr node);
struct _xmlSecXkmsRespondWithKlass {
    const xmlChar*                              valueName;
    const xmlChar*                              valueNs;

    const xmlChar*                              nodeName;
    const xmlChar*                              nodeNs;

    xmlSecXkmsRespondWithNodeReadMethod         readNode;
    xmlSecXkmsRespondWithNodeWriteMethod        writeNode;

    void*                                       reserved1;
    void*                                       reserved2;
};

#define xmlSecXkmsRespondWithKlassGetName(id) \
        ((((id) != NULL) && ((id)->valueName != NULL)) ? (id)->valueName : NULL)

/************************************************************************
 *
 * XKMS ServerRequest Klass
 *
 ************************************************************************/
typedef int                     (*xmlSecXkmsServerRequestNodeReadMethod)
                                                                (xmlSecXkmsServerRequestId id,
                                                                 xmlSecXkmsServerCtxPtr ctx,
                                                                 xmlNodePtr node);
typedef int                     (*xmlSecXkmsServerRequestExecuteMethod)
                                                                (xmlSecXkmsServerRequestId id,
                                                                 xmlSecXkmsServerCtxPtr ctx);
typedef int                     (*xmlSecXkmsServerRequestNodeWriteMethod)
                                                                (xmlSecXkmsServerRequestId id,
                                                                 xmlSecXkmsServerCtxPtr ctx,
                                                                 xmlNodePtr node);
struct _xmlSecXkmsServerRequestKlass {
    const xmlChar*                              name;
    const xmlChar*                              requestNodeName;
    const xmlChar*                              requestNodeNs;
    const xmlChar*                              resultNodeName;
    const xmlChar*                              resultNodeNs;
    xmlSecBitMask                               flags;

    xmlSecXkmsServerRequestNodeReadMethod       readNode;
    xmlSecXkmsServerRequestNodeWriteMethod      writeNode;
    xmlSecXkmsServerRequestExecuteMethod        execute;

    void*                                       reserved1;
    void*                                       reserved2;
};

#define xmlSecXkmsServerRequestKlassGetName(id) \
        ((((id) != NULL) && ((id)->name != NULL)) ? (id)->name : NULL)


/************************************************************************
 *
 * XKMS ServerRequest Klass flags
 *
 ************************************************************************/
/**
 * XMLSEC_XKMS_SERVER_REQUEST_KLASS_ALLOWED_IN_COUMPOUND:
 *
 * The server request klass is allowed in xkms:CompoundRequest element.
 */
#define XMLSEC_XKMS_SERVER_REQUEST_KLASS_ALLOWED_IN_COUMPOUND   0x00000001

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* XMLSEC_NO_XKMS */

#endif /* __XMLSEC_PRIVATE_XKMS_H__ */