// @(#)root/auth:$Id: AuthConst.h 30815 2009-10-20 13:49:22Z rdm $ // Author: Gerardo Ganis 3/12/2003 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. * * * * For the licensing terms see $ROOTSYS/LICENSE. * * For the list of contributors see $ROOTSYS/README/CREDITS. * *************************************************************************/ #ifndef ROOT_AuthConst #define ROOT_AuthConst ////////////////////////////////////////////////////////////////////////// // // // AuthConst // // // // Const used in authentication business // // // ////////////////////////////////////////////////////////////////////////// #ifndef ROOT_Rtypes #include "Rtypes.h" #endif // Number of security levels and masks const Int_t kMAXSEC = 6; const Int_t kMAXSECBUF = 4096; const Int_t kAUTH_REUSE_MSK = 0x1; const Int_t kAUTH_CRYPT_MSK = 0x2; const Int_t kAUTH_SSALT_MSK = 0x4; const Int_t kAUTH_RSATY_MSK = 0x8; const Int_t kMAXRSATRIES = 100; const Int_t kPRIMELENGTH = 20; const Int_t kPRIMEEXP = 40; #endif