|
xrootd
|
#include <XrdCryptosslRSA.hh>


Public Member Functions | |
| XrdCryptosslRSA (int bits=XrdCryptoMinRSABits, int exp=XrdCryptoDefRSAExp) | |
| XrdCryptosslRSA (const char *pub, int lpub=0) | |
| XrdCryptosslRSA (EVP_PKEY *key, bool check=1) | |
| XrdCryptosslRSA (const XrdCryptosslRSA &r) | |
| virtual | ~XrdCryptosslRSA () |
| XrdCryptoRSAdata | Opaque () |
| void | Dump () |
| int | GetOutlen (int lin) |
| int | GetPublen () |
| int | GetPrilen () |
| int | ImportPublic (const char *in, int lin) |
| int | ExportPublic (char *out, int lout) |
| int | ImportPrivate (const char *in, int lin) |
| int | ExportPrivate (char *out, int lout) |
| int | EncryptPrivate (const char *in, int lin, char *out, int lout) |
| int | DecryptPublic (const char *in, int lin, char *out, int lout) |
| int | EncryptPublic (const char *in, int lin, char *out, int lout) |
| int | DecryptPrivate (const char *in, int lin, char *out, int lout) |
Private Attributes | |
| EVP_PKEY * | fEVP |
| int | publen |
| int | prilen |
| XrdCryptosslRSA::XrdCryptosslRSA | ( | int | bits = XrdCryptoMinRSABits, |
| int | exp = XrdCryptoDefRSAExp |
||
| ) |
References EPNAME, publen, prilen, fEVP, DEBUG, XrdCryptoMinRSABits, XrdCryptoDefRSAExp, XrdCryptoRSA::status, and XrdCryptoRSA::kComplete.
| XrdCryptosslRSA::XrdCryptosslRSA | ( | const char * | pub, |
| int | lpub = 0 |
||
| ) |
References fEVP, publen, prilen, and ImportPublic().
| XrdCryptosslRSA::XrdCryptosslRSA | ( | EVP_PKEY * | key, |
| bool | check = 1 |
||
| ) |
References EPNAME, fEVP, publen, prilen, DEBUG, XrdCryptoRSA::status, XrdCryptoRSA::kComplete, and XrdCryptoRSA::kPublic.
| XrdCryptosslRSA::XrdCryptosslRSA | ( | const XrdCryptosslRSA & | r | ) |
References EPNAME, fEVP, publen, prilen, DEBUG, XrdCryptoRSA::status, XrdCryptoRSA::kPublic, and XrdCryptoRSA::kComplete.
| XrdCryptosslRSA::~XrdCryptosslRSA | ( | ) | [virtual] |
References fEVP.
| int XrdCryptosslRSA::DecryptPrivate | ( | const char * | in, |
| int | lin, | ||
| char * | out, | ||
| int | lout | ||
| ) | [virtual] |
Reimplemented from XrdCryptoRSA.
| int XrdCryptosslRSA::DecryptPublic | ( | const char * | in, |
| int | lin, | ||
| char * | out, | ||
| int | lout | ||
| ) | [virtual] |
Reimplemented from XrdCryptoRSA.
| void XrdCryptosslRSA::Dump | ( | ) | [virtual] |
Reimplemented from XrdCryptoRSA.
References EPNAME, DEBUG, XrdCryptoRSA::IsValid(), GetPublen(), and ExportPublic().
| int XrdCryptosslRSA::EncryptPrivate | ( | const char * | in, |
| int | lin, | ||
| char * | out, | ||
| int | lout | ||
| ) | [virtual] |
Reimplemented from XrdCryptoRSA.
| int XrdCryptosslRSA::EncryptPublic | ( | const char * | in, |
| int | lin, | ||
| char * | out, | ||
| int | lout | ||
| ) | [virtual] |
Reimplemented from XrdCryptoRSA.
| int XrdCryptosslRSA::ExportPrivate | ( | char * | out, |
| int | lout | ||
| ) | [virtual] |
Reimplemented from XrdCryptoRSA.
References EPNAME, XrdCryptoRSA::IsValid(), DEBUG, and fEVP.
| int XrdCryptosslRSA::ExportPublic | ( | char * | out, |
| int | lout | ||
| ) | [virtual] |
Reimplemented from XrdCryptoRSA.
References EPNAME, XrdCryptoRSA::IsValid(), DEBUG, and fEVP.
Referenced by Dump().
| int XrdCryptosslRSA::GetOutlen | ( | int | lin | ) | [virtual] |
Reimplemented from XrdCryptoRSA.
References fEVP.
| int XrdCryptosslRSA::GetPrilen | ( | ) | [virtual] |
Reimplemented from XrdCryptoRSA.
| int XrdCryptosslRSA::GetPublen | ( | ) | [virtual] |
| int XrdCryptosslRSA::ImportPrivate | ( | const char * | in, |
| int | lin | ||
| ) | [virtual] |
Reimplemented from XrdCryptoRSA.
References fEVP, prilen, XrdCryptoRSA::status, and XrdCryptoRSA::kComplete.
| int XrdCryptosslRSA::ImportPublic | ( | const char * | in, |
| int | lin | ||
| ) | [virtual] |
Reimplemented from XrdCryptoRSA.
References fEVP, publen, prilen, XrdCryptoRSA::status, and XrdCryptoRSA::kPublic.
Referenced by XrdCryptosslRSA().
| XrdCryptoRSAdata XrdCryptosslRSA::Opaque | ( | ) | [inline, virtual] |
Reimplemented from XrdCryptoRSA.
References fEVP.
EVP_PKEY* XrdCryptosslRSA::fEVP [private] |
int XrdCryptosslRSA::prilen [private] |
Referenced by XrdCryptosslRSA(), ImportPublic(), ImportPrivate(), and GetPrilen().
int XrdCryptosslRSA::publen [private] |
Referenced by XrdCryptosslRSA(), ImportPublic(), and GetPublen().
1.7.5