xrootd
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
XrdCryptosslRSA Class Reference

#include <XrdCryptosslRSA.hh>

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

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)
 
- Public Member Functions inherited from XrdCryptoRSA
 XrdCryptoRSA ()
 
virtual ~XrdCryptoRSA ()
 
const char * Status (ERSAStatus t=kInvalid) const
 
bool IsValid ()
 
int ExportPublic (XrdOucString &exp)
 
int ExportPrivate (XrdOucString &exp)
 
int EncryptPrivate (XrdSutBucket &buck)
 
int DecryptPublic (XrdSutBucket &buck)
 
int EncryptPublic (XrdSutBucket &buck)
 
int DecryptPrivate (XrdSutBucket &buck)
 

Private Attributes

EVP_PKEY * fEVP
 
int publen
 
int prilen
 

Additional Inherited Members

- Public Types inherited from XrdCryptoRSA
enum  ERSAStatus { kInvalid = 0 , kPublic = 1 , kComplete = 2 }
 
- Public Attributes inherited from XrdCryptoRSA
ERSAStatus status
 

Constructor & Destructor Documentation

◆ XrdCryptosslRSA() [1/4]

XrdCryptosslRSA::XrdCryptosslRSA ( int  bits = XrdCryptoMinRSABits,
int  exp = XrdCryptoDefRSAExp 
)

◆ XrdCryptosslRSA() [2/4]

XrdCryptosslRSA::XrdCryptosslRSA ( const char *  pub,
int  lpub = 0 
)

◆ XrdCryptosslRSA() [3/4]

XrdCryptosslRSA::XrdCryptosslRSA ( EVP_PKEY *  key,
bool  check = 1 
)

◆ XrdCryptosslRSA() [4/4]

XrdCryptosslRSA::XrdCryptosslRSA ( const XrdCryptosslRSA r)

◆ ~XrdCryptosslRSA()

virtual XrdCryptosslRSA::~XrdCryptosslRSA ( )
virtual

Member Function Documentation

◆ DecryptPrivate()

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

Reimplemented from XrdCryptoRSA.

◆ DecryptPublic()

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

Reimplemented from XrdCryptoRSA.

◆ Dump()

void XrdCryptosslRSA::Dump ( )
virtual

Reimplemented from XrdCryptoRSA.

◆ EncryptPrivate()

int XrdCryptosslRSA::EncryptPrivate ( const char *  in,
int  lin,
char *  out,
int  lout 
)
virtual

Reimplemented from XrdCryptoRSA.

◆ EncryptPublic()

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

Reimplemented from XrdCryptoRSA.

◆ ExportPrivate()

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

Reimplemented from XrdCryptoRSA.

◆ ExportPublic()

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

Reimplemented from XrdCryptoRSA.

◆ GetOutlen()

int XrdCryptosslRSA::GetOutlen ( int  lin)
virtual

Reimplemented from XrdCryptoRSA.

◆ GetPrilen()

int XrdCryptosslRSA::GetPrilen ( )
virtual

Reimplemented from XrdCryptoRSA.

◆ GetPublen()

int XrdCryptosslRSA::GetPublen ( )
virtual

Reimplemented from XrdCryptoRSA.

◆ ImportPrivate()

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

Reimplemented from XrdCryptoRSA.

◆ ImportPublic()

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

Reimplemented from XrdCryptoRSA.

◆ Opaque()

XrdCryptoRSAdata XrdCryptosslRSA::Opaque ( )
inlinevirtual

Reimplemented from XrdCryptoRSA.

References fEVP.

Member Data Documentation

◆ fEVP

EVP_PKEY* XrdCryptosslRSA::fEVP
private

Referenced by Opaque().

◆ prilen

int XrdCryptosslRSA::prilen
private

◆ publen

int XrdCryptosslRSA::publen
private

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