XrdCryptosslCipher Class Reference
#include <XrdCryptosslCipher.hh>
List of all members.
Public Member Functions |
| XrdCryptosslCipher (const char *t, int l=0) |
| XrdCryptosslCipher (const char *t, int l, const char *k, int liv, const char *iv) |
| XrdCryptosslCipher (XrdSutBucket *b) |
| XrdCryptosslCipher (bool padded, int len, char *pub, int lpub, const char *t) |
| XrdCryptosslCipher (const XrdCryptosslCipher &c) |
virtual | ~XrdCryptosslCipher () |
bool | Finalize (bool padded, char *pub, int lpub, const char *t) |
void | Cleanup () |
bool | IsValid () |
int | EncOutLength (int l) |
int | DecOutLength (int l) |
char * | Public (int &lpub) |
XrdSutBucket * | AsBucket () |
char * | IV (int &l) const |
bool | IsDefaultLength () const |
int | MaxIVLength () const |
void | SetIV (int l, const char *iv) |
int | Encrypt (const char *bin, int lin, char *out) |
int | Decrypt (const char *bin, int lin, char *out) |
char * | RefreshIV (int &l) |
Static Public Member Functions |
static bool | IsSupported (const char *cip) |
Private Member Functions |
void | GenerateIV () |
int | EncDec (int encdec, const char *bin, int lin, char *out) |
void | PrintPublic (BIGNUM *pub) |
int | Publen () |
Private Attributes |
char * | fIV |
int | lIV |
const EVP_CIPHER * | cipher |
EVP_CIPHER_CTX * | ctx |
DH * | fDH |
bool | deflength |
bool | valid |
Constructor & Destructor Documentation
XrdCryptosslCipher::XrdCryptosslCipher |
( |
const char * |
t, |
|
|
int |
l = 0 | |
|
) |
| | |
XrdCryptosslCipher::XrdCryptosslCipher |
( |
const char * |
t, |
|
|
int |
l, |
|
|
const char * |
k, |
|
|
int |
liv, |
|
|
const char * |
iv | |
|
) |
| | |
XrdCryptosslCipher::XrdCryptosslCipher |
( |
bool |
padded, |
|
|
int |
len, |
|
|
char * |
pub, |
|
|
int |
lpub, |
|
|
const char * |
t | |
|
) |
| | |
virtual XrdCryptosslCipher::~XrdCryptosslCipher |
( |
|
) |
[virtual] |
Member Function Documentation
void XrdCryptosslCipher::Cleanup |
( |
|
) |
|
int XrdCryptosslCipher::DecOutLength |
( |
int |
l |
) |
[virtual] |
int XrdCryptosslCipher::Decrypt |
( |
const char * |
bin, |
|
|
int |
lin, |
|
|
char * |
out | |
|
) |
| | [virtual] |
int XrdCryptosslCipher::EncDec |
( |
int |
encdec, |
|
|
const char * |
bin, |
|
|
int |
lin, |
|
|
char * |
out | |
|
) |
| | [private] |
int XrdCryptosslCipher::EncOutLength |
( |
int |
l |
) |
[virtual] |
int XrdCryptosslCipher::Encrypt |
( |
const char * |
bin, |
|
|
int |
lin, |
|
|
char * |
out | |
|
) |
| | [virtual] |
bool XrdCryptosslCipher::Finalize |
( |
bool |
padded, |
|
|
char * |
pub, |
|
|
int |
lpub, |
|
|
const char * |
t | |
|
) |
| | [virtual] |
void XrdCryptosslCipher::GenerateIV |
( |
|
) |
[private] |
bool XrdCryptosslCipher::IsDefaultLength |
( |
|
) |
const [inline, virtual] |
static bool XrdCryptosslCipher::IsSupported |
( |
const char * |
cip |
) |
[static] |
bool XrdCryptosslCipher::IsValid |
( |
|
) |
[inline, virtual] |
char* XrdCryptosslCipher::IV |
( |
int & |
l |
) |
const [inline, virtual] |
int XrdCryptosslCipher::MaxIVLength |
( |
|
) |
const [virtual] |
void XrdCryptosslCipher::PrintPublic |
( |
BIGNUM * |
pub |
) |
[private] |
int XrdCryptosslCipher::Publen |
( |
|
) |
[private] |
char* XrdCryptosslCipher::Public |
( |
int & |
lpub |
) |
[virtual] |
char* XrdCryptosslCipher::RefreshIV |
( |
int & |
l |
) |
[virtual] |
void XrdCryptosslCipher::SetIV |
( |
int |
l, |
|
|
const char * |
iv | |
|
) |
| | [virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: