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 
)
XrdCryptosslRSA::XrdCryptosslRSA ( EVP_PKEY *  key,
bool  check = 1 
)
XrdCryptosslRSA::XrdCryptosslRSA ( const XrdCryptosslRSA r  ) 
virtual XrdCryptosslRSA::~XrdCryptosslRSA (  )  [virtual]

Member Function Documentation

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.

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.

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

Reimplemented from XrdCryptoRSA.

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

Reimplemented from XrdCryptoRSA.

int XrdCryptosslRSA::GetPrilen (  )  [virtual]

Reimplemented from XrdCryptoRSA.

int XrdCryptosslRSA::GetPublen (  )  [virtual]

Reimplemented from XrdCryptoRSA.

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

Reimplemented from XrdCryptoRSA.

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

Reimplemented from XrdCryptoRSA.

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

Reimplemented from XrdCryptoRSA.

References fEVP.


Member Data Documentation

EVP_PKEY* XrdCryptosslRSA::fEVP [private]

Referenced by Opaque().

int XrdCryptosslRSA::prilen [private]
int XrdCryptosslRSA::publen [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 23 Mar 2020 for xrootd by  doxygen 1.6.1