![]() |
XRootD
|
#include <cstdio>
#include <ctime>
#include "XrdSys/XrdSysHeaders.hh"
#include "XProtocol/XProtocol.hh"
Go to the source code of this file.
Macros | |
#define | ABSTRACTMETHOD(x) {std::cerr <<"Method "<<x<<" must be overridden!" <<std::endl;} |
#define | cryptoTRACE_ALL 0x0007 |
#define | cryptoTRACE_Debug 0x0002 |
#define | cryptoTRACE_Dump 0x0004 |
#define | cryptoTRACE_Notify 0x0001 |
#define | XrdCryptoDefRSABits 2048 |
#define | XrdCryptoDefRSAExp 0x10001 |
#define | XrdCryptoMinRSABits 2048 |
Typedefs | |
typedef int(* | XrdCryptoKDFun_t) (const char *pass, int plen, const char *salt, int slen, char *key, int klen) |
typedef int(* | XrdCryptoKDFunLen_t) () |
Functions | |
int | XrdCryptoKDFun (const char *pass, int plen, const char *salt, int slen, char *key, int klen) |
int | XrdCryptoKDFunLen () |
void | XrdCryptoSetTrace (kXR_int32 trace) |
time_t | XrdCryptoTZCorr () |
Variables | |
const time_t | XrdCryptoDSTShift = 3600 |
#define ABSTRACTMETHOD | ( | x | ) | {std::cerr <<"Method "<<x<<" must be overridden!" <<std::endl;} |
Definition at line 41 of file XrdCryptoAux.hh.
Referenced by XrdCryptoCipher::AsBucket(), XrdCryptoX509::BitStrength(), XrdCryptoFactory::Cipher(), XrdCryptoFactory::Cipher(), XrdCryptoFactory::Cipher(), XrdCryptoFactory::Cipher(), XrdCryptoFactory::Cipher(), XrdCryptoFactory::Cipher(), XrdCryptoCipher::DecOutLength(), XrdCryptoCipher::Decrypt(), XrdCryptoRSA::DecryptPrivate(), XrdCryptoRSA::DecryptPublic(), XrdCryptoRSA::Dump(), XrdCryptoX509Crl::Dump(), XrdCryptoX509::DumpExtensions(), XrdCryptoCipher::EncOutLength(), XrdCryptoCipher::Encrypt(), XrdCryptoRSA::EncryptPrivate(), XrdCryptoRSA::EncryptPublic(), XrdCryptoX509::Export(), XrdCryptoX509Req::Export(), XrdCryptoRSA::ExportPrivate(), XrdCryptoRSA::ExportPublic(), XrdCryptoMsgDigest::Final(), XrdCryptoCipher::Finalize(), XrdCryptoX509::GetExtension(), XrdCryptoX509Req::GetExtension(), XrdCryptoRSA::GetOutlen(), XrdCryptoRSA::GetPrilen(), XrdCryptoRSA::GetPublen(), XrdCryptoFactory::HasPaddingSupport(), XrdCryptoRSA::ImportPrivate(), XrdCryptoRSA::ImportPublic(), XrdCryptoCipher::IsDefaultLength(), XrdCryptoX509Crl::IsRevoked(), XrdCryptoX509Crl::IsRevoked(), XrdCryptoX509::Issuer(), XrdCryptoX509Crl::Issuer(), XrdCryptoX509::IssuerHash(), XrdCryptoX509Crl::IssuerHash(), XrdCryptoCipher::IsValid(), XrdCryptoMsgDigest::IsValid(), XrdCryptoX509Crl::IsValid(), XrdCryptoX509Req::IsValid(), XrdCryptoCipher::IV(), XrdCryptoFactory::KDFun(), XrdCryptoFactory::KDFunLen(), XrdCryptoX509Crl::LastUpdate(), XrdCryptoCipher::MaxIVLength(), XrdCryptoFactory::MsgDigest(), XrdCryptoX509Crl::NextUpdate(), XrdCryptoX509::NotAfter(), XrdCryptoX509::NotBefore(), XrdCryptoRSA::Opaque(), XrdCryptoX509::Opaque(), XrdCryptoX509Crl::Opaque(), XrdCryptoX509Req::Opaque(), XrdCryptoX509::ParentFile(), XrdCryptoX509Crl::ParentFile(), XrdCryptoX509::PKI(), XrdCryptoX509Req::PKI(), XrdCryptoFactory::ProxyCertInfo(), XrdCryptoCipher::Public(), XrdCryptoCipher::RefreshIV(), XrdCryptoMsgDigest::Reset(), XrdCryptoFactory::RSA(), XrdCryptoFactory::RSA(), XrdCryptoFactory::RSA(), XrdCryptoX509::SerialNumber(), XrdCryptoX509::SerialNumberString(), XrdCryptoCipher::SetIV(), XrdCryptoFactory::SetPathLenConstraint(), XrdCryptoX509::SetPKI(), XrdCryptoFactory::SetTrace(), XrdCryptoX509::Subject(), XrdCryptoX509Req::Subject(), XrdCryptoX509::SubjectHash(), XrdCryptoX509Req::SubjectHash(), XrdCryptoFactory::SupportedCipher(), XrdCryptoFactory::SupportedMsgDigest(), XrdCryptoMsgDigest::Update(), XrdCryptoX509Req::Verify(), XrdCryptoX509::Verify(), XrdCryptoX509Crl::Verify(), XrdCryptoFactory::X509(), XrdCryptoFactory::X509(), XrdCryptoFactory::X509ChainToFile(), XrdCryptoFactory::X509CheckProxy3(), XrdCryptoFactory::X509CreateProxy(), XrdCryptoFactory::X509CreateProxyReq(), XrdCryptoFactory::X509Crl(), XrdCryptoFactory::X509Crl(), XrdCryptoFactory::X509ExportChain(), XrdCryptoFactory::X509GetVOMSAttr(), XrdCryptoFactory::X509ParseBucket(), XrdCryptoFactory::X509ParseFile(), XrdCryptoFactory::X509ParseStack(), XrdCryptoFactory::X509Req(), XrdCryptoFactory::X509SignProxyReq(), XrdCryptoFactory::X509VerifyCert(), and XrdCryptoFactory::X509VerifyChain().
#define cryptoTRACE_ALL 0x0007 |
Definition at line 46 of file XrdCryptoAux.hh.
Referenced by XrdCryptoSetTrace().
#define cryptoTRACE_Debug 0x0002 |
Definition at line 48 of file XrdCryptoAux.hh.
Referenced by Display(), XrdSecProtocolgsi::Init(), XrdSecProtocolpwd::Init(), main(), and XrdCryptoSetTrace().
#define cryptoTRACE_Dump 0x0004 |
Definition at line 47 of file XrdCryptoAux.hh.
Referenced by XrdSecProtocolgsi::Init(), XrdSecProtocolpwd::Init(), and XrdCryptoSetTrace().
#define cryptoTRACE_Notify 0x0001 |
Definition at line 49 of file XrdCryptoAux.hh.
Referenced by XrdSecProtocolgsi::Init(), XrdSecProtocolpwd::Init(), and XrdCryptoSetTrace().
#define XrdCryptoDefRSABits 2048 |
Definition at line 53 of file XrdCryptoAux.hh.
Referenced by gsiOptions::gsiOptions(), and XrdCryptosslRSA::XrdCryptosslRSA().
#define XrdCryptoDefRSAExp 0x10001 |
Definition at line 54 of file XrdCryptoAux.hh.
Referenced by XrdCryptosslRSA::XrdCryptosslRSA().
#define XrdCryptoMinRSABits 2048 |
Definition at line 52 of file XrdCryptoAux.hh.
Referenced by XrdCryptosslRSA::XrdCryptosslRSA().
typedef int(* XrdCryptoKDFun_t) (const char *pass, int plen, const char *salt, int slen, char *key, int klen) |
Definition at line 60 of file XrdCryptoAux.hh.
typedef int(* XrdCryptoKDFunLen_t) () |
Definition at line 59 of file XrdCryptoAux.hh.
int XrdCryptoKDFun | ( | const char * | pass, |
int | plen, | ||
const char * | salt, | ||
int | slen, | ||
char * | key, | ||
int | klen ) |
int XrdCryptoKDFunLen | ( | ) |
void XrdCryptoSetTrace | ( | kXR_int32 | trace | ) |
Definition at line 49 of file XrdCryptoAux.cc.
References cryptoTrace, cryptoTRACE_ALL, cryptoTRACE_Debug, cryptoTRACE_Dump, cryptoTRACE_Notify, eDest, Logger, XrdSysError::logger(), and XrdOucTrace::What.
Referenced by XrdSecProtocolgsi::Init(), XrdSecProtocolpwd::Init(), and main().
time_t XrdCryptoTZCorr | ( | ) |
Definition at line 77 of file XrdCryptoAux.cc.
References TZCorr, and TZInitialized.
Referenced by Display(), and XrdCryptosslASN1toUTC().
const time_t XrdCryptoDSTShift = 3600 |
Definition at line 86 of file XrdCryptoAux.hh.