xrootd
|
#include <XrdCryptoCipher.hh>
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) |
XrdCryptoCipher::XrdCryptoCipher | ( | ) | [inline] |
virtual XrdCryptoCipher::~XrdCryptoCipher | ( | ) | [inline, virtual] |
XrdSutBucket * XrdCryptoCipher::AsBucket | ( | ) | [virtual] |
Reimplemented from XrdCryptoBasic.
Reimplemented in XrdCryptolocalCipher, and XrdCryptosslCipher.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::getKey(), main(), and SavePuk().
int XrdCryptoCipher::DecOutLength | ( | int | l | ) | [virtual] |
Reimplemented in XrdCryptolocalCipher, and XrdCryptosslCipher.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::Decrypt(), Decrypt(), and main().
int XrdCryptoCipher::Decrypt | ( | const char * | in, |
int | lin, | ||
char * | out | ||
) | [virtual] |
Reimplemented in XrdCryptolocalCipher, and XrdCryptosslCipher.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolpwd::CheckRtag(), XrdSecProtocolgsi::ClientDoPxyreq(), XrdSecProtocolgsi::Decrypt(), Decrypt(), main(), XrdSecProtocolpwd::ParseClientInput(), XrdSecProtocolpwd::ParseServerInput(), XrdSecProtocolgsi::ServerDoCert(), and XrdSecProtocolgsi::ServerDoSigpxy().
int XrdCryptoCipher::Decrypt | ( | XrdSutBucket & | buck | ) |
References XrdSutBucket::buffer, DecOutLength(), Decrypt(), XrdSutBucket::size, and XrdSutBucket::Update().
int XrdCryptoCipher::EncOutLength | ( | int | l | ) | [virtual] |
Reimplemented in XrdCryptolocalCipher, and XrdCryptosslCipher.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::Encrypt(), Encrypt(), and main().
int XrdCryptoCipher::Encrypt | ( | const char * | in, |
int | lin, | ||
char * | out | ||
) | [virtual] |
Reimplemented in XrdCryptolocalCipher, and XrdCryptosslCipher.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolpwd::AddSerialized(), XrdSecProtocolgsi::AddSerialized(), XrdSecProtocolgsi::Encrypt(), Encrypt(), and main().
int XrdCryptoCipher::Encrypt | ( | XrdSutBucket & | buck | ) |
References XrdSutBucket::buffer, EncOutLength(), Encrypt(), XrdSutBucket::size, and XrdSutBucket::Update().
bool XrdCryptoCipher::Finalize | ( | char * | pub, |
int | lpub, | ||
const char * | t | ||
) | [virtual] |
Reimplemented in XrdCryptolocalCipher, and XrdCryptosslCipher.
References ABSTRACTMETHOD.
Referenced by main(), XrdSecProtocolpwd::ParseServerInput(), and XrdSecProtocolgsi::ServerDoCert().
bool XrdCryptoCipher::IsDefaultLength | ( | ) | const [virtual] |
Reimplemented in XrdCryptolocalCipher, and XrdCryptosslCipher.
References ABSTRACTMETHOD.
bool XrdCryptoCipher::IsValid | ( | ) | [virtual] |
Reimplemented in XrdCryptolocalCipher, and XrdCryptosslCipher.
References ABSTRACTMETHOD.
Referenced by XrdCryptosslFactory::Cipher(), XrdCryptolocalFactory::Cipher(), and main().
char * XrdCryptoCipher::IV | ( | int & | l | ) | const [virtual] |
Reimplemented in XrdCryptosslCipher.
References ABSTRACTMETHOD.
char * XrdCryptoCipher::Public | ( | int & | lpub | ) | [virtual] |
Reimplemented in XrdCryptolocalCipher, and XrdCryptosslCipher.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::Authenticate(), ExpPuk(), XrdSecProtocolpwd::getCredentials(), XrdSecProtocolgsi::getCredentials(), main(), and SavePasswd().
char * XrdCryptoCipher::RefreshIV | ( | int & | l | ) | [virtual] |
Reimplemented in XrdCryptosslCipher.
References ABSTRACTMETHOD.
void XrdCryptoCipher::SetIV | ( | int | l, |
const char * | iv | ||
) | [virtual] |
Reimplemented in XrdCryptosslCipher.
References ABSTRACTMETHOD.