#include <XrdCryptoBasic.hh>
Inheritance diagram for XrdCryptoBasic:
Public Member Functions | |
XrdCryptoBasic (const char *t=0, int l=0, const char *b=0) | |
virtual | ~XrdCryptoBasic () |
virtual XrdSutBucket * | AsBucket () |
char * | AsHexString () |
virtual int | Length () const |
virtual char * | Buffer () const |
virtual char * | Type () const |
virtual int | FromHex (const char *hex) |
virtual int | SetLength (int l) |
virtual int | SetBuffer (int l, const char *b) |
virtual int | SetType (const char *t) |
virtual void | UseBuffer (int l, const char *b) |
Private Attributes | |
kXR_int32 | lenbuf |
char * | membuf |
char * | type |
Definition at line 30 of file XrdCryptoBasic.hh.
XrdCryptoBasic::XrdCryptoBasic | ( | const char * | t = 0 , |
|
int | l = 0 , |
|||
const char * | b = 0 | |||
) |
virtual XrdCryptoBasic::~XrdCryptoBasic | ( | ) | [inline, virtual] |
XrdSutBucket * XrdCryptoBasic::AsBucket | ( | ) | [virtual] |
char * XrdCryptoBasic::AsHexString | ( | ) |
Definition at line 90 of file XrdCryptoBasic.cc.
References Buffer(), Length(), out, XrdSutMAXBUF, and XrdSutToHex().
Referenced by XrdCryptosslMsgDigest::Final(), main(), XrdSecProtocolpwd::ParseClientInput(), print_chksum(), and print_summary().
virtual int XrdCryptoBasic::Length | ( | ) | const [inline, virtual] |
Definition at line 41 of file XrdCryptoBasic.hh.
References lenbuf.
Referenced by XrdCryptosslCipher::AsBucket(), XrdCryptolocalCipher::AsBucket(), AsBucket(), AsHexString(), XrdCryptolocalCipher::Decrypt(), XrdCryptosslCipher::EncDec(), XrdCryptolocalCipher::Encrypt(), XrdCryptosslCipher::Finalize(), XrdCryptolocalCipher::IsDefaultLength(), main(), XrdCryptoMsgDigest::operator==(), XrdSecProtocolgsi::Sign(), XrdSecProtocolgsi::Verify(), and XrdCryptosslCipher::XrdCryptosslCipher().
virtual char* XrdCryptoBasic::Buffer | ( | ) | const [inline, virtual] |
Definition at line 42 of file XrdCryptoBasic.hh.
References membuf.
Referenced by XrdCryptosslCipher::AsBucket(), XrdCryptolocalCipher::AsBucket(), AsBucket(), AsHexString(), XrdCryptolocalCipher::Decrypt(), XrdCryptosslCipher::EncDec(), XrdCryptolocalCipher::Encrypt(), main(), XrdCryptoMsgDigest::operator==(), XrdSecProtocolgsi::Sign(), XrdSecProtocolgsi::Verify(), and XrdCryptosslCipher::XrdCryptosslCipher().
virtual char* XrdCryptoBasic::Type | ( | ) | const [inline, virtual] |
Definition at line 43 of file XrdCryptoBasic.hh.
References type.
Referenced by XrdCryptosslCipher::AsBucket(), XrdCryptolocalCipher::AsBucket(), XrdCryptosslMsgDigest::Final(), XrdCryptosslMsgDigest::Init(), and XrdCryptosslMsgDigest::Update().
int XrdCryptoBasic::FromHex | ( | const char * | hex | ) | [virtual] |
int XrdCryptoBasic::SetLength | ( | int | l | ) | [virtual] |
int XrdCryptoBasic::SetBuffer | ( | int | l, | |
const char * | b | |||
) | [virtual] |
Definition at line 173 of file XrdCryptoBasic.cc.
References lenbuf, and membuf.
Referenced by XrdCryptosslMsgDigest::Final(), XrdCryptosslCipher::Finalize(), XrdCryptolocalCipher::Finalize(), XrdCryptolocalCipher::XrdCryptolocalCipher(), and XrdCryptosslCipher::XrdCryptosslCipher().
int XrdCryptoBasic::SetType | ( | const char * | t | ) | [virtual] |
Definition at line 206 of file XrdCryptoBasic.cc.
References strcpy(), and type.
Referenced by XrdCryptosslCipher::Finalize(), XrdCryptolocalCipher::Finalize(), XrdCryptosslMsgDigest::Init(), XrdCryptolocalCipher::XrdCryptolocalCipher(), XrdCryptosslCipher::XrdCryptosslCipher(), and XrdCryptosslMsgDigest::XrdCryptosslMsgDigest().
virtual void XrdCryptoBasic::UseBuffer | ( | int | l, | |
const char * | b | |||
) | [inline, virtual] |
Definition at line 50 of file XrdCryptoBasic.hh.
References lenbuf, and membuf.
Referenced by FromHex(), and XrdCryptosslCipher::XrdCryptosslCipher().
kXR_int32 XrdCryptoBasic::lenbuf [private] |
Definition at line 54 of file XrdCryptoBasic.hh.
Referenced by Length(), SetBuffer(), SetLength(), UseBuffer(), and XrdCryptoBasic().
char* XrdCryptoBasic::membuf [private] |
Definition at line 55 of file XrdCryptoBasic.hh.
Referenced by Buffer(), SetBuffer(), SetLength(), UseBuffer(), XrdCryptoBasic(), and ~XrdCryptoBasic().
char* XrdCryptoBasic::type [private] |
Definition at line 56 of file XrdCryptoBasic.hh.
Referenced by SetType(), Type(), XrdCryptoBasic(), and ~XrdCryptoBasic().