xrootd
Public Member Functions | List of all members
XrdCryptoCipher Class Reference

#include <XrdCryptoCipher.hh>

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

Public Member Functions

 XrdCryptoCipher ()
 
virtual ~XrdCryptoCipher ()
 
virtual bool Finalize (char *pub, int lpub, const char *t)
 
virtual bool IsValid ()
 
virtual int EncOutLength (int l)
 
virtual int DecOutLength (int l)
 
virtual XrdSutBucketAsBucket ()
 
virtual char * IV (int &l) const
 
virtual bool IsDefaultLength () const
 
virtual char * Public (int &lpub)
 
virtual void SetIV (int l, const char *iv)
 
virtual int Encrypt (const char *in, int lin, char *out)
 
virtual int Decrypt (const char *in, int lin, char *out)
 
int Encrypt (XrdSutBucket &buck)
 
int Decrypt (XrdSutBucket &buck)
 
virtual char * RefreshIV (int &l)
 
- Public Member Functions inherited from XrdCryptoBasic
 XrdCryptoBasic (const char *t=0, int l=0, const char *b=0)
 
virtual ~XrdCryptoBasic ()
 
char * AsHexString ()
 
virtual int Length () const
 
virtual char * Buffer () const
 
virtual char * Type () const
 
virtual int FromHex (const char *hex)
 
virtual int SetLength (int l)
 
virtual int SetBuffer (int l, const char *b)
 
virtual int SetType (const char *t)
 
virtual void UseBuffer (int l, const char *b)
 

Constructor & Destructor Documentation

XrdCryptoCipher::XrdCryptoCipher ( )
inline
virtual XrdCryptoCipher::~XrdCryptoCipher ( )
inlinevirtual

Member Function Documentation

XrdSutBucket * XrdCryptoCipher::AsBucket ( )
virtual

Reimplemented from XrdCryptoBasic.

Reimplemented in XrdCryptosslCipher, and XrdCryptolocalCipher.

References ABSTRACTMETHOD.

Referenced by XrdSecProtocolgsi::getKey(), main(), and SavePuk().

int XrdCryptoCipher::DecOutLength ( int  l)
virtual
int XrdCryptoCipher::Decrypt ( const char *  in,
int  lin,
char *  out 
)
virtual
int XrdCryptoCipher::Decrypt ( XrdSutBucket buck)
int XrdCryptoCipher::EncOutLength ( int  l)
virtual
int XrdCryptoCipher::Encrypt ( const char *  in,
int  lin,
char *  out 
)
virtual
int XrdCryptoCipher::Encrypt ( XrdSutBucket buck)
bool XrdCryptoCipher::Finalize ( char *  pub,
int  lpub,
const char *  t 
)
virtual
bool XrdCryptoCipher::IsDefaultLength ( ) const
virtual

Reimplemented in XrdCryptosslCipher, and XrdCryptolocalCipher.

References ABSTRACTMETHOD.

bool XrdCryptoCipher::IsValid ( )
virtual
char * XrdCryptoCipher::IV ( int &  l) const
virtual

Reimplemented in XrdCryptosslCipher.

References ABSTRACTMETHOD.

char * XrdCryptoCipher::Public ( int &  lpub)
virtual
char * XrdCryptoCipher::RefreshIV ( int &  l)
virtual

Reimplemented in XrdCryptosslCipher.

References ABSTRACTMETHOD.

void XrdCryptoCipher::SetIV ( int  l,
const char *  iv 
)
virtual

Reimplemented in XrdCryptosslCipher.

References ABSTRACTMETHOD.


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