ROOT
6.18/05
Reference Guide
net
auth
inc
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
#include "
Rtypes.h
"
24
25
// Number of security levels and masks
26
const
Int_t
kMAXSEC
= 6;
27
const
Int_t
kMAXSECBUF
= 4096;
28
const
Int_t
kAUTH_REUSE_MSK
= 0x1;
29
const
Int_t
kAUTH_CRYPT_MSK
= 0x2;
30
const
Int_t
kAUTH_SSALT_MSK
= 0x4;
31
const
Int_t
kAUTH_RSATY_MSK
= 0x8;
32
const
Int_t
kMAXRSATRIES
= 100;
33
const
Int_t
kPRIMELENGTH
= 20;
34
const
Int_t
kPRIMEEXP
= 40;
35
36
#endif
kAUTH_SSALT_MSK
const Int_t kAUTH_SSALT_MSK
Definition:
AuthConst.h:30
kAUTH_CRYPT_MSK
const Int_t kAUTH_CRYPT_MSK
Definition:
AuthConst.h:29
kMAXSECBUF
const Int_t kMAXSECBUF
Definition:
AuthConst.h:27
kAUTH_REUSE_MSK
const Int_t kAUTH_REUSE_MSK
Definition:
AuthConst.h:28
kPRIMEEXP
const Int_t kPRIMEEXP
Definition:
AuthConst.h:34
kPRIMELENGTH
const Int_t kPRIMELENGTH
Definition:
AuthConst.h:33
kMAXRSATRIES
const Int_t kMAXRSATRIES
Definition:
AuthConst.h:32
kAUTH_RSATY_MSK
const Int_t kAUTH_RSATY_MSK
Definition:
AuthConst.h:31
kMAXSEC
const Int_t kMAXSEC
Definition:
AuthConst.h:26
Int_t
int Int_t
Definition:
RtypesCore.h:41
Rtypes.h