1#ifndef __CRYPTO_SSLRSA_H__
2#define __CRYPTO_SSLRSA_H__
39#include <openssl/evp.h>
#define XrdCryptoMinRSABits
Definition XrdCryptoAux.hh:52
#define XrdCryptoDefRSAExp
Definition XrdCryptoAux.hh:54
void * XrdCryptoRSAdata
Definition XrdCryptoRSA.hh:43
Definition XrdCryptoRSA.hh:51
Definition XrdCryptosslRSA.hh:47
virtual ~XrdCryptosslRSA()
int EncryptPrivate(const char *in, int lin, char *out, int lout)
int publen
Definition XrdCryptosslRSA.hh:50
int ExportPublic(char *out, int lout)
int ImportPublic(const char *in, int lin)
int prilen
Definition XrdCryptosslRSA.hh:51
XrdCryptosslRSA(int bits=XrdCryptoMinRSABits, int exp=XrdCryptoDefRSAExp)
int DecryptPrivate(const char *in, int lin, char *out, int lout)
EVP_PKEY * fEVP
Definition XrdCryptosslRSA.hh:49
int ExportPrivate(char *out, int lout)
XrdCryptosslRSA(const char *pub, int lpub=0)
XrdCryptosslRSA(EVP_PKEY *key, bool check=1)
int ImportPrivate(const char *in, int lin)
XrdCryptoRSAdata Opaque()
Definition XrdCryptosslRSA.hh:61
XrdCryptosslRSA(const XrdCryptosslRSA &r)
int EncryptPublic(const char *in, int lin, char *out, int lout)
int DecryptPublic(const char *in, int lin, char *out, int lout)