#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <pwd.h>
#include <XrdOuc/XrdOucString.hh>
#include <XrdSys/XrdSysLogger.hh>
#include <XrdSys/XrdSysError.hh>
#include <XrdSut/XrdSutAux.hh>
#include <XrdCrypto/XrdCryptoAux.hh>
#include <XrdCrypto/XrdCryptoFactory.hh>
#include <XrdCrypto/XrdCryptoX509.hh>
#include <XrdCrypto/XrdCryptoX509Req.hh>
#include <XrdCrypto/XrdCryptoX509Chain.hh>
#include <XrdCrypto/XrdCryptoX509Crl.hh>
#include <XrdCrypto/XrdCryptosslgsiX509Chain.hh>
#include <XrdCrypto/XrdCryptosslgsiAux.hh>
#include <XrdSecgsi/XrdSecgsiTrace.hh>
#include <openssl/x509v3.h>
#include <openssl/x509.h>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
Variables | |
const char * | XrdSecgsitestCVSID = "$Id: XrdSecgsitest.cc 30949 2009-11-02 16:37:58Z ganis $" |
XrdCryptoFactory * | gCryptoFactory = 0 |
XrdOucString | EEcert = "" |
XrdOucString | EEkey = "" |
XrdOucString | PXcert = "" |
XrdOucString | PPXcert = "" |
XrdOucString | CAdir = "/etc/grid-security/certificates/" |
int | CAnum = 0 |
XrdOucString | CAcert [5] |
static XrdSysLogger | Logger |
static XrdSysError | eDest (0,"gsitest_") |
XrdOucTrace * | gsiTrace = 0 |
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 56 of file XrdSecgsitest.cc.
References XrdOucString::c_str(), CAcert, CAdir, chain, cryptoTRACE_Debug, XrdCryptoX509Req::Dump(), XrdCryptoX509Chain::Dump(), XrdCryptoX509Crl::Dump(), TObject::Dump(), XrdCryptoX509::Dump(), eDest, EEcert, EEkey, XrdOucString::endswith(), EPNAME, gCryptoFactory, XrdCryptoFactory::GetCryptoFactory(), getenv(), XrdCryptoX509::GetExtension(), gsiTrace, if(), int, XrdCryptoX509Crl::IsRevoked(), XrdCryptoX509::IssuerHash(), k, XrdCryptoX509Chain::kNone, kOptsRfc3820, Logger, XrdSysError::logger(), ok, XrdCryptoRSA::Opaque(), p, PPXcert, PRINT, XrdCryptoX509Chain::PushBack(), passwd::pw_dir, passwd::pw_name, passwd::pw_uid, PXcert, XrdCryptoX509Chain::Reorder(), XrdCryptoX509::SetPKI(), XrdCryptoFactory::SetTrace(), strcpy(), sutTRACE_Debug, TRACE_Authen, TRACE_Debug, XrdCryptoX509::Verify(), XrdCryptoX509Chain::Verify(), XrdCryptosslgsiX509Chain::Verify(), XrdCryptoX509Crl::Verify(), XrdOucTrace::What, x20, XrdCryptoFactory::X509(), XrdCryptoFactory::X509ChainToFile(), XrdCryptoFactory::X509Crl(), XrdCryptoFactory::X509ExportChain(), XrdCryptoFactory::X509ParseBucket(), XrdCryptoFactory::X509ParseFile(), XrdCryptoFactory::X509VerifyCert(), XrdCryptoSetTrace(), XrdSslgsiX509CreateProxy(), XrdSslgsiX509CreateProxyReq(), XrdSslgsiX509SignProxyReq(), and XrdSutSetTrace().
XrdOucString CAdir = "/etc/grid-security/certificates/" |
Definition at line 46 of file XrdSecgsitest.cc.
int CAnum = 0 |
Definition at line 47 of file XrdSecgsitest.cc.
XrdSysError eDest(0,"gsitest_") [static] |
XrdOucString EEcert = "" |
Definition at line 42 of file XrdSecgsitest.cc.
XrdOucString EEkey = "" |
Definition at line 43 of file XrdSecgsitest.cc.
Definition at line 40 of file XrdSecgsitest.cc.
XrdOucTrace* gsiTrace = 0 |
Definition at line 54 of file XrdSecgsitest.cc.
XrdSysLogger Logger [static] |
Definition at line 52 of file XrdSecgsitest.cc.
XrdOucString PPXcert = "" |
XrdOucString PXcert = "" |
Definition at line 44 of file XrdSecgsitest.cc.
const char* XrdSecgsitestCVSID = "$Id: XrdSecgsitest.cc 30949 2009-11-02 16:37:58Z ganis $" |
Definition at line 3 of file XrdSecgsitest.cc.