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