XrdCryptosslAux.hh File Reference
#include "XrdCrypto/XrdCryptoAux.hh"
#include "XrdCrypto/XrdCryptoFactory.hh"
#include "XrdCrypto/XrdCryptoX509Chain.hh"
#include <openssl/asn1.h>
Go to the source code of this file.
Defines |
#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) |
XrdSutBucket * | XrdCryptosslX509ExportChain (XrdCryptoX509Chain *c, bool key=0) |
int | XrdCryptosslX509ChainToFile (XrdCryptoX509Chain *c, const char *fn) |
int | XrdCryptosslX509ParseFile (const char *fname, XrdCryptoX509Chain *c) |
int | XrdCryptosslX509ParseBucket (XrdSutBucket *b, XrdCryptoX509Chain *c) |
int | XrdCryptosslX509ParseStack (void *ssl, 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 &) |
Define Documentation
#define kErrPX_BadEECfile 2 |
#define kErrPX_BadEECkey 3 |
#define kErrPX_BadExtension 13 |
#define kErrPX_BadNames 11 |
#define kErrPX_BadSerial 12 |
#define kErrPX_ExpiredEEC 4 |
#define kErrPX_GenerateKey 9 |
#define kErrPX_NoResources 5 |
#define kErrPX_ProxyFile 10 |
#define kErrPX_SetAttribute 6 |
#define kErrPX_SetPathDepth 7 |
#define kSslKDFunDefLen 24 |
#define sslTRACE_ALL 0x0007 |
#define sslTRACE_Debug 0x0002 |
#define sslTRACE_Dump 0x0004 |
#define sslTRACE_Notify 0x0001 |
Function Documentation
time_t XrdCryptosslASN1toUTC |
( |
const ASN1_TIME * |
tsn1 |
) |
|
int XrdCryptosslKDFun |
( |
const char * |
pass, |
|
|
int |
plen, |
|
|
const char * |
salt, |
|
|
int |
slen, |
|
|
char * |
key, |
|
|
int |
len | |
|
) |
| | |
int XrdCryptosslKDFunLen |
( |
|
) |
|
void XrdCryptosslNameOneLine |
( |
X509_NAME * |
nm, |
|
|
XrdOucString & |
s | |
|
) |
| | |
bool XrdCryptosslProxyCertInfo |
( |
const void * |
ext, |
|
|
int & |
pathlen, |
|
|
bool * |
haspolicy = 0 | |
|
) |
| | |
void XrdCryptosslSetPathLenConstraint |
( |
void * |
ext, |
|
|
int |
pathlen | |
|
) |
| | |