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