This file is indexed.

/usr/include/wvstreams/wvdsa.h is in libwvstreams-dev 4.6.1-7.

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
/*
 * Worldvisions Weaver Software:
 *   Copyright (C) 1997-2004 Net Integration Technologies, Inc.
 *
 * DSA cryptography abstractions.
 */
#ifndef __WVDSA_H
#define __WVDSA_H

#include "wverror.h"
#include "wvencoder.h"
#include "wvencoderstream.h"

struct dsa_st;

/**
 * An DSA public key or public/private key pair that can be used for
 * encryption.
 * 
 * Knows how to encode/decode itself into a string of hex digits
 * for easy transport.
 */
class WvDSAKey : public WvErrorBase
{
    WvString pub, prv;

    void init(WvStringParm keystr, bool priv);
    static WvString hexifypub(struct dsa_st *dsa);
    static WvString hexifyprv(struct dsa_st *dsa);

public:
    struct dsa_st *dsa;

    WvDSAKey(const WvDSAKey &k);
    WvDSAKey(struct dsa_st *_dsa, bool priv); // note: takes ownership

    /**
     * Populate the DSA key with a hexified() key 
     */
    WvDSAKey(WvStringParm keystr, bool priv);

    /**
     * Create a new DSA key of bits strength.
     */
    WvDSAKey(int bits);
    
    ~WvDSAKey();
    
    virtual bool isok() const;
    
    /**
     * Retrieve the private key as a hexified string
     * returns WvString::null if there is only a public
     * key.
     */
    WvString private_str() const
        { return prv; }

    /**
     * Retrieve the public key as a hexified string
     */
    WvString public_str() const
        { return pub; }
    
    /**
     * Retrieve the public or private key in PEM encoded
     * format.
     */
    WvString getpem(bool privkey);
};


#endif // __WVDSA_H