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

Go to the source code of this file.

Macros

#define X509_TRUST_COUNT   (sizeof(trstandard)/sizeof(X509_TRUST))
 

Functions

int X509_check_trust (X509 *x, int id, int flags)
 
int X509_TRUST_get_count (void)
 
X509_TRUSTX509_TRUST_get0 (int idx)
 
int X509_TRUST_get_by_id (int id)
 
int X509_TRUST_set (int *t, int trust)
 
int X509_TRUST_add (int id, int flags, int(*ck)(X509_TRUST *, X509 *, int), char *name, int arg1, void *arg2)
 
void X509_TRUST_cleanup (void)
 
int X509_TRUST_get_flags (X509_TRUST *xp)
 
char * X509_TRUST_get0_name (X509_TRUST *xp)
 
int X509_TRUST_get_trust (X509_TRUST *xp)
 

Variables

int(*)(int, X509 *, int) X509_TRUST_set_default (int(*trust)(int, X509 *, int))
 

Macro Definition Documentation

#define X509_TRUST_COUNT   (sizeof(trstandard)/sizeof(X509_TRUST))

Definition at line 91 of file x509_trs.c.

Function Documentation

int X509_check_trust ( X509 x,
int  id,
int  flags 
)

Definition at line 112 of file x509_trs.c.

int X509_TRUST_add ( int  id,
int  flags,
int(*)(X509_TRUST *, X509 *, int)  ck,
char *  name,
int  arg1,
void arg2 
)

Definition at line 159 of file x509_trs.c.

void X509_TRUST_cleanup ( void  )

Definition at line 221 of file x509_trs.c.

X509_TRUST* X509_TRUST_get0 ( int  idx)

Definition at line 129 of file x509_trs.c.

char* X509_TRUST_get0_name ( X509_TRUST xp)

Definition at line 234 of file x509_trs.c.

int X509_TRUST_get_by_id ( int  id)

Definition at line 136 of file x509_trs.c.

int X509_TRUST_get_count ( void  )

Definition at line 123 of file x509_trs.c.

int X509_TRUST_get_flags ( X509_TRUST xp)

Definition at line 229 of file x509_trs.c.

int X509_TRUST_get_trust ( X509_TRUST xp)

Definition at line 239 of file x509_trs.c.

int X509_TRUST_set ( int *  t,
int  trust 
)

Definition at line 149 of file x509_trs.c.

Variable Documentation

int(*)(int, X509 *, int) X509_TRUST_set_default(int(*trust)(int, X509 *, int))

Definition at line 103 of file x509_trs.c.