Go to the documentation of this file.
   62 #include "../x509v3/internal.h" 
  100 #define X509_TRUST_COUNT        (sizeof(trstandard)/sizeof(X509_TRUST)) 
  106     return (*a)->trust - (*b)->trust;
 
  164     sk_X509_TRUST_sort(trtable);
 
  165     if (!sk_X509_TRUST_find(trtable, &
idx, &
tmp)) {
 
  182                    char *
name, 
int arg1, 
void *arg2)
 
  208     if (name_dup == NULL) {
 
  218     trtmp->
name = name_dup;
 
  231         if (!trtable && !(trtable = sk_X509_TRUST_new(
tr_cmp))) {
 
  236         if (!sk_X509_TRUST_push(trtable, trtmp)) {
 
  282     if (
x->aux && (
x->aux->trust || 
x->aux->reject))
 
  317         for (
i = 0; 
i < sk_ASN1_OBJECT_num(ax->reject); 
i++) {
 
  318             obj = sk_ASN1_OBJECT_value(ax->reject, 
i);
 
  324         for (
i = 0; 
i < sk_ASN1_OBJECT_num(ax->trust); 
i++) {
 
  325             obj = sk_ASN1_OBJECT_value(ax->trust, 
i);
 
  
int(*)(int, X509 *, int) X509_TRUST_set_default(int(*trust)(int, X509 *, int))
int X509_TRUST_get_count(void)
OPENSSL_EXPORT const ASN1_OBJECT * obj
#define X509_TRUST_DYNAMIC
int X509_TRUST_get_trust(const X509_TRUST *xp)
#define X509_TRUST_OBJECT_SIGN
int(* check_trust)(struct x509_trust_st *, X509 *, int)
#define NID_anyExtendedKeyUsage
#define X509_TRUST_SSL_SERVER
#define OPENSSL_PUT_ERROR(library, reason)
X509_TRUST * X509_TRUST_get0(int idx)
#define X509_TRUST_OCSP_SIGN
static int tr_cmp(const X509_TRUST **a, const X509_TRUST **b)
#define X509_TRUST_TRUSTED
void X509_TRUST_cleanup(void)
int X509_TRUST_add(int id, int flags, int(*ck)(X509_TRUST *, X509 *, int), char *name, int arg1, void *arg2)
static int trust_1oid(X509_TRUST *trust, X509 *x, int flags)
#define X509_TRUST_OCSP_REQUEST
#define x509v3_cache_extensions
#define X509_R_INVALID_TRUST
static int obj_trust(int id, X509 *x, int flags)
int X509_TRUST_get_flags(const X509_TRUST *xp)
#define NID_email_protect
static X509_TRUST trstandard[]
#define X509_TRUST_DYNAMIC_NAME
int X509_TRUST_get_by_id(int id)
static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags)
static void trtable_free(X509_TRUST *p)
#define X509_TRUST_UNTRUSTED
static STACK_OF(X509_TRUST)
static int(* default_trust)(int id, X509 *x, int flags)
char * X509_TRUST_get0_name(const X509_TRUST *xp)
int X509_TRUST_set(int *t, int trust)
#define X509_TRUST_COMPAT
#define X509_TRUST_SSL_CLIENT
static int trust_compat(X509_TRUST *trust, X509 *x, int flags)
#define ERR_R_MALLOC_FAILURE
#define X509_TRUST_REJECTED
int X509_check_trust(X509 *x, int id, int flags)
grpc
Author(s): 
autogenerated on Fri May 16 2025 03:00:55