XRootD
Loading...
Searching...
No Matches
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 501 of file XrdSecProtocolgsi.hh.

Constructor & Destructor Documentation

◆ gsiHSVars()

gsiHSVars::gsiHSVars ( )
inline

Definition at line 523 of file XrdSecProtocolgsi.hh.

523 { Iter = 0; TimeStamp = -1; CryptoMod = "";
524 RemVers = -1; Rcip = 0; HasPad = 0;
525 Cbck = 0;
526 ID = ""; Cref = 0; Pent = 0; Chain = 0; Crl = 0; PxyChain = 0;
527 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 529 of file XrdSecProtocolgsi.hh.

529 { SafeDelete(Cref);
530 if (Options & kOptsDelChn) {
531 // Do not delete the CA certificate in the cached reference
532 if (Chain) Chain->Cleanup(1);
534 }
535 // Make sure XrdSecProtocolgsi::stackCRL exists, it could happen
536 // that it has been deallocated due to static deinitialization
537 // order fiasco
538 if (Crl && bool( XrdSecProtocolgsi::stackCRL ) ) {
539 // This decreases the counter and actually deletes the object only
540 // when no instance is using it
541 XrdSecProtocolgsi::stackCRL->Del(Crl);
542 Crl = 0;
543 }
544 if (Options & kOptsDelPxy) {
545 if (PxyChain) PxyChain->Cleanup();
547 } else {
548 // The proxy chain is owned by the proxy cache; invalid proxies
549 // are detected (and eventually removed) by QueryProxy
550 PxyChain = 0;
551 }
552 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)
#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 513 of file XrdSecProtocolgsi.hh.

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

◆ Cref

XrdSutPFEntry* gsiHSVars::Cref

Definition at line 511 of file XrdSecProtocolgsi.hh.

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

◆ Crl

XrdCryptoX509Crl* gsiHSVars::Crl

Definition at line 514 of file XrdSecProtocolgsi.hh.

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

◆ CryptoMod

String gsiHSVars::CryptoMod

Definition at line 505 of file XrdSecProtocolgsi.hh.

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

◆ HashAlg

int gsiHSVars::HashAlg

Definition at line 520 of file XrdSecProtocolgsi.hh.

Referenced by gsiHSVars().

◆ HasPad

bool gsiHSVars::HasPad

Definition at line 508 of file XrdSecProtocolgsi.hh.

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

◆ ID

◆ Iter

int gsiHSVars::Iter

Definition at line 503 of file XrdSecProtocolgsi.hh.

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

◆ LastStep

int gsiHSVars::LastStep

Definition at line 518 of file XrdSecProtocolgsi.hh.

Referenced by gsiHSVars(), and Dump().

◆ Options

int gsiHSVars::Options

◆ Parms

◆ Pent

XrdSutPFEntry* gsiHSVars::Pent

Definition at line 512 of file XrdSecProtocolgsi.hh.

Referenced by gsiHSVars(), and Dump().

◆ PxyChain

◆ Rcip

XrdCryptoCipher* gsiHSVars::Rcip

Definition at line 507 of file XrdSecProtocolgsi.hh.

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

◆ RemVers

int gsiHSVars::RemVers

◆ RtagOK

bool gsiHSVars::RtagOK

Definition at line 516 of file XrdSecProtocolgsi.hh.

Referenced by gsiHSVars(), and Dump().

◆ TimeStamp

◆ Tty

bool gsiHSVars::Tty

Definition at line 517 of file XrdSecProtocolgsi.hh.

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


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