#ifndef ROOT_TRootSecContext
#define ROOT_TRootSecContext
#ifndef ROOT_TAuthenticate
#include "TAuthenticate.h"
#endif
#ifndef ROOT_TSecContext
#include "TSecContext.h"
#endif
class TRootSecContext : public TSecContext {
private:
Int_t fRSAKey;
Bool_t CleanupSecContext(Bool_t all);
public:
TRootSecContext(const char *url, Int_t meth, Int_t offset,
const char *id, const char *token,
TDatime expdate = kROOTTZERO, void *ctx = 0, Int_t key = 1);
TRootSecContext(const char *user, const char *host, Int_t meth, Int_t offset,
const char *id, const char *token,
TDatime expdate = kROOTTZERO, void *ctx = 0, Int_t key = 1);
virtual ~TRootSecContext();
const char *AsString(TString &out);
void DeActivate(Option_t *opt = "CR");
Int_t GetRSAKey() const { return fRSAKey; }
void Print(Option_t *option = "F") const;
ClassDef(TRootSecContext,0)
};
#endif