#include "FileCache.h"
+#include "crypto/CryptoLib.h"
+using namespace CryptoLib;
+
+#include "crypto/Ticket.h"
+//#include "User.h"
+
// stl
#include <set>
#include <map>
char *username;
esignPub myPubKey;
// a kerberos like certification ticket
- certTicket *ticket;
+ Ticket *ticket;
public:
// the pub/prv key pair must exist before hand. The user
string pubKey;
esignPub realKey;
FixedSigBuf allocSig;
- SigBug signature;
+ SigBuf signature;
bool keyConverted;
bool sigConverted;
char *get_type_name() { return "client_auth_user"; }
const string& get_str_key() { return pubKey; }
- esignPub get_key() { return _fromString_esignPubKey(pubKey); }
+ esignPub get_key() { return _fromStr_esignPubKey(pubKey); }
string get_username() { return username; }
uid_t get_uid() { return uid; }
gid_t get_gid() { return gid; }