Classes | Defines | Typedefs | Functions | Variables
curlx.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <curl/curl.h>
#include <openssl/x509v3.h>
#include <openssl/x509_vfy.h>
#include <openssl/crypto.h>
#include <openssl/lhash.h>
#include <openssl/objects.h>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/pkcs12.h>
#include <openssl/bio.h>
#include <openssl/ssl.h>
Include dependency graph for curlx.c:

Go to the source code of this file.

Classes

struct  sslctxparm_st

Defines

#define ZERO_NULL   0

Typedefs

typedef struct sslctxparm_st sslctxparm

Functions

static char * ia5string (ASN1_IA5STRING *ia5)
int main (int argc, char **argv)
static unsigned char * my_get_ext (X509 *cert, const int type, int extensiontype)
static int ssl_app_verify_callback (X509_STORE_CTX *ctx, void *arg)
static CURLcode sslctxfun (CURL *curl, void *sslctx, void *parm)

Variables

static const char * curlx_usage []

Define Documentation

#define ZERO_NULL   0

Definition at line 131 of file curlx.c.


Typedef Documentation

typedef struct sslctxparm_st sslctxparm

Function Documentation

static char* ia5string ( ASN1_IA5STRING *  ia5) [static]

Definition at line 151 of file curlx.c.

int main ( int  argc,
char **  argv 
)

Definition at line 269 of file curlx.c.

static unsigned char* my_get_ext ( X509 *  cert,
const int  type,
int  extensiontype 
) [static]

Definition at line 163 of file curlx.c.

static int ssl_app_verify_callback ( X509_STORE_CTX *  ctx,
void *  arg 
) [static]

Definition at line 190 of file curlx.c.

static CURLcode sslctxfun ( CURL curl,
void *  sslctx,
void *  parm 
) [static]

Definition at line 232 of file curlx.c.


Variable Documentation

const char* curlx_usage[] [static]
Initial value:
{
  "usage: curlx args\n",
  " -p12 arg         - tia  file ",
  " -envpass arg     - environement variable which content the tia private"
  " key password",
  " -out arg         - output file (response)- default stdout",
  " -in arg          - input file (request)- default stdin",
  " -connect arg     - URL of the server for the connection ex:"
  " www.openevidence.org",
  " -mimetype arg    - MIME type for data in ex : application/timestamp-query"
  " or application/dvcs -default application/timestamp-query",
  " -acceptmime arg  - MIME type acceptable for the response ex : "
  "application/timestamp-response or application/dvcs -default none",
  " -accesstype arg  - an Object identifier in an AIA/SIA method, e.g."
  " AD_DVCS or ad_timestamping",
  NULL
}

Definition at line 101 of file curlx.c.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:08