XrdSecProtocolgsi.hh File Reference

#include <XrdOuc/XrdOucErrInfo.hh>
#include <XrdSys/XrdSysPthread.hh>
#include <XrdOuc/XrdOucString.hh>
#include <XrdOuc/XrdOucTokenizer.hh>
#include <XrdSec/XrdSecInterface.hh>
#include <XrdSecgsi/XrdSecgsiTrace.hh>
#include <XrdSut/XrdSutPFEntry.hh>
#include <XrdSut/XrdSutPFile.hh>
#include <XrdSut/XrdSutBuffer.hh>
#include <XrdSut/XrdSutRndm.hh>
#include <XrdCrypto/XrdCryptoAux.hh>
#include <XrdCrypto/XrdCryptoCipher.hh>
#include <XrdCrypto/XrdCryptoFactory.hh>
#include <XrdCrypto/XrdCryptoX509Crl.hh>
#include <XrdCrypto/XrdCryptosslgsiX509Chain.hh>

Go to the source code of this file.

Classes

class  gsiOptions
class  gsiHSVars
struct  ProxyOut_t
struct  ProxyIn_t
class  XrdSecProtocolgsi

Defines

#define XrdSecPROTOIDENT   "gsi"
#define XrdSecPROTOIDLEN   sizeof(XrdSecPROTOIDENT)
#define XrdSecgsiVERSION   10200
#define XrdSecNOIPCHK   0x0001
#define XrdSecDEBUG   0x1000
#define XrdCryptoMax   10
#define kMAXBUFLEN   1024
#define REL1(x)   { if (x) delete x; }
#define REL2(x, y)   { if (x) delete x; if (y) delete y; }
#define REL3(x, y, z)   { if (x) delete x; if (y) delete y; if (z) delete z; }
#define SafeDelete(x)   { if (x) delete x ; x = 0; }
#define SafeDelArray(x)   { if (x) delete [] x ; x = 0; }
#define SafeFree(x)   { if (x) free(x) ; x = 0; }

Typedefs

typedef XrdOucString String
typedef XrdCryptosslgsiX509Chain X509Chain
typedef char *(*) XrdSecgsiGMAP_t (const char *, int)
typedef char *(*) XrdSecgsiAuthz_t (const char *, int)

Enumerations

enum  kgsiStatus
enum  kgsiClientSteps
enum  kgsiServerSteps
enum  kgsiHandshakeOpts
enum  kgsiErrors


Define Documentation

#define kMAXBUFLEN   1024

Definition at line 43 of file XrdSecProtocolgsi.hh.

Referenced by XrdSecProtocolgsi::InitProxy(), and RootdChdir().

#define REL1 ( x   )     { if (x) delete x; }

Definition at line 112 of file XrdSecProtocolgsi.hh.

#define REL2 ( x,
y   )     { if (x) delete x; if (y) delete y; }

Definition at line 113 of file XrdSecProtocolgsi.hh.

Referenced by XrdSecProtocolpwd::Authenticate(), XrdSecProtocolgsi::Authenticate(), XrdSecProtocolgsi::getCredentials(), and XrdSecProtocolpwd::getCredentials().

#define REL3 ( x,
y,
z   )     { if (x) delete x; if (y) delete y; if (z) delete z; }

Definition at line 114 of file XrdSecProtocolgsi.hh.

Referenced by XrdSecProtocolgsi::ErrC(), XrdSecProtocolpwd::ErrC(), XrdSecProtocolgsi::ErrS(), and XrdSecProtocolpwd::ErrS().

#define SafeDelArray ( x   )     { if (x) delete [] x ; x = 0; }

Definition at line 117 of file XrdSecProtocolgsi.hh.

Referenced by XrdSecProtocolpwd::Authenticate(), XrdProofdAdmin::CleanupSessions(), XrdSecProtocolpwd::getCredentials(), XrdSecProtocolpwd::ParseClientInput(), and XrdProofdNetMgr::ReadBuffer().

#define SafeDelete ( x   )     { if (x) delete x ; x = 0; }

Definition at line 116 of file XrdSecProtocolgsi.hh.

#define SafeFree ( x   )     { if (x) free(x) ; x = 0; }

Definition at line 118 of file XrdSecProtocolgsi.hh.

Referenced by XrdProofdManager::Config(), XrdSecProtocolgsi::Decrypt(), XrdSecProtocolgsi::Delete(), XrdSecProtocolgsi::Encrypt(), XrdProofdAux::Expand(), XrdProofdNetMgr::IsLocal(), XrdSecProtocolgsi::LoadGMAP(), XrdProofdConfig::ParseFile(), XrdSecProtocolgsi::QueryGMAP(), XrdProofdNetMgr::ReadBuffer(), XrdProofdNetMgr::ReadBufferRemote(), XrdProofdNetMgr::ReadLogPaths(), XrdProofWorker::Reset(), XrdSecProtocolgsi::Sign(), XrdProofdNetMgr::XrdProofdNetMgr(), and XrdSecProtocolgsiInit().

#define XrdCryptoMax   10

Definition at line 41 of file XrdSecProtocolgsi.hh.

Referenced by XrdSecProtocolpwd::Init(), XrdSecProtocolgsi::Init(), XrdSecProtocolpwd::ParseCrypto(), and XrdSecProtocolgsi::ParseCrypto().

#define XrdSecDEBUG   0x1000

Definition at line 40 of file XrdSecProtocolgsi.hh.

Referenced by XrdSecProtocolkrb4Init(), XrdSecProtocolkrb5Init(), and XrdSecProtocolsssInit().

#define XrdSecgsiVERSION   10200

Definition at line 38 of file XrdSecProtocolgsi.hh.

#define XrdSecNOIPCHK   0x0001

Definition at line 39 of file XrdSecProtocolgsi.hh.

Referenced by XrdSecProtocolkrb4::Authenticate(), XrdSecProtocolkrb5::Authenticate(), XrdSecProtocolgsiObject(), XrdSecProtocolkrb4Init(), XrdSecProtocolkrb5Init(), and XrdSecProtocolpwdObject().

#define XrdSecPROTOIDENT   "gsi"

Definition at line 36 of file XrdSecProtocolgsi.hh.

Referenced by XrdSecProtocolkrb4::Authenticate(), XrdSecProtocolpwd::Authenticate(), XrdSecProtocolgsi::Authenticate(), XrdSecProtocolkrb5::Authenticate(), XrdSecProtocolsss::Decode(), XrdSecProtocolsss::getCredentials(), XrdSecProtocolgsi::getCredentials(), XrdSecProtocolpwd::getCredentials(), XrdSecProtocolkrb4::getCredentials(), XrdSecProtocolkrb5::getCredentials(), XrdSecProtocolgsi::XrdSecProtocolgsi(), and XrdSecProtocolpwd::XrdSecProtocolpwd().

#define XrdSecPROTOIDLEN   sizeof(XrdSecPROTOIDENT)

Definition at line 37 of file XrdSecProtocolgsi.hh.

Referenced by XrdSecProtocolkrb4::Authenticate(), XrdSecProtocolpwd::Authenticate(), XrdSecProtocolgsi::Authenticate(), XrdSecProtocolkrb5::Authenticate(), XrdSecProtocolkrb5::exp_krbTkn(), XrdSecProtocolkrb4::getCredentials(), XrdSecProtocolkrb5::getCredentials(), XrdSecProtocolgsi::XrdSecProtocolgsi(), and XrdSecProtocolpwd::XrdSecProtocolpwd().


Typedef Documentation

typedef XrdOucString String

Definition at line 33 of file XrdSecProtocolgsi.hh.

typedef XrdCryptosslgsiX509Chain X509Chain

Definition at line 34 of file XrdSecProtocolgsi.hh.

typedef char*(*) XrdSecgsiAuthz_t(const char *, int)

Definition at line 122 of file XrdSecProtocolgsi.hh.

typedef char*(*) XrdSecgsiGMAP_t(const char *, int)

Definition at line 121 of file XrdSecProtocolgsi.hh.


Enumeration Type Documentation

enum kgsiClientSteps

Definition at line 54 of file XrdSecProtocolgsi.hh.

enum kgsiErrors

Definition at line 82 of file XrdSecProtocolgsi.hh.

enum kgsiHandshakeOpts

Definition at line 72 of file XrdSecProtocolgsi.hh.

enum kgsiServerSteps

Definition at line 63 of file XrdSecProtocolgsi.hh.

enum kgsiStatus

Definition at line 47 of file XrdSecProtocolgsi.hh.


Generated on Tue Jul 5 16:08:11 2011 for ROOT_528-00b_version by  doxygen 1.5.1