#include <XrdCryptoRSA.hh>
Inheritance diagram for XrdCryptoRSA:
Public Types | |
enum | ERSAStatus |
Public Member Functions | |
XrdCryptoRSA () | |
virtual | ~XrdCryptoRSA () |
const char * | Status (ERSAStatus t=kInvalid) const |
virtual XrdCryptoRSAdata | Opaque () |
virtual void | Dump () |
bool | IsValid () |
virtual int | GetOutlen (int lin) |
virtual int | GetPublen () |
virtual int | GetPrilen () |
virtual int | ImportPublic (const char *in, int lin) |
virtual int | ExportPublic (char *out, int lout) |
int | ExportPublic (XrdOucString &exp) |
virtual int | ImportPrivate (const char *in, int lin) |
virtual int | ExportPrivate (char *out, int lout) |
int | ExportPrivate (XrdOucString &exp) |
virtual int | EncryptPrivate (const char *in, int lin, char *out, int lout) |
virtual int | DecryptPublic (const char *in, int lin, char *out, int lout) |
virtual int | EncryptPublic (const char *in, int lin, char *out, int lout) |
virtual int | DecryptPrivate (const char *in, int lin, char *out, int lout) |
int | EncryptPrivate (XrdSutBucket &buck) |
int | DecryptPublic (XrdSutBucket &buck) |
int | EncryptPublic (XrdSutBucket &buck) |
int | DecryptPrivate (XrdSutBucket &buck) |
Public Attributes | |
ERSAStatus | status |
Static Private Attributes | |
static const char * | cstatus [3] |
Definition at line 33 of file XrdCryptoRSA.hh.
Definition at line 40 of file XrdCryptoRSA.hh.
XrdCryptoRSA::XrdCryptoRSA | ( | ) | [inline] |
virtual XrdCryptoRSA::~XrdCryptoRSA | ( | ) | [inline, virtual] |
Definition at line 37 of file XrdCryptoRSA.hh.
const char* XrdCryptoRSA::Status | ( | ERSAStatus | t = kInvalid |
) | const [inline] |
XrdCryptoRSAdata XrdCryptoRSA::Opaque | ( | ) | [virtual] |
Definition at line 36 of file XrdCryptoRSA.cc.
References ABSTRACTMETHOD.
Referenced by main(), XrdSecProtocolgsi::ServerDoSigpxy(), and XrdSslgsiX509SignProxyReq().
void XrdCryptoRSA::Dump | ( | ) | [virtual] |
bool XrdCryptoRSA::IsValid | ( | ) | [inline] |
Definition at line 52 of file XrdCryptoRSA.hh.
References kInvalid, and status.
Referenced by XrdSecProtocolgsi::ClientDoCert(), XrdCryptosslRSA::Dump(), XrdCryptosslRSA::ExportPrivate(), XrdCryptosslRSA::ExportPublic(), XrdCryptosslFactory::RSA(), and XrdSecProtocolgsi::ServerDoCert().
int XrdCryptoRSA::GetOutlen | ( | int | lin | ) | [virtual] |
Definition at line 44 of file XrdCryptoRSA.cc.
References ABSTRACTMETHOD.
Referenced by DecryptPrivate(), DecryptPublic(), EncryptPrivate(), EncryptPublic(), XrdSecProtocolgsi::Sign(), and XrdSecProtocolgsi::Verify().
int XrdCryptoRSA::GetPublen | ( | ) | [virtual] |
Definition at line 52 of file XrdCryptoRSA.cc.
References ABSTRACTMETHOD.
Referenced by ExportPublic(), and main().
int XrdCryptoRSA::GetPrilen | ( | ) | [virtual] |
Definition at line 60 of file XrdCryptoRSA.cc.
References ABSTRACTMETHOD.
Referenced by ExportPrivate(), and main().
int XrdCryptoRSA::ImportPublic | ( | const char * | in, | |
int | lin | |||
) | [virtual] |
int XrdCryptoRSA::ExportPublic | ( | char * | out, | |
int | lout | |||
) | [virtual] |
Definition at line 76 of file XrdCryptoRSA.cc.
References ABSTRACTMETHOD.
Referenced by ExportPublic(), and main().
int XrdCryptoRSA::ExportPublic | ( | XrdOucString & | exp | ) |
int XrdCryptoRSA::ImportPrivate | ( | const char * | in, | |
int | lin | |||
) | [virtual] |
Definition at line 84 of file XrdCryptoRSA.cc.
References ABSTRACTMETHOD.
Referenced by main(), and XrdSecProtocolgsi::ServerDoSigpxy().
int XrdCryptoRSA::ExportPrivate | ( | char * | out, | |
int | lout | |||
) | [virtual] |
Definition at line 92 of file XrdCryptoRSA.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::ClientDoPxyreq(), ExportPrivate(), and main().
int XrdCryptoRSA::ExportPrivate | ( | XrdOucString & | exp | ) |
int XrdCryptoRSA::EncryptPrivate | ( | const char * | in, | |
int | lin, | |||
char * | out, | |||
int | lout | |||
) | [virtual] |
Definition at line 142 of file XrdCryptoRSA.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::AddSerialized(), EncryptPrivate(), main(), and XrdSecProtocolgsi::Sign().
int XrdCryptoRSA::DecryptPublic | ( | const char * | in, | |
int | lin, | |||
char * | out, | |||
int | lout | |||
) | [virtual] |
Definition at line 166 of file XrdCryptoRSA.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::CheckRtag(), DecryptPublic(), main(), and XrdSecProtocolgsi::Verify().
int XrdCryptoRSA::EncryptPublic | ( | const char * | in, | |
int | lin, | |||
char * | out, | |||
int | lout | |||
) | [virtual] |
Definition at line 150 of file XrdCryptoRSA.cc.
References ABSTRACTMETHOD.
Referenced by EncryptPublic(), and main().
int XrdCryptoRSA::DecryptPrivate | ( | const char * | in, | |
int | lin, | |||
char * | out, | |||
int | lout | |||
) | [virtual] |
Definition at line 158 of file XrdCryptoRSA.cc.
References ABSTRACTMETHOD.
Referenced by DecryptPrivate(), and main().
int XrdCryptoRSA::EncryptPrivate | ( | XrdSutBucket & | buck | ) |
Definition at line 174 of file XrdCryptoRSA.cc.
References XrdSutBucket::buffer, EncryptPrivate(), GetOutlen(), XrdSutBucket::size, and XrdSutBucket::Update().
int XrdCryptoRSA::DecryptPublic | ( | XrdSutBucket & | buck | ) |
Definition at line 228 of file XrdCryptoRSA.cc.
References XrdSutBucket::buffer, DecryptPublic(), GetOutlen(), XrdSutBucket::size, and XrdSutBucket::Update().
int XrdCryptoRSA::EncryptPublic | ( | XrdSutBucket & | buck | ) |
Definition at line 192 of file XrdCryptoRSA.cc.
References XrdSutBucket::buffer, EncryptPublic(), GetOutlen(), XrdSutBucket::size, and XrdSutBucket::Update().
int XrdCryptoRSA::DecryptPrivate | ( | XrdSutBucket & | buck | ) |
Definition at line 210 of file XrdCryptoRSA.cc.
References XrdSutBucket::buffer, DecryptPrivate(), GetOutlen(), XrdSutBucket::size, and XrdSutBucket::Update().
Definition at line 41 of file XrdCryptoRSA.hh.
Referenced by XrdCryptosslRSA::ImportPrivate(), XrdCryptosslRSA::ImportPublic(), IsValid(), XrdSecProtocolgsi::QueryProxy(), Status(), XrdCryptoRSA(), XrdCryptosslRSA::XrdCryptosslRSA(), XrdCryptosslX509ParseBucket(), XrdCryptosslX509ParseFile(), and XrdSslgsiX509SignProxyReq().
const char * XrdCryptoRSA::cstatus [static, private] |