1#ifndef __CRYPTO_SSLAUX_H__
2#define __CRYPTO_SSLAUX_H__
40#include <openssl/asn1.h>
42#define kSslKDFunDefLen 24
103#define sslTRACE_ALL 0x0007
104#define sslTRACE_Dump 0x0004
105#define sslTRACE_Debug 0x0002
106#define sslTRACE_Notify 0x0001
111#define kErrPX_Error 1
112#define kErrPX_BadEECfile 2
113#define kErrPX_BadEECkey 3
114#define kErrPX_ExpiredEEC 4
115#define kErrPX_NoResources 5
116#define kErrPX_SetAttribute 6
117#define kErrPX_SetPathDepth 7
118#define kErrPX_Signing 8
119#define kErrPX_GenerateKey 9
120#define kErrPX_ProxyFile 10
121#define kErrPX_BadNames 11
122#define kErrPX_BadSerial 12
123#define kErrPX_BadExtension 13
void XrdCryptosslSetPathLenConstraint(void *ext, int pathlen)
void XrdCryptosslNameOneLine(X509_NAME *nm, XrdOucString &s)
int XrdCryptosslX509CheckProxy3(XrdCryptoX509 *, XrdOucString &)
int XrdCryptosslKDFunLen()
int XrdCryptosslX509ToFile(XrdCryptoX509 *x509, FILE *file, const char *fname)
int XrdCryptosslKDFun(const char *pass, int plen, const char *salt, int slen, char *key, int len)
bool XrdCryptosslX509VerifyCert(XrdCryptoX509 *c, XrdCryptoX509 *r)
int XrdCryptosslX509SignProxyReq(XrdCryptoX509 *, XrdCryptoRSA *, XrdCryptoX509Req *, XrdCryptoX509 **)
bool XrdCryptosslProxyCertInfo(const void *ext, int &pathlen, bool *haspolicy=0)
int XrdCryptosslX509ParseStack(XrdTlsPeerCerts *pc, XrdCryptoX509Chain *chain)
int XrdCryptosslX509ChainToFile(XrdCryptoX509Chain *c, const char *fn)
int XrdCryptosslX509ParseBucket(XrdSutBucket *b, XrdCryptoX509Chain *c)
int XrdCryptosslX509CreateProxyReq(XrdCryptoX509 *, XrdCryptoX509Req **, XrdCryptoRSA **)
int XrdCryptosslX509CreateProxy(const char *, const char *, XrdProxyOpt_t *, XrdCryptogsiX509Chain *, XrdCryptoRSA **, const char *)
time_t XrdCryptosslASN1toUTC(const ASN1_TIME *tsn1)
int XrdCryptosslX509GetVOMSAttr(XrdCryptoX509 *, XrdOucString &)
XrdSutBucket * XrdCryptosslX509ExportChain(XrdCryptoX509Chain *c, bool key=0)
bool XrdCryptosslX509VerifyChain(XrdCryptoX509Chain *chain, int &errcode)
int XrdCryptosslX509ParseFile(const char *fname, XrdCryptoX509Chain *c, const char *fkey=0)
Definition XrdCryptoRSA.hh:51
Definition XrdCryptoX509Chain.hh:80
Definition XrdCryptoX509Req.hh:50
Definition XrdCryptoX509.hh:51
Definition XrdCryptogsiX509Chain.hh:50
Definition XrdOucString.hh:254
Definition XrdSutBucket.hh:44
Definition XrdTlsPeerCerts.hh:35
Definition XrdCryptoFactory.hh:100