This file is indexed.

/usr/include/libdigidoc/DigiDocEncSAXParser.h is in libdigidoc-dev 3.10.1.1208+ds1-2.

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
#ifndef __DIGIDOC_ENC_SAX_PARSER_H__
#define __DIGIDOC_ENC_SAX_PARSER_H__
//==================================================
// FILE:	DigiDocEncSAXParser.h
// PROJECT:     Digi Doc Encryption 
// DESCRIPTION: DigiDocEnc XML SAX parsing
// AUTHOR:  Veiko Sinivee, S|E|B IT Partner Estonia
//==================================================
// Copyright (C) AS Sertifitseerimiskeskus
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
// GNU Lesser General Public Licence is available at
// http://www.gnu.org/copyleft/lesser.html
//==========< HISTORY >=============================
//      11.10.2004      Veiko Sinivee
//                      Creation
//==================================================


#include <libdigidoc/DigiDocEnc.h>
#include <libdigidoc/DigiDocDefs.h>

#ifdef  __cplusplus
extern "C" {
#endif

  //--------------------------------------------------
  // Reads in encrypted XML document.
  // ppEncData - address for new encrypted data object [REQUIRED]
  // szFileName - input file name
  // returns error code or ERR_OK
  //--------------------------------------------------
  EXP_OPTION int dencSaxReadEncryptedData(DEncEncryptedData** ppEncData, const char* szFileName);

  //--------------------------------------------------
  // Reads in encrypted XML document.
  // ppEncData - address for new encrypted data object [REQUIRED]
  // pData - input data [REQUIRED]
  // returns error code or ERR_OK
  //--------------------------------------------------
  EXP_OPTION int dencSaxReadEncryptedDataFromMemory(DEncEncryptedData** ppEncData, DigiDocMemBuf* pData);

  //--------------------------------------------------
  // Decrypts an encrypted XML document and stores the
  // cleartext data in another document. Please note that szCertCN 
  // parameter is no longer required as the users cert will
  // bea read from smartcard using PKCS#11
  // szInputFileName - input file name [REQUIRED]
  // szOutputFileName - output file name [REQUIRED]
  // szPin - PIN1 of the id-card to decrypt the transport key [REQUIRED]
  // szPkcs12File - pkcs12 key container filename [OPTIONAL]
  // returns error code or ERR_OK
  //--------------------------------------------------
  EXP_OPTION int dencSaxReadDecryptFile(const char* szInputFileName, 
					const char* szOutputFileName, 
					const char* szPin, const char* szPkcs12File);


#ifdef  __cplusplus
}
#endif


#endif // __DIGIDOC_ENC_SAX_PARSER_H__