12 #ifndef ROOT_TRootSecContext
13 #define ROOT_TRootSecContext
27 class TRootSecContext :
public TSecContext {
32 Bool_t CleanupSecContext(Bool_t all);
36 TRootSecContext(
const char *url, Int_t meth, Int_t offset,
37 const char *
id,
const char *token,
38 TDatime expdate = kROOTTZERO,
void *ctx = 0, Int_t key = 1);
39 TRootSecContext(
const char *user,
const char *host, Int_t meth, Int_t offset,
40 const char *
id,
const char *token,
41 TDatime expdate = kROOTTZERO,
void *ctx = 0, Int_t key = 1);
42 virtual ~TRootSecContext();
44 const char *AsString(TString &out);
46 void DeActivate(Option_t *opt =
"CR");
47 Int_t GetRSAKey()
const {
return fRSAKey; }
49 void Print(Option_t *option =
"F")
const;
51 ClassDef(TRootSecContext,0)