xrootd
|
#include <XrdCryptosslCipher.hh>
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) |
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) |
![]() | |
XrdCryptoCipher () | |
virtual | ~XrdCryptoCipher () |
bool | Finalize (char *pub, int lpub, const char *t) |
int | Encrypt (XrdSutBucket &buck, bool useiv=true) |
int | Decrypt (XrdSutBucket &buck, bool useiv=true) |
![]() | |
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) |
Static Public Member Functions | |
static bool | IsSupported (const char *cip) |
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 () |
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 |
EVP_PKEY * | fDH |
bool | deflength |
bool | valid |
DH * | fDH |
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 | ( | XrdSutBucket * | b | ) |
XrdCryptosslCipher::XrdCryptosslCipher | ( | bool | padded, |
int | len, | ||
char * | pub, | ||
int | lpub, | ||
const char * | t | ||
) |
XrdCryptosslCipher::XrdCryptosslCipher | ( | const XrdCryptosslCipher & | c | ) |
|
virtual |
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 | ( | XrdSutBucket * | b | ) |
XrdCryptosslCipher::XrdCryptosslCipher | ( | bool | padded, |
int | len, | ||
char * | pub, | ||
int | lpub, | ||
const char * | t | ||
) |
XrdCryptosslCipher::XrdCryptosslCipher | ( | const XrdCryptosslCipher & | c | ) |
|
virtual |
|
virtual |
Reimplemented from XrdCryptoCipher.
|
virtual |
Reimplemented from XrdCryptoCipher.
void XrdCryptosslCipher::Cleanup | ( | ) |
void XrdCryptosslCipher::Cleanup | ( | ) |
|
virtual |
Reimplemented from XrdCryptoCipher.
|
virtual |
Reimplemented from XrdCryptoCipher.
|
virtual |
Reimplemented from XrdCryptoCipher.
|
virtual |
Reimplemented from XrdCryptoCipher.
|
private |
|
private |
|
virtual |
Reimplemented from XrdCryptoCipher.
|
virtual |
Reimplemented from XrdCryptoCipher.
|
virtual |
Reimplemented from XrdCryptoCipher.
|
virtual |
Reimplemented from XrdCryptoCipher.
|
virtual |
Reimplemented from XrdCryptoCipher.
|
virtual |
Reimplemented from XrdCryptoCipher.
|
private |
|
private |
|
inlinevirtual |
Reimplemented from XrdCryptoCipher.
References deflength.
|
inlinevirtual |
Reimplemented from XrdCryptoCipher.
References deflength.
|
static |
|
static |
|
inlinevirtual |
Reimplemented from XrdCryptoCipher.
References valid.
|
inlinevirtual |
Reimplemented from XrdCryptoCipher.
References valid.
|
inlinevirtual |
Reimplemented from XrdCryptoCipher.
|
inlinevirtual |
Reimplemented from XrdCryptoCipher.
|
virtual |
Reimplemented from XrdCryptoCipher.
|
virtual |
Reimplemented from XrdCryptoCipher.
|
private |
|
private |
|
private |
|
private |
|
virtual |
Reimplemented from XrdCryptoCipher.
|
virtual |
Reimplemented from XrdCryptoCipher.
|
virtual |
Reimplemented from XrdCryptoCipher.
|
virtual |
Reimplemented from XrdCryptoCipher.
|
virtual |
Reimplemented from XrdCryptoCipher.
|
virtual |
Reimplemented from XrdCryptoCipher.
|
private |
|
private |
|
private |
Referenced by IsDefaultLength().
|
private |
|
private |
|
private |
Referenced by IV().
|
private |
Referenced by IV().
|
private |
Referenced by IsValid().