XRootD
XrdCryptosslRSA.cc File Reference
#include "XrdSut/XrdSutRndm.hh"
#include "XrdCrypto/XrdCryptosslAux.hh"
#include "XrdCrypto/XrdCryptosslTrace.hh"
#include "XrdCrypto/XrdCryptosslRSA.hh"
#include <cstring>
#include <openssl/bio.h>
#include <openssl/err.h>
#include <openssl/pem.h>
+ Include dependency graph for XrdCryptosslRSA.cc:

Go to the source code of this file.

Functions

static int XrdCheckRSA (EVP_PKEY *pkey)
 

Function Documentation

◆ XrdCheckRSA()

static int XrdCheckRSA ( EVP_PKEY *  pkey)
static

Definition at line 49 of file XrdCryptosslRSA.cc.

49  {
50  int rc;
51  EVP_PKEY_CTX *ckctx = EVP_PKEY_CTX_new(pkey, 0);
52  rc = EVP_PKEY_check(ckctx);
53  EVP_PKEY_CTX_free(ckctx);
54  return rc;
55 }

Referenced by XrdCryptosslRSA::XrdCryptosslRSA().

+ Here is the caller graph for this function: