webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Functions | Variables
x509_trs.c File Reference
#include <openssl/buf.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>

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

◆ X509_TRUST_COUNT

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

Function Documentation

◆ X509_check_trust()

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

◆ X509_TRUST_add()

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

◆ X509_TRUST_cleanup()

void X509_TRUST_cleanup ( void  )

◆ X509_TRUST_get0()

X509_TRUST* X509_TRUST_get0 ( int  idx)

◆ X509_TRUST_get0_name()

char* X509_TRUST_get0_name ( X509_TRUST xp)

◆ X509_TRUST_get_by_id()

int X509_TRUST_get_by_id ( int  id)

◆ X509_TRUST_get_count()

int X509_TRUST_get_count ( void  )

◆ X509_TRUST_get_flags()

int X509_TRUST_get_flags ( X509_TRUST xp)

◆ X509_TRUST_get_trust()

int X509_TRUST_get_trust ( X509_TRUST xp)

◆ X509_TRUST_set()

int X509_TRUST_set ( int *  t,
int  trust 
)

Variable Documentation

◆ X509_TRUST_set_default

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