xrootd
Loading...
Searching...
No Matches
Macros | Functions
XrdCryptosslAux.hh File Reference
#include "XrdCrypto/XrdCryptoAux.hh"
#include "XrdCrypto/XrdCryptoFactory.hh"
#include "XrdCrypto/XrdCryptoX509Chain.hh"
#include <openssl/asn1.h>
Include dependency graph for XrdCryptosslAux.hh:

Go to the source code of this file.

Macros

#define kSslKDFunDefLen   24
 
#define sslTRACE_ALL   0x0007
 
#define sslTRACE_Dump   0x0004
 
#define sslTRACE_Debug   0x0002
 
#define sslTRACE_Notify   0x0001
 
#define kErrPX_Error   1
 
#define kErrPX_BadEECfile   2
 
#define kErrPX_BadEECkey   3
 
#define kErrPX_ExpiredEEC   4
 
#define kErrPX_NoResources   5
 
#define kErrPX_SetAttribute   6
 
#define kErrPX_SetPathDepth   7
 
#define kErrPX_Signing   8
 
#define kErrPX_GenerateKey   9
 
#define kErrPX_ProxyFile   10
 
#define kErrPX_BadNames   11
 
#define kErrPX_BadSerial   12
 
#define kErrPX_BadExtension   13
 

Functions

int XrdCryptosslKDFunLen ()
 
int XrdCryptosslKDFun (const char *pass, int plen, const char *salt, int slen, char *key, int len)
 
bool XrdCryptosslX509VerifyCert (XrdCryptoX509 *c, XrdCryptoX509 *r)
 
bool XrdCryptosslX509VerifyChain (XrdCryptoX509Chain *chain, int &errcode)
 
XrdSutBucketXrdCryptosslX509ExportChain (XrdCryptoX509Chain *c, bool key=0)
 
int XrdCryptosslX509ChainToFile (XrdCryptoX509Chain *c, const char *fn)
 
int XrdCryptosslX509ToFile (XrdCryptoX509 *x509, FILE *file, const char *fname)
 
int XrdCryptosslX509ParseFile (const char *fname, XrdCryptoX509Chain *c, const char *fkey=0)
 
int XrdCryptosslX509ParseFile (FILE *file, XrdCryptoX509Chain *c, const char *fname, const char *fkey=0)
 
int XrdCryptosslX509ParseBucket (XrdSutBucket *b, XrdCryptoX509Chain *c)
 
int XrdCryptosslX509ParseStack (XrdTlsPeerCerts *pc, XrdCryptoX509Chain *chain)
 
time_t XrdCryptosslASN1toUTC (const ASN1_TIME *tsn1)
 
void XrdCryptosslNameOneLine (X509_NAME *nm, XrdOucString &s)
 
bool XrdCryptosslProxyCertInfo (const void *ext, int &pathlen, bool *haspolicy=0)
 
void XrdCryptosslSetPathLenConstraint (void *ext, int pathlen)
 
int XrdCryptosslX509CreateProxy (const char *, const char *, XrdProxyOpt_t *, XrdCryptogsiX509Chain *, XrdCryptoRSA **, const char *)
 
int XrdCryptosslX509CreateProxyReq (XrdCryptoX509 *, XrdCryptoX509Req **, XrdCryptoRSA **)
 
int XrdCryptosslX509SignProxyReq (XrdCryptoX509 *, XrdCryptoRSA *, XrdCryptoX509Req *, XrdCryptoX509 **)
 
int XrdCryptosslX509CheckProxy3 (XrdCryptoX509 *, XrdOucString &)
 
int XrdCryptosslX509GetVOMSAttr (XrdCryptoX509 *, XrdOucString &)
 

Macro Definition Documentation

◆ kErrPX_BadEECfile

#define kErrPX_BadEECfile   2

◆ kErrPX_BadEECkey

#define kErrPX_BadEECkey   3

◆ kErrPX_BadExtension

#define kErrPX_BadExtension   13

◆ kErrPX_BadNames

#define kErrPX_BadNames   11

◆ kErrPX_BadSerial

#define kErrPX_BadSerial   12

◆ kErrPX_Error

#define kErrPX_Error   1

◆ kErrPX_ExpiredEEC

#define kErrPX_ExpiredEEC   4

◆ kErrPX_GenerateKey

#define kErrPX_GenerateKey   9

◆ kErrPX_NoResources

#define kErrPX_NoResources   5

◆ kErrPX_ProxyFile

#define kErrPX_ProxyFile   10

◆ kErrPX_SetAttribute

#define kErrPX_SetAttribute   6

◆ kErrPX_SetPathDepth

#define kErrPX_SetPathDepth   7

◆ kErrPX_Signing

#define kErrPX_Signing   8

◆ kSslKDFunDefLen

#define kSslKDFunDefLen   24

◆ sslTRACE_ALL

#define sslTRACE_ALL   0x0007

◆ sslTRACE_Debug

#define sslTRACE_Debug   0x0002

◆ sslTRACE_Dump

#define sslTRACE_Dump   0x0004

◆ sslTRACE_Notify

#define sslTRACE_Notify   0x0001

Function Documentation

◆ XrdCryptosslASN1toUTC()

time_t XrdCryptosslASN1toUTC ( const ASN1_TIME * tsn1)

◆ XrdCryptosslKDFun()

int XrdCryptosslKDFun ( const char * pass,
int plen,
const char * salt,
int slen,
char * key,
int len )

◆ XrdCryptosslKDFunLen()

int XrdCryptosslKDFunLen ( )

◆ XrdCryptosslNameOneLine()

void XrdCryptosslNameOneLine ( X509_NAME * nm,
XrdOucString & s )

◆ XrdCryptosslProxyCertInfo()

bool XrdCryptosslProxyCertInfo ( const void * ext,
int & pathlen,
bool * haspolicy = 0 )

◆ XrdCryptosslSetPathLenConstraint()

void XrdCryptosslSetPathLenConstraint ( void * ext,
int pathlen )

◆ XrdCryptosslX509ChainToFile()

int XrdCryptosslX509ChainToFile ( XrdCryptoX509Chain * c,
const char * fn )

◆ XrdCryptosslX509CheckProxy3()

int XrdCryptosslX509CheckProxy3 ( XrdCryptoX509 * ,
XrdOucString &  )

◆ XrdCryptosslX509CreateProxy()

int XrdCryptosslX509CreateProxy ( const char * ,
const char * ,
XrdProxyOpt_t * ,
XrdCryptogsiX509Chain * ,
XrdCryptoRSA ** ,
const char *  )

◆ XrdCryptosslX509CreateProxyReq()

int XrdCryptosslX509CreateProxyReq ( XrdCryptoX509 * ,
XrdCryptoX509Req ** ,
XrdCryptoRSA **  )

◆ XrdCryptosslX509ExportChain()

XrdSutBucket * XrdCryptosslX509ExportChain ( XrdCryptoX509Chain * c,
bool key = 0 )

◆ XrdCryptosslX509GetVOMSAttr()

int XrdCryptosslX509GetVOMSAttr ( XrdCryptoX509 * ,
XrdOucString &  )

◆ XrdCryptosslX509ParseBucket()

int XrdCryptosslX509ParseBucket ( XrdSutBucket * b,
XrdCryptoX509Chain * c )

◆ XrdCryptosslX509ParseFile() [1/2]

int XrdCryptosslX509ParseFile ( const char * fname,
XrdCryptoX509Chain * c,
const char * fkey = 0 )

◆ XrdCryptosslX509ParseFile() [2/2]

int XrdCryptosslX509ParseFile ( FILE * file,
XrdCryptoX509Chain * c,
const char * fname,
const char * fkey = 0 )

◆ XrdCryptosslX509ParseStack()

int XrdCryptosslX509ParseStack ( XrdTlsPeerCerts * pc,
XrdCryptoX509Chain * chain )

◆ XrdCryptosslX509SignProxyReq()

int XrdCryptosslX509SignProxyReq ( XrdCryptoX509 * ,
XrdCryptoRSA * ,
XrdCryptoX509Req * ,
XrdCryptoX509 **  )

◆ XrdCryptosslX509ToFile()

int XrdCryptosslX509ToFile ( XrdCryptoX509 * x509,
FILE * file,
const char * fname )

◆ XrdCryptosslX509VerifyCert()

bool XrdCryptosslX509VerifyCert ( XrdCryptoX509 * c,
XrdCryptoX509 * r )

◆ XrdCryptosslX509VerifyChain()

bool XrdCryptosslX509VerifyChain ( XrdCryptoX509Chain * chain,
int & errcode )