OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
x509_vpm.c File Reference
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/crypto.h>
#include <openssl/lhash.h>
#include <openssl/buffer.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

Go to the source code of this file.

Macros

#define test_x509_verify_param_copy(field, def)
 
#define x509_verify_param_copy(field, def)
 

Functions

X509_VERIFY_PARAMX509_VERIFY_PARAM_new (void)
 
void X509_VERIFY_PARAM_free (X509_VERIFY_PARAM *param)
 
int X509_VERIFY_PARAM_inherit (X509_VERIFY_PARAM *dest, const X509_VERIFY_PARAM *src)
 
int X509_VERIFY_PARAM_set1 (X509_VERIFY_PARAM *to, const X509_VERIFY_PARAM *from)
 
int X509_VERIFY_PARAM_set1_name (X509_VERIFY_PARAM *param, const char *name)
 
int X509_VERIFY_PARAM_set_flags (X509_VERIFY_PARAM *param, unsigned long flags)
 
int X509_VERIFY_PARAM_clear_flags (X509_VERIFY_PARAM *param, unsigned long flags)
 
unsigned long X509_VERIFY_PARAM_get_flags (X509_VERIFY_PARAM *param)
 
int X509_VERIFY_PARAM_set_purpose (X509_VERIFY_PARAM *param, int purpose)
 
int X509_VERIFY_PARAM_set_trust (X509_VERIFY_PARAM *param, int trust)
 
void X509_VERIFY_PARAM_set_depth (X509_VERIFY_PARAM *param, int depth)
 
void X509_VERIFY_PARAM_set_time (X509_VERIFY_PARAM *param, time_t t)
 
int X509_VERIFY_PARAM_add0_policy (X509_VERIFY_PARAM *param, ASN1_OBJECT *policy)
 
int X509_VERIFY_PARAM_set1_policies (X509_VERIFY_PARAM *param, STACK_OF(ASN1_OBJECT)*policies)
 
int X509_VERIFY_PARAM_get_depth (const X509_VERIFY_PARAM *param)
 
 DECLARE_OBJ_BSEARCH_CMP_FN (X509_VERIFY_PARAM, X509_VERIFY_PARAM, table)
 
 IMPLEMENT_OBJ_BSEARCH_CMP_FN (X509_VERIFY_PARAM, X509_VERIFY_PARAM, table)
 
int X509_VERIFY_PARAM_add0_table (X509_VERIFY_PARAM *param)
 
const X509_VERIFY_PARAMX509_VERIFY_PARAM_lookup (const char *name)
 
void X509_VERIFY_PARAM_table_cleanup (void)
 

Macro Definition Documentation

#define test_x509_verify_param_copy (   field,
  def 
)
Value:
(to_overwrite || \
((src->field != def) && (to_default || (dest->field == def))))

Definition at line 136 of file x509_vpm.c.

#define x509_verify_param_copy (   field,
  def 
)
Value:
if (test_x509_verify_param_copy(field, def)) \
dest->field = src->field

Definition at line 142 of file x509_vpm.c.

Function Documentation

DECLARE_OBJ_BSEARCH_CMP_FN ( X509_VERIFY_PARAM  ,
X509_VERIFY_PARAM  ,
table   
)
IMPLEMENT_OBJ_BSEARCH_CMP_FN ( X509_VERIFY_PARAM  ,
X509_VERIFY_PARAM  ,
table   
)
int X509_VERIFY_PARAM_add0_policy ( X509_VERIFY_PARAM param,
ASN1_OBJECT policy 
)

Definition at line 260 of file x509_vpm.c.

int X509_VERIFY_PARAM_add0_table ( X509_VERIFY_PARAM param)

Definition at line 391 of file x509_vpm.c.

int X509_VERIFY_PARAM_clear_flags ( X509_VERIFY_PARAM param,
unsigned long  flags 
)

Definition at line 228 of file x509_vpm.c.

void X509_VERIFY_PARAM_free ( X509_VERIFY_PARAM param)

Definition at line 97 of file x509_vpm.c.

int X509_VERIFY_PARAM_get_depth ( const X509_VERIFY_PARAM param)

Definition at line 309 of file x509_vpm.c.

unsigned long X509_VERIFY_PARAM_get_flags ( X509_VERIFY_PARAM param)

Definition at line 234 of file x509_vpm.c.

int X509_VERIFY_PARAM_inherit ( X509_VERIFY_PARAM dest,
const X509_VERIFY_PARAM src 
)

Definition at line 147 of file x509_vpm.c.

const X509_VERIFY_PARAM* X509_VERIFY_PARAM_lookup ( const char *  name)

Definition at line 416 of file x509_vpm.c.

X509_VERIFY_PARAM* X509_VERIFY_PARAM_new ( void  )

Definition at line 88 of file x509_vpm.c.

int X509_VERIFY_PARAM_set1 ( X509_VERIFY_PARAM to,
const X509_VERIFY_PARAM from 
)

Definition at line 199 of file x509_vpm.c.

int X509_VERIFY_PARAM_set1_name ( X509_VERIFY_PARAM param,
const char *  name 
)

Definition at line 210 of file x509_vpm.c.

int X509_VERIFY_PARAM_set1_policies ( X509_VERIFY_PARAM param,
STACK_OF(ASN1_OBJECT)*  policies 
)

Definition at line 273 of file x509_vpm.c.

void X509_VERIFY_PARAM_set_depth ( X509_VERIFY_PARAM param,
int  depth 
)

Definition at line 249 of file x509_vpm.c.

int X509_VERIFY_PARAM_set_flags ( X509_VERIFY_PARAM param,
unsigned long  flags 
)

Definition at line 220 of file x509_vpm.c.

int X509_VERIFY_PARAM_set_purpose ( X509_VERIFY_PARAM param,
int  purpose 
)

Definition at line 239 of file x509_vpm.c.

void X509_VERIFY_PARAM_set_time ( X509_VERIFY_PARAM param,
time_t  t 
)

Definition at line 254 of file x509_vpm.c.

int X509_VERIFY_PARAM_set_trust ( X509_VERIFY_PARAM param,
int  trust 
)

Definition at line 244 of file x509_vpm.c.

void X509_VERIFY_PARAM_table_cleanup ( void  )

Definition at line 432 of file x509_vpm.c.