xrootd
|
#include <XrdCryptoBasic.hh>
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 |
XrdCryptoBasic::XrdCryptoBasic | ( | const char * | t = 0 , |
int | l = 0 , |
||
const char * | b = 0 |
||
) |
XrdSutBucket * XrdCryptoBasic::AsBucket | ( | ) | [virtual] |
Reimplemented in XrdCryptoCipher, XrdCryptolocalCipher, and XrdCryptosslCipher.
char * XrdCryptoBasic::AsHexString | ( | ) |
References Buffer(), Length(), XrdSutMAXBUF, and XrdSutToHex().
Referenced by XrdCryptosslMsgDigest::Final(), main(), XrdSecProtocolpwd::ParseClientInput(), print_chksum(), and print_summary().
virtual char* XrdCryptoBasic::Buffer | ( | ) | const [inline, virtual] |
References membuf.
Referenced by XrdCryptosslCipher::AsBucket(), XrdCryptolocalCipher::AsBucket(), AsBucket(), AsHexString(), XrdCryptolocalCipher::Decrypt(), XrdCryptosslCipher::EncDec(), XrdCryptolocalCipher::Encrypt(), main(), XrdCryptoMsgDigest::operator==(), XrdSecProtocolgsi::Sign(), XrdSecProtocolgsi::Verify(), XrdCryptolocalCipher::XrdCryptolocalCipher(), and XrdCryptosslCipher::XrdCryptosslCipher().
int XrdCryptoBasic::FromHex | ( | const char * | hex | ) | [virtual] |
References UseBuffer(), and XrdSutFromHex().
virtual int XrdCryptoBasic::Length | ( | ) | const [inline, virtual] |
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(), XrdCryptolocalCipher::XrdCryptolocalCipher(), and XrdCryptosslCipher::XrdCryptosslCipher().
int XrdCryptoBasic::SetBuffer | ( | int | l, |
const char * | b | ||
) | [virtual] |
int XrdCryptoBasic::SetType | ( | const char * | t | ) | [virtual] |
virtual char* XrdCryptoBasic::Type | ( | ) | const [inline, virtual] |
virtual void XrdCryptoBasic::UseBuffer | ( | int | l, |
const char * | b | ||
) | [inline, virtual] |
References lenbuf, and membuf.
Referenced by FromHex(), and XrdCryptosslCipher::XrdCryptosslCipher().
kXR_int32 XrdCryptoBasic::lenbuf [private] |
Referenced by Length(), SetBuffer(), SetLength(), UseBuffer(), and XrdCryptoBasic().
char* XrdCryptoBasic::membuf [private] |
Referenced by Buffer(), SetBuffer(), SetLength(), UseBuffer(), XrdCryptoBasic(), and ~XrdCryptoBasic().
char* XrdCryptoBasic::type [private] |
Referenced by SetType(), Type(), XrdCryptoBasic(), and ~XrdCryptoBasic().