#include <XrdCryptoFactory.hh>
Inheritance diagram for XrdCryptoFactory:

Public Member Functions | |
| XrdCryptoFactory (const char *n="Unknown", int id=-1) | |
| virtual | ~XrdCryptoFactory () |
| virtual void | SetTrace (kXR_int32 trace) |
| char * | Name () const |
| int | ID () const |
| virtual XrdCryptoKDFunLen_t | KDFunLen () |
| virtual XrdCryptoKDFun_t | KDFun () |
| virtual bool | SupportedCipher (const char *t) |
| virtual XrdCryptoCipher * | Cipher (const char *t, int l=0) |
| virtual XrdCryptoCipher * | Cipher (const char *t, int l, const char *k, int liv, const char *iv) |
| virtual XrdCryptoCipher * | Cipher (XrdSutBucket *b) |
| virtual XrdCryptoCipher * | Cipher (int bits, char *pub, int lpub, const char *t=0) |
| virtual XrdCryptoCipher * | Cipher (const XrdCryptoCipher &c) |
| virtual bool | SupportedMsgDigest (const char *dgst) |
| virtual XrdCryptoMsgDigest * | MsgDigest (const char *dgst) |
| virtual XrdCryptoRSA * | RSA (int b=0, int e=0) |
| virtual XrdCryptoRSA * | RSA (const char *p, int l=0) |
| virtual XrdCryptoRSA * | RSA (const XrdCryptoRSA &r) |
| virtual XrdCryptoX509 * | X509 (const char *cf, const char *kf=0) |
| virtual XrdCryptoX509 * | X509 (XrdSutBucket *b) |
| virtual XrdCryptoX509Crl * | X509Crl (const char *crlfile, int opt=0) |
| virtual XrdCryptoX509Crl * | X509Crl (XrdCryptoX509 *cacert) |
| virtual XrdCryptoX509Req * | X509Req (XrdSutBucket *bck) |
| virtual XrdCryptoX509VerifyCert_t | X509VerifyCert () |
| virtual XrdCryptoX509VerifyChain_t | X509VerifyChain () |
| virtual XrdCryptoX509ParseFile_t | X509ParseFile () |
| virtual XrdCryptoX509ParseBucket_t | X509ParseBucket () |
| virtual XrdCryptoX509ExportChain_t | X509ExportChain () |
| virtual XrdCryptoX509ChainToFile_t | X509ChainToFile () |
| bool | operator== (const XrdCryptoFactory factory) |
Static Public Member Functions | |
| static XrdCryptoFactory * | GetCryptoFactory (const char *factoryname) |
Private Attributes | |
| char | name [MAXFACTORYNAMELEN] |
| int | fID |
Definition at line 69 of file XrdCryptoFactory.hh.
| XrdCryptoFactory::XrdCryptoFactory | ( | const char * | n = "Unknown", |
|
| int | id = -1 | |||
| ) |
| virtual XrdCryptoFactory::~XrdCryptoFactory | ( | ) | [inline, virtual] |
Definition at line 76 of file XrdCryptoFactory.hh.
| void XrdCryptoFactory::SetTrace | ( | kXR_int32 | trace | ) | [virtual] |
Definition at line 51 of file XrdCryptoFactory.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolpwd::Init(), XrdSecProtocolgsi::Init(), main(), and XrdSecProtocolgsi::ParseCrypto().
| char* XrdCryptoFactory::Name | ( | ) | const [inline] |
Definition at line 82 of file XrdCryptoFactory.hh.
References name.
Referenced by XrdSecProtocolgsi::Init(), XrdSecProtocolpwd::Init(), operator==(), and XrdSecProtocolgsi::ServerDoCertreq().
| int XrdCryptoFactory::ID | ( | ) | const [inline] |
Definition at line 83 of file XrdCryptoFactory.hh.
References fID.
Referenced by XrdSecProtocolpwd::ExportCreds(), ExpPuk(), XrdSecProtocolgsi::GetCA(), XrdSecProtocolgsi::Init(), XrdSecProtocolpwd::Init(), main(), XrdSecProtocolpwd::ParseClientInput(), XrdSecProtocolpwd::ParseCrypto(), XrdSecProtocolgsi::ParseCrypto(), XrdSecProtocolpwd::QueryCreds(), XrdSecProtocolpwd::QueryUser(), XrdSecProtocolpwd::SaveCreds(), SavePasswd(), SavePuk(), and XrdSecProtocolpwd::UpdateAlog().
| XrdCryptoFactory * XrdCryptoFactory::GetCryptoFactory | ( | const char * | factoryname | ) | [static] |
Definition at line 307 of file XrdCryptoFactory.cc.
References DEBUG, dlerror(), dlopen(), dlsym(), EPNAME, FactoryEntry::factory, i, localCryptoFactory, LT_MODULE_EXT, RTLD_NOW, snprintf, sprintf(), FactoryEntry::status, and strcpy().
Referenced by GeneratePuk(), XrdSecProtocolpwd::Init(), XrdSecProtocolgsi::Init(), main(), XrdSecProtocolpwd::ParseCrypto(), ParseCrypto(), and XrdSecProtocolgsi::ParseCrypto().
| XrdCryptoKDFunLen_t XrdCryptoFactory::KDFunLen | ( | ) | [virtual] |
Definition at line 69 of file XrdCryptoFactory.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolpwd::DoubleHash(), and main().
| XrdCryptoKDFun_t XrdCryptoFactory::KDFun | ( | ) | [virtual] |
Definition at line 78 of file XrdCryptoFactory.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolpwd::DoubleHash(), and main().
| bool XrdCryptoFactory::SupportedCipher | ( | const char * | t | ) | [virtual] |
Definition at line 87 of file XrdCryptoFactory.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::ClientDoCert().
| XrdCryptoCipher * XrdCryptoFactory::Cipher | ( | const char * | t, | |
| int | l = 0 | |||
| ) | [virtual] |
Definition at line 96 of file XrdCryptoFactory.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::ClientDoCert(), GeneratePuk(), XrdSecProtocolpwd::Init(), XrdSecProtocolgsi::Init(), main(), XrdSecProtocolpwd::ParseClientInput(), XrdSecProtocolpwd::ParseServerInput(), ReadPuk(), XrdSecProtocolgsi::ServerDoCert(), and XrdSecProtocolgsi::setKey().
| XrdCryptoCipher * XrdCryptoFactory::Cipher | ( | const char * | t, | |
| int | l, | |||
| const char * | k, | |||
| int | liv, | |||
| const char * | iv | |||
| ) | [virtual] |
| XrdCryptoCipher * XrdCryptoFactory::Cipher | ( | XrdSutBucket * | b | ) | [virtual] |
| XrdCryptoCipher * XrdCryptoFactory::Cipher | ( | int | bits, | |
| char * | pub, | |||
| int | lpub, | |||
| const char * | t = 0 | |||
| ) | [virtual] |
| XrdCryptoCipher * XrdCryptoFactory::Cipher | ( | const XrdCryptoCipher & | c | ) | [virtual] |
| bool XrdCryptoFactory::SupportedMsgDigest | ( | const char * | dgst | ) | [virtual] |
Definition at line 142 of file XrdCryptoFactory.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::ClientDoCert().
| XrdCryptoMsgDigest * XrdCryptoFactory::MsgDigest | ( | const char * | dgst | ) | [virtual] |
Definition at line 151 of file XrdCryptoFactory.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::ClientDoCert(), main(), and XrdSecProtocolgsi::ServerDoCert().
| XrdCryptoRSA * XrdCryptoFactory::RSA | ( | int | b = 0, |
|
| int | e = 0 | |||
| ) | [virtual] |
Definition at line 160 of file XrdCryptoFactory.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::ClientDoCert(), XrdSecProtocolgsi::ClientDoInit(), main(), XrdSecProtocolgsi::ServerDoCert(), and XrdSecProtocolgsi::ServerDoCertreq().
| XrdCryptoRSA * XrdCryptoFactory::RSA | ( | const char * | p, | |
| int | l = 0 | |||
| ) | [virtual] |
| XrdCryptoRSA * XrdCryptoFactory::RSA | ( | const XrdCryptoRSA & | r | ) | [virtual] |
| XrdCryptoX509 * XrdCryptoFactory::X509 | ( | const char * | cf, | |
| const char * | kf = 0 | |||
| ) | [virtual] |
Definition at line 188 of file XrdCryptoFactory.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::LoadCRL(), main(), and XrdSecProtocolgsi::ServerDoSigpxy().
| XrdCryptoX509 * XrdCryptoFactory::X509 | ( | XrdSutBucket * | b | ) | [virtual] |
| XrdCryptoX509Crl * XrdCryptoFactory::X509Crl | ( | const char * | crlfile, | |
| int | opt = 0 | |||
| ) | [virtual] |
Definition at line 206 of file XrdCryptoFactory.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::LoadCRL(), and main().
| XrdCryptoX509Crl * XrdCryptoFactory::X509Crl | ( | XrdCryptoX509 * | cacert | ) | [virtual] |
| XrdCryptoX509Req * XrdCryptoFactory::X509Req | ( | XrdSutBucket * | bck | ) | [virtual] |
Definition at line 224 of file XrdCryptoFactory.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::ClientDoPxyreq().
| XrdCryptoX509VerifyCert_t XrdCryptoFactory::X509VerifyCert | ( | ) | [virtual] |
Definition at line 233 of file XrdCryptoFactory.cc.
References ABSTRACTMETHOD.
Referenced by main().
| XrdCryptoX509VerifyChain_t XrdCryptoFactory::X509VerifyChain | ( | ) | [virtual] |
| XrdCryptoX509ParseFile_t XrdCryptoFactory::X509ParseFile | ( | ) | [virtual] |
Definition at line 273 of file XrdCryptoFactory.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::GetCA(), XrdSecProtocolgsi::LoadCADir(), main(), XrdSecProtocolgsi::QueryProxy(), and XrdSecProtocolgsi::VerifyCA().
| XrdCryptoX509ParseBucket_t XrdCryptoFactory::X509ParseBucket | ( | ) | [virtual] |
Definition at line 283 of file XrdCryptoFactory.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::ClientDoCert(), main(), XrdSecProtocolgsi::QueryProxy(), and XrdSecProtocolgsi::ServerDoCert().
| XrdCryptoX509ExportChain_t XrdCryptoFactory::X509ExportChain | ( | ) | [virtual] |
Definition at line 253 of file XrdCryptoFactory.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::getCredentials(), main(), and XrdSecProtocolgsi::QueryProxy().
| XrdCryptoX509ChainToFile_t XrdCryptoFactory::X509ChainToFile | ( | ) | [virtual] |
Definition at line 263 of file XrdCryptoFactory.cc.
References ABSTRACTMETHOD.
Referenced by main(), and XrdSecProtocolgsi::ServerDoSigpxy().
| bool XrdCryptoFactory::operator== | ( | const XrdCryptoFactory | factory | ) |
char XrdCryptoFactory::name[MAXFACTORYNAMELEN] [private] |
int XrdCryptoFactory::fID [private] |
1.5.1