![]() |
XRootD
|
#include <XrdCryptosslRSA.hh>
Public Member Functions | |
XrdCryptosslRSA (const char *pub, int lpub=0) | |
XrdCryptosslRSA (const XrdCryptosslRSA &r) | |
XrdCryptosslRSA (EVP_PKEY *key, bool check=1) | |
XrdCryptosslRSA (int bits=XrdCryptoMinRSABits, int exp=XrdCryptoDefRSAExp) | |
virtual | ~XrdCryptosslRSA () |
int | DecryptPrivate (const char *in, int lin, char *out, int lout) |
int | DecryptPublic (const char *in, int lin, char *out, int lout) |
void | Dump () |
int | EncryptPrivate (const char *in, int lin, char *out, int lout) |
int | EncryptPublic (const char *in, int lin, char *out, int lout) |
int | ExportPrivate (char *out, int lout) |
int | ExportPublic (char *out, int lout) |
int | GetOutlen (int lin) |
int | GetPrilen () |
int | GetPublen () |
int | ImportPrivate (const char *in, int lin) |
int | ImportPublic (const char *in, int lin) |
XrdCryptoRSAdata | Opaque () |
![]() | |
XrdCryptoRSA () | |
virtual | ~XrdCryptoRSA () |
virtual int | DecryptPrivate (const char *in, int lin, char *out, int lout) |
int | DecryptPrivate (XrdSutBucket &buck) |
virtual int | DecryptPublic (const char *in, int lin, char *out, int lout) |
int | DecryptPublic (XrdSutBucket &buck) |
virtual void | Dump () |
virtual int | EncryptPrivate (const char *in, int lin, char *out, int lout) |
int | EncryptPrivate (XrdSutBucket &buck) |
virtual int | EncryptPublic (const char *in, int lin, char *out, int lout) |
int | EncryptPublic (XrdSutBucket &buck) |
virtual int | ExportPrivate (char *out, int lout) |
int | ExportPrivate (XrdOucString &exp) |
virtual int | ExportPublic (char *out, int lout) |
int | ExportPublic (XrdOucString &exp) |
virtual int | GetOutlen (int lin) |
virtual int | GetPrilen () |
virtual int | GetPublen () |
virtual int | ImportPrivate (const char *in, int lin) |
virtual int | ImportPublic (const char *in, int lin) |
bool | IsValid () |
virtual XrdCryptoRSAdata | Opaque () |
const char * | Status (ERSAStatus t=kInvalid) const |
Additional Inherited Members | |
![]() | |
enum | ERSAStatus { kInvalid = 0 , kPublic = 1 , kComplete = 2 } |
![]() | |
ERSAStatus | status |
Definition at line 46 of file XrdCryptosslRSA.hh.
XrdCryptosslRSA::XrdCryptosslRSA | ( | int | bits = XrdCryptoMinRSABits , |
int | exp = XrdCryptoDefRSAExp |
||
) |
Definition at line 87 of file XrdCryptosslRSA.cc.
References DEBUG, EPNAME, XrdCryptoRSA::kComplete, XrdCryptoRSA::status, XrdCheckRSA(), XrdCryptoDefRSABits, XrdCryptoDefRSAExp, and XrdCryptoMinRSABits.
XrdCryptosslRSA::XrdCryptosslRSA | ( | const char * | pub, |
int | lpub = 0 |
||
) |
Definition at line 143 of file XrdCryptosslRSA.cc.
References ImportPublic().
XrdCryptosslRSA::XrdCryptosslRSA | ( | EVP_PKEY * | key, |
bool | check = 1 |
||
) |
Definition at line 160 of file XrdCryptosslRSA.cc.
References DEBUG, EPNAME, XrdCryptoRSA::kComplete, XrdCryptoRSA::kPublic, XrdCryptoRSA::status, and XrdCheckRSA().
XrdCryptosslRSA::XrdCryptosslRSA | ( | const XrdCryptosslRSA & | r | ) |
Definition at line 194 of file XrdCryptosslRSA.cc.
References DEBUG, EPNAME, EVP_PKEY_get0_RSA(), XrdCryptoRSA::kComplete, XrdCryptoRSA::kPublic, RSA_get0_key(), XrdCryptoRSA::status, and XrdCheckRSA().
|
virtual |
Definition at line 253 of file XrdCryptosslRSA.cc.
|
virtual |
Reimplemented from XrdCryptoRSA.
Definition at line 607 of file XrdCryptosslRSA.cc.
|
virtual |
Reimplemented from XrdCryptoRSA.
Definition at line 661 of file XrdCryptosslRSA.cc.
|
virtual |
Reimplemented from XrdCryptoRSA.
Definition at line 349 of file XrdCryptosslRSA.cc.
References DEBUG, EPNAME, ExportPublic(), GetPublen(), and XrdCryptoRSA::IsValid().
|
virtual |
Reimplemented from XrdCryptoRSA.
Definition at line 497 of file XrdCryptosslRSA.cc.
|
virtual |
Reimplemented from XrdCryptoRSA.
Definition at line 552 of file XrdCryptosslRSA.cc.
|
virtual |
Reimplemented from XrdCryptoRSA.
Definition at line 452 of file XrdCryptosslRSA.cc.
References DEBUG, EPNAME, and XrdCryptoRSA::IsValid().
|
virtual |
Reimplemented from XrdCryptoRSA.
Definition at line 389 of file XrdCryptosslRSA.cc.
References DEBUG, EPNAME, and XrdCryptoRSA::IsValid().
Referenced by Dump().
|
virtual |
Reimplemented from XrdCryptoRSA.
Definition at line 264 of file XrdCryptosslRSA.cc.
|
virtual |
Reimplemented from XrdCryptoRSA.
Definition at line 434 of file XrdCryptosslRSA.cc.
|
virtual |
Reimplemented from XrdCryptoRSA.
Definition at line 372 of file XrdCryptosslRSA.cc.
Referenced by Dump().
|
virtual |
Reimplemented from XrdCryptoRSA.
Definition at line 314 of file XrdCryptosslRSA.cc.
References XrdCryptoRSA::kComplete, and XrdCryptoRSA::status.
|
virtual |
Reimplemented from XrdCryptoRSA.
Definition at line 274 of file XrdCryptosslRSA.cc.
References XrdCryptoRSA::kPublic, and XrdCryptoRSA::status.
Referenced by XrdCryptosslRSA().
|
inlinevirtual |
Reimplemented from XrdCryptoRSA.
Definition at line 61 of file XrdCryptosslRSA.hh.