#include <openssl/ssl.h>
Go to the source code of this file.
Defines | |
#define | GRST_VERIFY_OPTIONAL_NO_CA 1 |
Functions | |
int | GRST_X509_set_log_fd (FILE *fd) |
int | GRST_verify_cert_wrapper (X509_STORE_CTX *ctx, void *p) |
int | GRST_X509_check_issued_wrapper (X509_STORE_CTX *ctx, X509 *x, X509 *issuer) |
int | GRST_callback_SSLVerify_wrapper (int ok, X509_STORE_CTX *ctx) |
void | GRST_print_ssl_creds (void *grst_chain) |
char * | GRST_get_voms_roles_and_free (void *grst_chain) |
void | GRST_free_chain (void *grst_chain) |
X509_STORE * | SSL_X509_STORE_create (char *cpFile, char *cpPath) |
int | SSL_X509_STORE_lookup (X509_STORE *pStore, int nType, X509_NAME *pName, X509_OBJECT *pObj) |
Variables | |
X509_STORE * | grst_store |
int | grst_verify |
int | grst_depth |
char * | grst_vomsdir |
char * | grst_cadir |
#define GRST_VERIFY_OPTIONAL_NO_CA 1 |
int GRST_callback_SSLVerify_wrapper | ( | int | ok, | |
X509_STORE_CTX * | ctx | |||
) |
Definition at line 114 of file grst_verifycallback.c.
References FALSE, grst_cadir, GRST_LOG_DEBUG, GRST_LOG_ERR, GRST_LOG_INFO, GRST_RET_OK, grst_vomsdir, GRSTerrorLog, GRSTx509ChainFree(), GRSTx509ChainLoadCheck(), GRSTx509KnownCriticalExts(), NULL, ssl_callback_SSLVerify(), TRUE, and X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION.
Referenced by XrdSecProtocolssl::secClient(), and XrdSecProtocolsslInit().
void GRST_free_chain | ( | void * | grst_chain | ) |
Definition at line 320 of file grst_verifycallback.c.
References GRSTx509ChainFree().
Referenced by XrdSecProtocolssl::secServer().
char* GRST_get_voms_roles_and_free | ( | void * | grst_chain | ) |
Definition at line 252 of file grst_verifycallback.c.
References GRSTx509Cert::delegation, GRSTx509Chain::firstcert, GRST_CERT_TYPE_EEC, GRST_CERT_TYPE_PROXY, GRST_CERT_TYPE_VOMS, GRST_LOG_DEBUG, GRST_LOG_INFO, GRSTerrorLog, GRSTx509ChainFree(), i, malloc(), GRSTx509Cert::next, GRSTx509Cert::notafter, GRSTx509Cert::notbefore, NULL, strcat(), GRSTx509Cert::type, and GRSTx509Cert::value.
Referenced by XrdSecProtocolssl::secClient(), and XrdSecProtocolssl::secServer().
void GRST_print_ssl_creds | ( | void * | grst_chain | ) |
Definition at line 209 of file grst_verifycallback.c.
References GRSTx509Cert::delegation, GRSTx509Cert::dn, GRSTx509Chain::firstcert, GRST_CERT_TYPE_EEC, GRST_CERT_TYPE_PROXY, GRST_CERT_TYPE_VOMS, GRST_LOG_DEBUG, GRST_LOG_INFO, GRSTerrorLog, i, GRSTx509Cert::next, GRSTx509Cert::notafter, GRSTx509Cert::notbefore, NULL, GRSTx509Cert::type, and GRSTx509Cert::value.
Referenced by XrdSecProtocolssl::secClient(), and XrdSecProtocolssl::secServer().
int GRST_verify_cert_wrapper | ( | X509_STORE_CTX * | ctx, | |
void * | p | |||
) |
Definition at line 98 of file grst_verifycallback.c.
References GRST_X509_check_issued_wrapper().
Referenced by XrdSecProtocolssl::secClient(), and XrdSecProtocolsslInit().
int GRST_X509_check_issued_wrapper | ( | X509_STORE_CTX * | ctx, | |
X509 * | x, | |||
X509 * | issuer | |||
) |
int GRST_X509_set_log_fd | ( | FILE * | fd | ) |
X509_STORE* SSL_X509_STORE_create | ( | char * | cpFile, | |
char * | cpPath | |||
) |
Definition at line 604 of file grst_verifycallback.c.
References NULL.
Referenced by XrdSecProtocolssl::secServer(), and XrdSecProtocolsslInit().
int SSL_X509_STORE_lookup | ( | X509_STORE * | pStore, | |
int | nType, | |||
X509_NAME * | pName, | |||
X509_OBJECT * | pObj | |||
) |
Definition at line 630 of file grst_verifycallback.c.
References NULL.
Referenced by ssl_callback_SSLVerify_CRL().
char* grst_cadir |
Definition at line 61 of file grst_verifycallback.c.
Referenced by GRST_callback_SSLVerify_wrapper(), XrdSecProtocolssl::secClient(), and XrdSecProtocolsslInit().
int grst_depth |
Definition at line 60 of file grst_verifycallback.c.
Referenced by XrdSecProtocolssl::secClient(), ssl_callback_SSLVerify(), and XrdSecProtocolsslInit().
X509_STORE* grst_store |
int grst_verify |
char* grst_vomsdir |
Definition at line 62 of file grst_verifycallback.c.
Referenced by GRST_callback_SSLVerify_wrapper(), XrdSecProtocolssl::secClient(), and XrdSecProtocolsslInit().