XrdCryptoAux.hh File Reference

#include <stdio.h>
#include "XrdSys/XrdSysHeaders.hh"
#include <XProtocol/XProtocol.hh>

Go to the source code of this file.

Defines

#define ABSTRACTMETHOD(x)   {cerr <<"Method "<<x<<" must be overridden!" <<endl;}
#define cryptoTRACE_ALL   0x0007
#define cryptoTRACE_Dump   0x0004
#define cryptoTRACE_Debug   0x0002
#define cryptoTRACE_Notify   0x0001
#define XrdCryptoMinRSABits   512
#define XrdCryptoDefRSABits   1024
#define XrdCryptoDefRSAExp   0x10001

Typedefs

typedef int(*) XrdCryptoKDFunLen_t ()
typedef int(*) XrdCryptoKDFun_t (const char *pass, int plen, const char *salt, int slen, char *key, int klen)

Functions

int XrdCryptoKDFunLen ()
int XrdCryptoKDFun (const char *pass, int plen, const char *salt, int slen, char *key, int klen)
void XrdCryptoSetTrace (kXR_int32 trace)


Define Documentation

#define ABSTRACTMETHOD ( x   )     {cerr <<"Method "<<x<<" must be overridden!" <<endl;}

Definition at line 14 of file XrdCryptoAux.hh.

Referenced by XrdCryptoCipher::AsBucket(), XrdCryptoX509::BitStrength(), XrdCryptoFactory::Cipher(), XrdCryptoCipher::DecOutLength(), XrdCryptoCipher::Decrypt(), XrdCryptoRSA::DecryptPrivate(), XrdCryptoRSA::DecryptPublic(), XrdCryptoX509Crl::Dump(), XrdCryptoRSA::Dump(), XrdCryptoCipher::EncOutLength(), XrdCryptoCipher::Encrypt(), XrdCryptoRSA::EncryptPrivate(), XrdCryptoRSA::EncryptPublic(), XrdCryptoX509Req::Export(), XrdCryptoX509::Export(), XrdCryptoRSA::ExportPrivate(), XrdCryptoRSA::ExportPublic(), XrdCryptoMsgDigest::Final(), XrdCryptoCipher::Finalize(), XrdCryptoX509::GetExtension(), XrdCryptoX509Req::GetExtension(), XrdCryptoRSA::GetOutlen(), XrdCryptoRSA::GetPrilen(), XrdCryptoRSA::GetPublen(), XrdCryptoRSA::ImportPrivate(), XrdCryptoRSA::ImportPublic(), XrdCryptoCipher::IsDefaultLength(), XrdCryptoX509Crl::IsRevoked(), XrdCryptoX509Crl::Issuer(), XrdCryptoX509::Issuer(), XrdCryptoX509::IssuerHash(), XrdCryptoX509Crl::IssuerHash(), XrdCryptoX509Crl::IsValid(), XrdCryptoX509Req::IsValid(), XrdCryptoCipher::IsValid(), XrdCryptoMsgDigest::IsValid(), XrdCryptoCipher::IV(), XrdCryptoFactory::KDFun(), XrdCryptoFactory::KDFunLen(), XrdCryptoX509Crl::LastUpdate(), XrdCryptolocalFactory::MsgDigest(), XrdCryptoFactory::MsgDigest(), XrdCryptoX509Crl::NextUpdate(), XrdCryptoX509::NotAfter(), XrdCryptoX509::NotBefore(), XrdCryptoX509Crl::Opaque(), XrdCryptoX509::Opaque(), XrdCryptoX509Req::Opaque(), XrdCryptoRSA::Opaque(), XrdCryptoX509Crl::ParentFile(), XrdCryptoX509::ParentFile(), XrdCryptoX509::PKI(), XrdCryptoX509Req::PKI(), XrdCryptoCipher::Public(), XrdCryptoCipher::RefreshIV(), XrdCryptoMsgDigest::Reset(), XrdCryptoFactory::RSA(), XrdCryptolocalFactory::RSA(), XrdCryptoX509::SerialNumber(), XrdCryptoX509::SerialNumberString(), XrdCryptoCipher::SetIV(), 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::X509ChainToFile(), XrdCryptoFactory::X509Crl(), XrdCryptoFactory::X509ExportChain(), XrdCryptoFactory::X509ParseBucket(), XrdCryptoFactory::X509ParseFile(), XrdCryptoFactory::X509Req(), XrdCryptoFactory::X509VerifyCert(), and XrdCryptoFactory::X509VerifyChain().

#define cryptoTRACE_ALL   0x0007

Definition at line 19 of file XrdCryptoAux.hh.

Referenced by XrdCryptolocalFactory::SetTrace(), and XrdCryptoSetTrace().

#define cryptoTRACE_Debug   0x0002

Definition at line 21 of file XrdCryptoAux.hh.

Referenced by XrdSecProtocolgsi::Init(), XrdSecProtocolpwd::Init(), main(), XrdCryptolocalFactory::SetTrace(), and XrdCryptoSetTrace().

#define cryptoTRACE_Dump   0x0004

Definition at line 20 of file XrdCryptoAux.hh.

Referenced by XrdSecProtocolgsi::Init(), XrdSecProtocolpwd::Init(), XrdCryptolocalFactory::SetTrace(), and XrdCryptoSetTrace().

#define cryptoTRACE_Notify   0x0001

Definition at line 22 of file XrdCryptoAux.hh.

Referenced by XrdCryptolocalFactory::SetTrace(), and XrdCryptoSetTrace().

#define XrdCryptoDefRSABits   1024

Definition at line 26 of file XrdCryptoAux.hh.

#define XrdCryptoDefRSAExp   0x10001

Definition at line 27 of file XrdCryptoAux.hh.

Referenced by XrdCryptosslRSA::XrdCryptosslRSA().

#define XrdCryptoMinRSABits   512

Definition at line 25 of file XrdCryptoAux.hh.

Referenced by XrdCryptosslRSA::XrdCryptosslRSA().


Typedef Documentation

typedef int(*) XrdCryptoKDFun_t(const char *pass, int plen, const char *salt, int slen, char *key, int klen)

Definition at line 33 of file XrdCryptoAux.hh.

typedef int(*) XrdCryptoKDFunLen_t()

Definition at line 32 of file XrdCryptoAux.hh.


Function Documentation

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 30 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().


Generated on Tue Jul 5 16:08:05 2011 for ROOT_528-00b_version by  doxygen 1.5.1