00001 // @(#)root/auth:$Id: AuthConst.h 30815 2009-10-20 13:49:22Z rdm $ 00002 // Author: Gerardo Ganis 3/12/2003 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_AuthConst 00013 #define ROOT_AuthConst 00014 00015 ////////////////////////////////////////////////////////////////////////// 00016 // // 00017 // AuthConst // 00018 // // 00019 // Const used in authentication business // 00020 // // 00021 ////////////////////////////////////////////////////////////////////////// 00022 00023 #ifndef ROOT_Rtypes 00024 #include "Rtypes.h" 00025 #endif 00026 00027 // Number of security levels and masks 00028 const Int_t kMAXSEC = 6; 00029 const Int_t kMAXSECBUF = 4096; 00030 const Int_t kAUTH_REUSE_MSK = 0x1; 00031 const Int_t kAUTH_CRYPT_MSK = 0x2; 00032 const Int_t kAUTH_SSALT_MSK = 0x4; 00033 const Int_t kAUTH_RSATY_MSK = 0x8; 00034 const Int_t kMAXRSATRIES = 100; 00035 const Int_t kPRIMELENGTH = 20; 00036 const Int_t kPRIMEEXP = 40; 00037 00038 #endif