Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/AuthConst.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/auth:$Id$
0002 // Author: Gerardo Ganis   3/12/2003
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_AuthConst
0013 #define ROOT_AuthConst
0014 
0015 //////////////////////////////////////////////////////////////////////////
0016 //                                                                      //
0017 // AuthConst                                                            //
0018 //                                                                      //
0019 // Const used in authentication business                                //
0020 //                                                                      //
0021 //////////////////////////////////////////////////////////////////////////
0022 
0023 #include "RtypesCore.h"
0024 
0025 // Number of security levels and masks
0026 const Int_t       kMAXSEC         = 6;
0027 const Int_t       kMAXSECBUF      = 4096;
0028 const Int_t       kAUTH_REUSE_MSK = 0x1;
0029 const Int_t       kAUTH_CRYPT_MSK = 0x2;
0030 const Int_t       kAUTH_SSALT_MSK = 0x4;
0031 const Int_t       kAUTH_RSATY_MSK = 0x8;
0032 const Int_t       kMAXRSATRIES    = 100;
0033 const Int_t       kPRIMELENGTH    = 20;
0034 const Int_t       kPRIMEEXP       = 40;
0035 
0036 #endif