Revision 5d2dc4947677478f2f0c0a7b8b1e257185e10720 authored by Rene Brun on 29 August 2006, 12:30:35 UTC, committed by Rene Brun on 29 August 2006, 12:30:35 UTC

git-svn-id: http://root.cern.ch/svn/root/trunk@16152 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent c821143
Raw File
AuthConst.h
// @(#)root/auth:$Name:  $:$Id: AuthConst.h,v 1.1 2005/07/18 16:20:52 rdm Exp $
// 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                                //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

// 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
back to top