#include <XrdSutRndm.hh>
Public Member Functions | |
XrdSutRndm () | |
virtual | ~XrdSutRndm () |
Static Public Member Functions | |
static bool | Init (bool force=0) |
static char * | GetBuffer (int len, int opt=-1) |
static int | GetString (int opt, int len, XrdOucString &s) |
static int | GetString (const char *copt, int len, XrdOucString &s) |
static unsigned int | GetUInt () |
static int | GetRndmTag (XrdOucString &rtag) |
Static Public Attributes | |
static bool | fgInit |
Definition at line 26 of file XrdSutRndm.hh.
XrdSutRndm::XrdSutRndm | ( | ) | [inline] |
virtual XrdSutRndm::~XrdSutRndm | ( | ) | [inline, virtual] |
Definition at line 32 of file XrdSutRndm.hh.
bool XrdSutRndm::Init | ( | bool | force = 0 |
) | [static] |
Definition at line 44 of file XrdSutRndm.cc.
References close, DEBUG, EPNAME, fgInit, open, read, and seed.
Referenced by GetBuffer(), GetString(), GetUInt(), main(), and XrdSutRndm().
char * XrdSutRndm::GetBuffer | ( | int | len, | |
int | opt = -1 | |||
) | [static] |
Definition at line 161 of file XrdSutRndm.cc.
References buf, DEBUG, EPNAME, fgInit, i, Init(), j, k, keep, l, m, and XrdSutCharMsk.
Referenced by XrdCryptosslCipher::GenerateIV(), XrdSecProtocolpwd::SaveCreds(), XrdCryptolocalCipher::XrdCryptolocalCipher(), XrdCryptosslCipher::XrdCryptosslCipher(), and XrdCryptosslFactory::XrdCryptosslFactory().
int XrdSutRndm::GetString | ( | int | opt, | |
int | len, | |||
XrdOucString & | s | |||
) | [static] |
Definition at line 102 of file XrdSutRndm.cc.
References buf, DEBUG, EPNAME, fgInit, i, Init(), j, k, l, m, str, and XrdSutCharMsk.
Referenced by AddPassword(), GetRndmTag(), GetString(), and main().
int XrdSutRndm::GetString | ( | const char * | copt, | |
int | len, | |||
XrdOucString & | s | |||
) | [static] |
unsigned int XrdSutRndm::GetUInt | ( | ) | [static] |
Definition at line 229 of file XrdSutRndm.cc.
References fgInit, and Init().
Referenced by XrdSslgsiX509CreateProxy(), and XrdSslgsiX509CreateProxyReq().
int XrdSutRndm::GetRndmTag | ( | XrdOucString & | rtag | ) | [static] |
Definition at line 217 of file XrdSutRndm.cc.
References GetString().
Referenced by XrdSecProtocolgsi::AddSerialized(), and XrdSecProtocolpwd::AddSerialized().
bool XrdSutRndm::fgInit [static] |
Definition at line 29 of file XrdSutRndm.hh.
Referenced by GetBuffer(), GetString(), GetUInt(), Init(), and XrdSutRndm().