xrootd
Public Member Functions | Private Attributes

XrdCryptolocalCipher Class Reference

#include <XrdCryptolocalCipher.hh>

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

List of all members.

Public Member Functions

 XrdCryptolocalCipher (const char *t="PC1", int l=0)
 XrdCryptolocalCipher (const char *t, int l, const char *k)
 XrdCryptolocalCipher (XrdSutBucket *b)
 XrdCryptolocalCipher (int len, char *pub, int lpub, const char *t="PC1")
 XrdCryptolocalCipher (const XrdCryptolocalCipher &c)
virtual ~XrdCryptolocalCipher ()
bool Finalize (char *pub, int lpub, const char *t="PC1")
void Cleanup ()
bool IsValid ()
XrdSutBucketAsBucket ()
bool IsDefaultLength () const
char * Public (int &lpub)
int EncOutLength (int l)
int DecOutLength (int l)
int Encrypt (const char *in, int lin, char *out)
int Decrypt (const char *in, int lin, char *out)

Private Attributes

bool valid
unsigned char * bpub
unsigned char * bpriv

Constructor & Destructor Documentation

XrdCryptolocalCipher::XrdCryptolocalCipher ( const char *  t = "PC1",
int  l = 0 
)
XrdCryptolocalCipher::XrdCryptolocalCipher ( const char *  t,
int  l,
const char *  k 
)
XrdCryptolocalCipher::XrdCryptolocalCipher ( XrdSutBucket b)
XrdCryptolocalCipher::XrdCryptolocalCipher ( int  len,
char *  pub,
int  lpub,
const char *  t = "PC1" 
)
XrdCryptolocalCipher::XrdCryptolocalCipher ( const XrdCryptolocalCipher c)
virtual XrdCryptolocalCipher::~XrdCryptolocalCipher ( ) [inline, virtual]

References Cleanup().


Member Function Documentation

XrdSutBucket * XrdCryptolocalCipher::AsBucket ( ) [virtual]
void XrdCryptolocalCipher::Cleanup ( )

References bpriv, and bpub.

Referenced by XrdCryptolocalCipher(), and ~XrdCryptolocalCipher().

int XrdCryptolocalCipher::DecOutLength ( int  l) [virtual]

Reimplemented from XrdCryptoCipher.

int XrdCryptolocalCipher::Decrypt ( const char *  in,
int  lin,
char *  out 
) [virtual]
int XrdCryptolocalCipher::EncOutLength ( int  l) [virtual]

Reimplemented from XrdCryptoCipher.

int XrdCryptolocalCipher::Encrypt ( const char *  in,
int  lin,
char *  out 
) [virtual]
bool XrdCryptolocalCipher::Finalize ( char *  pub,
int  lpub,
const char *  t = "PC1" 
) [virtual]
bool XrdCryptolocalCipher::IsDefaultLength ( ) const [virtual]

Reimplemented from XrdCryptoCipher.

References kPC1LENGTH, and XrdCryptoBasic::Length().

bool XrdCryptolocalCipher::IsValid ( ) [inline, virtual]

Reimplemented from XrdCryptoCipher.

References valid.

char * XrdCryptolocalCipher::Public ( int &  lpub) [virtual]

Reimplemented from XrdCryptoCipher.

References bpub, kPC3SLEN, and XrdSutToHex().


Member Data Documentation

unsigned char* XrdCryptolocalCipher::bpriv [private]
unsigned char* XrdCryptolocalCipher::bpub [private]

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