/usr/include/botan-1.10/botan/ui.h is in libbotan1.10-dev 1.10.16-1.
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 | /*
* User Interface
* (C) 1999-2007 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
#ifndef BOTAN_UI_H__
#define BOTAN_UI_H__
#include <botan/build.h>
#include <string>
namespace Botan {
/**
* User Interface
* Only really used for callbacks for PKCS #8 decryption
*/
class BOTAN_DLL User_Interface
{
public:
enum UI_Result { OK, CANCEL_ACTION };
virtual std::string get_passphrase(const std::string&,
const std::string&,
UI_Result&) const;
User_Interface(const std::string& = "");
virtual ~User_Interface() {}
protected:
std::string preset_passphrase;
mutable bool first_try;
};
}
#endif
|