XRootD
gsiHSVars Class Reference

#include <XrdSecProtocolgsi.hh>

+ Collaboration diagram for gsiHSVars:

Public Member Functions

 gsiHSVars ()
 
 ~gsiHSVars ()
 
void Dump (XrdSecProtocolgsi *p=0)
 

Public Attributes

XrdSutBucketCbck
 
X509ChainChain
 
XrdSutPFEntryCref
 
XrdCryptoX509CrlCrl
 
String CryptoMod
 
int HashAlg
 
bool HasPad
 
String ID
 
int Iter
 
int LastStep
 
int Options
 
XrdSutBufferParms
 
XrdSutPFEntryPent
 
X509ChainPxyChain
 
XrdCryptoCipherRcip
 
int RemVers
 
bool RtagOK
 
time_t TimeStamp
 
bool Tty
 

Detailed Description

Definition at line 504 of file XrdSecProtocolgsi.hh.

Constructor & Destructor Documentation

◆ gsiHSVars()

gsiHSVars::gsiHSVars ( )
inline

Definition at line 526 of file XrdSecProtocolgsi.hh.

526  { Iter = 0; TimeStamp = -1; CryptoMod = "";
527  RemVers = -1; Rcip = 0; HasPad = 0;
528  Cbck = 0;
529  ID = ""; Cref = 0; Pent = 0; Chain = 0; Crl = 0; PxyChain = 0;
530  RtagOK = 0; Tty = 0; LastStep = 0; Options = 0; HashAlg = 0; Parms = 0;}
XrdSutPFEntry * Cref
X509Chain * PxyChain
XrdCryptoX509Crl * Crl
XrdSutBuffer * Parms
XrdSutBucket * Cbck
X509Chain * Chain
XrdSutPFEntry * Pent
XrdCryptoCipher * Rcip

References Cbck, Chain, Cref, Crl, CryptoMod, HashAlg, HasPad, ID, Iter, LastStep, Options, Parms, Pent, PxyChain, Rcip, RemVers, RtagOK, TimeStamp, and Tty.

◆ ~gsiHSVars()

gsiHSVars::~gsiHSVars ( )
inline

Definition at line 532 of file XrdSecProtocolgsi.hh.

532  { SafeDelete(Cref);
533  if (Options & kOptsDelChn) {
534  // Do not delete the CA certificate in the cached reference
535  if (Chain) Chain->Cleanup(1);
536  SafeDelete(Chain);
537  }
538  // Make sure XrdSecProtocolgsi::stackCRL exists, it could happen
539  // that it has been deallocated due to static deinitialization
540  // order fiasco
541  if (Crl && bool( XrdSecProtocolgsi::stackCRL ) ) {
542  // This decreases the counter and actually deletes the object only
543  // when no instance is using it
544  XrdSecProtocolgsi::stackCRL->Del(Crl);
545  Crl = 0;
546  }
547  if (Options & kOptsDelPxy) {
548  if (PxyChain) PxyChain->Cleanup();
550  } else {
551  // The proxy chain is owned by the proxy cache; invalid proxies
552  // are detected (and eventually removed) by QueryProxy
553  PxyChain = 0;
554  }
555  SafeDelete(Parms); }
@ kOptsDelChn
@ kOptsDelPxy
#define SafeDelete(x)
void Cleanup(bool keepCA=0)

References Chain, XrdCryptoX509Chain::Cleanup(), Cref, Crl, kOptsDelChn, kOptsDelPxy, Options, Parms, PxyChain, and SafeDelete.

+ Here is the call graph for this function:

Member Function Documentation

◆ Dump()

void gsiHSVars::Dump ( XrdSecProtocolgsi p = 0)

Definition at line 260 of file XrdSecProtocolgsi.cc.

261 {
262  // Dump content
263  EPNAME("HSVars::Dump");
264 
265  PRINT("----------------------------------------------------------------");
266  PRINT("protocol instance: "<<p);
267  PRINT("this: "<<this);
268  PRINT(" ");
269  PRINT("Time stamp: "<<TimeStamp);
270  PRINT("Crypto mod: "<<CryptoMod);
271  PRINT("Remote version: "<<RemVers);
272  PRINT("Ref cipher: "<<Rcip);
273  PRINT("Cipher padding: "<<HasPad);
274  PRINT("Bucket for exp cert: "<<Cbck);
275  PRINT("Handshake ID: "<<ID);
276  PRINT("Cache reference: "<<Cref);
277  PRINT("Relevant file entry: "<<Pent);
278  PRINT("Chain pointer: "<<Chain);
279  PRINT("CRL pointer: "<<Crl);
280  PRINT("Proxy chain: "<<PxyChain);
281  PRINT("Rndm tag checked: "<<RtagOK);
282  PRINT("Last step: "<<LastStep);
283  PRINT("Options: "<<Options);
284  PRINT("----------------------------------------------------------------");
285 }
#define EPNAME(x)
Definition: XrdBwmTrace.hh:56
#define PRINT(y)

References Cbck, Chain, Cref, Crl, CryptoMod, EPNAME, HasPad, ID, LastStep, Options, Pent, PRINT, PxyChain, Rcip, RemVers, RtagOK, and TimeStamp.

Member Data Documentation

◆ Cbck

◆ Chain

X509Chain* gsiHSVars::Chain

Definition at line 516 of file XrdSecProtocolgsi.hh.

Referenced by gsiHSVars(), ~gsiHSVars(), XrdSecProtocolgsi::Authenticate(), and Dump().

◆ Cref

XrdSutPFEntry* gsiHSVars::Cref

Definition at line 514 of file XrdSecProtocolgsi.hh.

Referenced by gsiHSVars(), ~gsiHSVars(), and Dump().

◆ Crl

XrdCryptoX509Crl* gsiHSVars::Crl

Definition at line 517 of file XrdSecProtocolgsi.hh.

Referenced by gsiHSVars(), ~gsiHSVars(), and Dump().

◆ CryptoMod

String gsiHSVars::CryptoMod

Definition at line 508 of file XrdSecProtocolgsi.hh.

Referenced by gsiHSVars(), Dump(), and XrdSecProtocolgsi::getCredentials().

◆ HashAlg

int gsiHSVars::HashAlg

Definition at line 523 of file XrdSecProtocolgsi.hh.

Referenced by gsiHSVars().

◆ HasPad

bool gsiHSVars::HasPad

Definition at line 511 of file XrdSecProtocolgsi.hh.

Referenced by gsiHSVars(), Dump(), and XrdSecProtocolgsi::getCredentials().

◆ ID

◆ Iter

int gsiHSVars::Iter

Definition at line 506 of file XrdSecProtocolgsi.hh.

Referenced by gsiHSVars(), and XrdSecProtocolgsi::getCredentials().

◆ LastStep

int gsiHSVars::LastStep

Definition at line 521 of file XrdSecProtocolgsi.hh.

Referenced by gsiHSVars(), and Dump().

◆ Options

int gsiHSVars::Options

◆ Parms

◆ Pent

XrdSutPFEntry* gsiHSVars::Pent

Definition at line 515 of file XrdSecProtocolgsi.hh.

Referenced by gsiHSVars(), and Dump().

◆ PxyChain

◆ Rcip

XrdCryptoCipher* gsiHSVars::Rcip

Definition at line 510 of file XrdSecProtocolgsi.hh.

Referenced by gsiHSVars(), XrdSecProtocolgsi::Authenticate(), and Dump().

◆ RemVers

int gsiHSVars::RemVers

◆ RtagOK

bool gsiHSVars::RtagOK

Definition at line 519 of file XrdSecProtocolgsi.hh.

Referenced by gsiHSVars(), and Dump().

◆ TimeStamp

◆ Tty

bool gsiHSVars::Tty

Definition at line 520 of file XrdSecProtocolgsi.hh.

Referenced by gsiHSVars(), and XrdSecProtocolgsi::XrdSecProtocolgsi().


The documentation for this class was generated from the following files: