xrootd
Public Member Functions | Private Attributes
XrdCryptosslRSA Class Reference

#include <XrdCryptosslRSA.hh>

Inheritance diagram for XrdCryptosslRSA:
Inheritance graph
[legend]
Collaboration diagram for XrdCryptosslRSA:
Collaboration graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

XrdCryptosslRSA::XrdCryptosslRSA ( int  bits = XrdCryptoMinRSABits,
int  exp = XrdCryptoDefRSAExp 
)
XrdCryptosslRSA::XrdCryptosslRSA ( const char *  pub,
int  lpub = 0 
)

References fEVP, ImportPublic(), prilen, and publen.

XrdCryptosslRSA::XrdCryptosslRSA ( EVP_PKEY *  key,
bool  check = 1 
)
XrdCryptosslRSA::XrdCryptosslRSA ( const XrdCryptosslRSA r)
XrdCryptosslRSA::~XrdCryptosslRSA ( ) [virtual]

References fEVP.


Member Function Documentation

int XrdCryptosslRSA::DecryptPrivate ( const char *  in,
int  lin,
char *  out,
int  lout 
) [virtual]

Reimplemented from XrdCryptoRSA.

References DEBUG, EPNAME, fEVP, and PRINT.

int XrdCryptosslRSA::DecryptPublic ( const char *  in,
int  lin,
char *  out,
int  lout 
) [virtual]

Reimplemented from XrdCryptoRSA.

References DEBUG, EPNAME, fEVP, and PRINT.

void XrdCryptosslRSA::Dump ( ) [virtual]
int XrdCryptosslRSA::EncryptPrivate ( const char *  in,
int  lin,
char *  out,
int  lout 
) [virtual]

Reimplemented from XrdCryptoRSA.

References DEBUG, EPNAME, and fEVP.

int XrdCryptosslRSA::EncryptPublic ( const char *  in,
int  lin,
char *  out,
int  lout 
) [virtual]

Reimplemented from XrdCryptoRSA.

References DEBUG, EPNAME, and fEVP.

int XrdCryptosslRSA::ExportPrivate ( char *  out,
int  lout 
) [virtual]

Reimplemented from XrdCryptoRSA.

References DEBUG, EPNAME, fEVP, and XrdCryptoRSA::IsValid().

int XrdCryptosslRSA::ExportPublic ( char *  out,
int  lout 
) [virtual]

Reimplemented from XrdCryptoRSA.

References DEBUG, EPNAME, fEVP, and XrdCryptoRSA::IsValid().

Referenced by Dump().

int XrdCryptosslRSA::GetOutlen ( int  lin) [virtual]

Reimplemented from XrdCryptoRSA.

References fEVP.

int XrdCryptosslRSA::GetPrilen ( ) [virtual]

Reimplemented from XrdCryptoRSA.

References fEVP, and prilen.

int XrdCryptosslRSA::GetPublen ( ) [virtual]

Reimplemented from XrdCryptoRSA.

References fEVP, and publen.

Referenced by Dump().

int XrdCryptosslRSA::ImportPrivate ( const char *  in,
int  lin 
) [virtual]

Reimplemented from XrdCryptoRSA.

References fEVP, XrdCryptoRSA::kComplete, prilen, and XrdCryptoRSA::status.

int XrdCryptosslRSA::ImportPublic ( const char *  in,
int  lin 
) [virtual]

Reimplemented from XrdCryptoRSA.

References fEVP, XrdCryptoRSA::kPublic, prilen, publen, and XrdCryptoRSA::status.

Referenced by XrdCryptosslRSA().

XrdCryptoRSAdata XrdCryptosslRSA::Opaque ( ) [inline, virtual]

Reimplemented from XrdCryptoRSA.

References fEVP.


Member Data Documentation

EVP_PKEY* XrdCryptosslRSA::fEVP [private]
int XrdCryptosslRSA::prilen [private]
int XrdCryptosslRSA::publen [private]

The documentation for this class was generated from the following files: