Logo ROOT   6.08/07
Reference Guide
AuthConst.h
Go to the documentation of this file.
1 // @(#)root/auth:$Id$
2 // Author: Gerardo Ganis 3/12/2003
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_AuthConst
13 #define ROOT_AuthConst
14 
15 //////////////////////////////////////////////////////////////////////////
16 // //
17 // AuthConst //
18 // //
19 // Const used in authentication business //
20 // //
21 //////////////////////////////////////////////////////////////////////////
22 
23 #ifndef ROOT_Rtypes
24 #include "Rtypes.h"
25 #endif
26 
27 // Number of security levels and masks
28 const Int_t kMAXSEC = 6;
29 const Int_t kMAXSECBUF = 4096;
30 const Int_t kAUTH_REUSE_MSK = 0x1;
31 const Int_t kAUTH_CRYPT_MSK = 0x2;
32 const Int_t kAUTH_SSALT_MSK = 0x4;
33 const Int_t kAUTH_RSATY_MSK = 0x8;
34 const Int_t kMAXRSATRIES = 100;
35 const Int_t kPRIMELENGTH = 20;
36 const Int_t kPRIMEEXP = 40;
37 
38 #endif
const Int_t kAUTH_SSALT_MSK
Definition: AuthConst.h:32
const Int_t kMAXSEC
Definition: AuthConst.h:28
int Int_t
Definition: RtypesCore.h:41
const Int_t kAUTH_RSATY_MSK
Definition: AuthConst.h:33
const Int_t kMAXRSATRIES
Definition: AuthConst.h:34
const Int_t kPRIMEEXP
Definition: AuthConst.h:36
const Int_t kAUTH_REUSE_MSK
Definition: AuthConst.h:30
const Int_t kMAXSECBUF
Definition: AuthConst.h:29
const Int_t kAUTH_CRYPT_MSK
Definition: AuthConst.h:31
const Int_t kPRIMELENGTH
Definition: AuthConst.h:35