#include <XrdCryptoCipher.hh>
Inheritance diagram for XrdCryptoCipher:
Public Member Functions | |
XrdCryptoCipher () | |
virtual | ~XrdCryptoCipher () |
virtual bool | Finalize (char *pub, int lpub, const char *t) |
virtual bool | IsValid () |
virtual int | EncOutLength (int l) |
virtual int | DecOutLength (int l) |
virtual XrdSutBucket * | AsBucket () |
virtual char * | IV (int &l) const |
virtual bool | IsDefaultLength () const |
virtual char * | Public (int &lpub) |
virtual void | SetIV (int l, const char *iv) |
virtual int | Encrypt (const char *in, int lin, char *out) |
virtual int | Decrypt (const char *in, int lin, char *out) |
int | Encrypt (XrdSutBucket &buck) |
int | Decrypt (XrdSutBucket &buck) |
virtual char * | RefreshIV (int &l) |
Definition at line 30 of file XrdCryptoCipher.hh.
XrdCryptoCipher::XrdCryptoCipher | ( | ) | [inline] |
Definition at line 33 of file XrdCryptoCipher.hh.
virtual XrdCryptoCipher::~XrdCryptoCipher | ( | ) | [inline, virtual] |
Definition at line 34 of file XrdCryptoCipher.hh.
bool XrdCryptoCipher::Finalize | ( | char * | pub, | |
int | lpub, | |||
const char * | t | |||
) | [virtual] |
Definition at line 28 of file XrdCryptoCipher.cc.
References ABSTRACTMETHOD.
Referenced by main(), and XrdSecProtocolpwd::ParseServerInput().
bool XrdCryptoCipher::IsValid | ( | ) | [virtual] |
Definition at line 36 of file XrdCryptoCipher.cc.
References ABSTRACTMETHOD.
Referenced by XrdCryptolocalFactory::Cipher(), XrdCryptosslFactory::Cipher(), and main().
int XrdCryptoCipher::EncOutLength | ( | int | l | ) | [virtual] |
Definition at line 106 of file XrdCryptoCipher.cc.
References ABSTRACTMETHOD.
Referenced by Encrypt(), XrdSecProtocolgsi::Encrypt(), and main().
int XrdCryptoCipher::DecOutLength | ( | int | l | ) | [virtual] |
Definition at line 115 of file XrdCryptoCipher.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::Decrypt(), Decrypt(), and main().
XrdSutBucket * XrdCryptoCipher::AsBucket | ( | ) | [virtual] |
Reimplemented from XrdCryptoBasic.
Definition at line 79 of file XrdCryptoCipher.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::getKey(), main(), and SavePuk().
char * XrdCryptoCipher::IV | ( | int & | l | ) | const [virtual] |
bool XrdCryptoCipher::IsDefaultLength | ( | ) | const [virtual] |
char * XrdCryptoCipher::Public | ( | int & | lpub | ) | [virtual] |
Definition at line 70 of file XrdCryptoCipher.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::Authenticate(), ExpPuk(), XrdSecProtocolgsi::getCredentials(), XrdSecProtocolpwd::getCredentials(), main(), and SavePasswd().
void XrdCryptoCipher::SetIV | ( | int | l, | |
const char * | iv | |||
) | [virtual] |
int XrdCryptoCipher::Encrypt | ( | const char * | in, | |
int | lin, | |||
char * | out | |||
) | [virtual] |
Definition at line 88 of file XrdCryptoCipher.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::AddSerialized(), XrdSecProtocolpwd::AddSerialized(), Encrypt(), XrdSecProtocolgsi::Encrypt(), and main().
int XrdCryptoCipher::Decrypt | ( | const char * | in, | |
int | lin, | |||
char * | out | |||
) | [virtual] |
Definition at line 97 of file XrdCryptoCipher.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolpwd::CheckRtag(), XrdSecProtocolgsi::ClientDoPxyreq(), XrdSecProtocolgsi::Decrypt(), Decrypt(), main(), XrdSecProtocolpwd::ParseClientInput(), XrdSecProtocolpwd::ParseServerInput(), XrdSecProtocolgsi::ServerDoCert(), and XrdSecProtocolgsi::ServerDoSigpxy().
int XrdCryptoCipher::Encrypt | ( | XrdSutBucket & | buck | ) |
Definition at line 133 of file XrdCryptoCipher.cc.
References XrdSutBucket::buffer, EncOutLength(), Encrypt(), XrdSutBucket::size, and XrdSutBucket::Update().
int XrdCryptoCipher::Decrypt | ( | XrdSutBucket & | buck | ) |
Definition at line 151 of file XrdCryptoCipher.cc.
References XrdSutBucket::buffer, DecOutLength(), Decrypt(), XrdSutBucket::size, and XrdSutBucket::Update().
char * XrdCryptoCipher::RefreshIV | ( | int & | l | ) | [virtual] |