Functions
x509_lu.c File Reference
#include <string.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/thread.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>
#include "../internal.h"
#include "internal.h"
Include dependency graph for x509_lu.c:

Go to the source code of this file.

Functions

static void cleanup (X509_OBJECT *a)
 
 STACK_OF (X509)
 
 STACK_OF (X509_CRL)
 
 STACK_OF (X509_OBJECT)
 
int X509_LOOKUP_by_alias (X509_LOOKUP *ctx, int type, char *str, int len, X509_OBJECT *ret)
 
int X509_LOOKUP_by_fingerprint (X509_LOOKUP *ctx, int type, unsigned char *bytes, int len, X509_OBJECT *ret)
 
int X509_LOOKUP_by_issuer_serial (X509_LOOKUP *ctx, int type, X509_NAME *name, ASN1_INTEGER *serial, X509_OBJECT *ret)
 
int X509_LOOKUP_by_subject (X509_LOOKUP *ctx, int type, X509_NAME *name, X509_OBJECT *ret)
 
int X509_LOOKUP_ctrl (X509_LOOKUP *ctx, int cmd, const char *argc, long argl, char **ret)
 
void X509_LOOKUP_free (X509_LOOKUP *ctx)
 
int X509_LOOKUP_init (X509_LOOKUP *ctx)
 
X509_LOOKUPX509_LOOKUP_new (X509_LOOKUP_METHOD *method)
 
int X509_LOOKUP_shutdown (X509_LOOKUP *ctx)
 
static int x509_object_cmp (const X509_OBJECT **a, const X509_OBJECT **b)
 
void X509_OBJECT_free_contents (X509_OBJECT *a)
 
X509X509_OBJECT_get0_X509 (const X509_OBJECT *a)
 
int X509_OBJECT_get_type (const X509_OBJECT *a)
 
int X509_OBJECT_idx_by_subject (STACK_OF(X509_OBJECT) *h, int type, X509_NAME *name)
 
static int x509_object_idx_cnt (STACK_OF(X509_OBJECT) *h, int type, X509_NAME *name, int *pnmatch)
 
X509_OBJECTX509_OBJECT_retrieve_by_subject (STACK_OF(X509_OBJECT) *h, int type, X509_NAME *name)
 
X509_OBJECTX509_OBJECT_retrieve_match (STACK_OF(X509_OBJECT) *h, X509_OBJECT *x)
 
int X509_OBJECT_up_ref_count (X509_OBJECT *a)
 
int X509_STORE_add_cert (X509_STORE *ctx, X509 *x)
 
int X509_STORE_add_crl (X509_STORE *ctx, X509_CRL *x)
 
X509_LOOKUPX509_STORE_add_lookup (X509_STORE *v, X509_LOOKUP_METHOD *m)
 
X509_STOREX509_STORE_CTX_get0_store (X509_STORE_CTX *ctx)
 
int X509_STORE_CTX_get1_issuer (X509 **issuer, X509_STORE_CTX *ctx, X509 *x)
 
void X509_STORE_free (X509_STORE *vfy)
 
X509_VERIFY_PARAMX509_STORE_get0_param (X509_STORE *ctx)
 
int X509_STORE_get_by_subject (X509_STORE_CTX *vs, int type, X509_NAME *name, X509_OBJECT *ret)
 
X509_STORE_CTX_cert_crl_fn X509_STORE_get_cert_crl (X509_STORE *ctx)
 
X509_STORE_CTX_check_crl_fn X509_STORE_get_check_crl (X509_STORE *ctx)
 
X509_STORE_CTX_check_issued_fn X509_STORE_get_check_issued (X509_STORE *ctx)
 
X509_STORE_CTX_check_revocation_fn X509_STORE_get_check_revocation (X509_STORE *ctx)
 
X509_STORE_CTX_cleanup_fn X509_STORE_get_cleanup (X509_STORE *ctx)
 
X509_STORE_CTX_get_crl_fn X509_STORE_get_get_crl (X509_STORE *ctx)
 
X509_STORE_CTX_get_issuer_fn X509_STORE_get_get_issuer (X509_STORE *ctx)
 
X509_STORE_CTX_lookup_certs_fn X509_STORE_get_lookup_certs (X509_STORE *ctx)
 
X509_STORE_CTX_lookup_crls_fn X509_STORE_get_lookup_crls (X509_STORE *ctx)
 
X509_STORE_CTX_verify_fn X509_STORE_get_verify (X509_STORE *ctx)
 
X509_STORE_CTX_verify_cb X509_STORE_get_verify_cb (X509_STORE *ctx)
 
X509_STOREX509_STORE_new (void)
 
int X509_STORE_set1_param (X509_STORE *ctx, X509_VERIFY_PARAM *param)
 
void X509_STORE_set_cert_crl (X509_STORE *ctx, X509_STORE_CTX_cert_crl_fn cert_crl)
 
void X509_STORE_set_check_crl (X509_STORE *ctx, X509_STORE_CTX_check_crl_fn check_crl)
 
void X509_STORE_set_check_issued (X509_STORE *ctx, X509_STORE_CTX_check_issued_fn check_issued)
 
void X509_STORE_set_check_revocation (X509_STORE *ctx, X509_STORE_CTX_check_revocation_fn check_revocation)
 
void X509_STORE_set_cleanup (X509_STORE *ctx, X509_STORE_CTX_cleanup_fn ctx_cleanup)
 
int X509_STORE_set_depth (X509_STORE *ctx, int depth)
 
int X509_STORE_set_flags (X509_STORE *ctx, unsigned long flags)
 
void X509_STORE_set_get_crl (X509_STORE *ctx, X509_STORE_CTX_get_crl_fn get_crl)
 
void X509_STORE_set_get_issuer (X509_STORE *ctx, X509_STORE_CTX_get_issuer_fn get_issuer)
 
void X509_STORE_set_lookup_certs (X509_STORE *ctx, X509_STORE_CTX_lookup_certs_fn lookup_certs)
 
void X509_STORE_set_lookup_crls (X509_STORE *ctx, X509_STORE_CTX_lookup_crls_fn lookup_crls)
 
int X509_STORE_set_purpose (X509_STORE *ctx, int purpose)
 
int X509_STORE_set_trust (X509_STORE *ctx, int trust)
 
void X509_STORE_set_verify (X509_STORE *ctx, X509_STORE_CTX_verify_fn verify)
 
void X509_STORE_set_verify_cb (X509_STORE *ctx, X509_STORE_CTX_verify_cb verify_cb)
 
int X509_STORE_up_ref (X509_STORE *store)
 

Function Documentation

◆ cleanup()

static void cleanup ( X509_OBJECT a)
static

Definition at line 226 of file x509_lu.c.

◆ STACK_OF() [1/3]

STACK_OF ( X509  )

Definition at line 513 of file x509_lu.c.

◆ STACK_OF() [2/3]

STACK_OF ( X509_CRL  )

Definition at line 559 of file x509_lu.c.

◆ STACK_OF() [3/3]

STACK_OF ( X509_OBJECT  )

Definition at line 508 of file x509_lu.c.

◆ X509_LOOKUP_by_alias()

int X509_LOOKUP_by_alias ( X509_LOOKUP ctx,
int  type,
char *  str,
int  len,
X509_OBJECT ret 
)

Definition at line 156 of file x509_lu.c.

◆ X509_LOOKUP_by_fingerprint()

int X509_LOOKUP_by_fingerprint ( X509_LOOKUP ctx,
int  type,
unsigned char *  bytes,
int  len,
X509_OBJECT ret 
)

Definition at line 147 of file x509_lu.c.

◆ X509_LOOKUP_by_issuer_serial()

int X509_LOOKUP_by_issuer_serial ( X509_LOOKUP ctx,
int  type,
X509_NAME name,
ASN1_INTEGER serial,
X509_OBJECT ret 
)

Definition at line 139 of file x509_lu.c.

◆ X509_LOOKUP_by_subject()

int X509_LOOKUP_by_subject ( X509_LOOKUP ctx,
int  type,
X509_NAME name,
X509_OBJECT ret 
)

Definition at line 129 of file x509_lu.c.

◆ X509_LOOKUP_ctrl()

int X509_LOOKUP_ctrl ( X509_LOOKUP ctx,
int  cmd,
const char *  argc,
long  argl,
char **  ret 
)

Definition at line 118 of file x509_lu.c.

◆ X509_LOOKUP_free()

void X509_LOOKUP_free ( X509_LOOKUP ctx)

Definition at line 89 of file x509_lu.c.

◆ X509_LOOKUP_init()

int X509_LOOKUP_init ( X509_LOOKUP ctx)

Definition at line 98 of file x509_lu.c.

◆ X509_LOOKUP_new()

X509_LOOKUP* X509_LOOKUP_new ( X509_LOOKUP_METHOD method)

Definition at line 69 of file x509_lu.c.

◆ X509_LOOKUP_shutdown()

int X509_LOOKUP_shutdown ( X509_LOOKUP ctx)

Definition at line 108 of file x509_lu.c.

◆ x509_object_cmp()

static int x509_object_cmp ( const X509_OBJECT **  a,
const X509_OBJECT **  b 
)
static

Definition at line 164 of file x509_lu.c.

◆ X509_OBJECT_free_contents()

void X509_OBJECT_free_contents ( X509_OBJECT a)

Definition at line 420 of file x509_lu.c.

◆ X509_OBJECT_get0_X509()

X509* X509_OBJECT_get0_X509 ( const X509_OBJECT a)

Definition at line 437 of file x509_lu.c.

◆ X509_OBJECT_get_type()

int X509_OBJECT_get_type ( const X509_OBJECT a)

Definition at line 432 of file x509_lu.c.

◆ X509_OBJECT_idx_by_subject()

int X509_OBJECT_idx_by_subject ( STACK_OF(X509_OBJECT) *  h,
int  type,
X509_NAME name 
)

Definition at line 492 of file x509_lu.c.

◆ x509_object_idx_cnt()

static int x509_object_idx_cnt ( STACK_OF(X509_OBJECT) *  h,
int  type,
X509_NAME name,
int pnmatch 
)
static

Definition at line 445 of file x509_lu.c.

◆ X509_OBJECT_retrieve_by_subject()

X509_OBJECT* X509_OBJECT_retrieve_by_subject ( STACK_OF(X509_OBJECT) *  h,
int  type,
X509_NAME name 
)

Definition at line 498 of file x509_lu.c.

◆ X509_OBJECT_retrieve_match()

X509_OBJECT* X509_OBJECT_retrieve_match ( STACK_OF(X509_OBJECT) *  h,
X509_OBJECT x 
)

Definition at line 598 of file x509_lu.c.

◆ X509_OBJECT_up_ref_count()

int X509_OBJECT_up_ref_count ( X509_OBJECT a)

Definition at line 407 of file x509_lu.c.

◆ X509_STORE_add_cert()

int X509_STORE_add_cert ( X509_STORE ctx,
X509 x 
)

Definition at line 335 of file x509_lu.c.

◆ X509_STORE_add_crl()

int X509_STORE_add_crl ( X509_STORE ctx,
X509_CRL x 
)

Definition at line 371 of file x509_lu.c.

◆ X509_STORE_add_lookup()

X509_LOOKUP* X509_STORE_add_lookup ( X509_STORE v,
X509_LOOKUP_METHOD m 
)

Definition at line 271 of file x509_lu.c.

◆ X509_STORE_CTX_get0_store()

X509_STORE* X509_STORE_CTX_get0_store ( X509_STORE_CTX ctx)

Definition at line 827 of file x509_lu.c.

◆ X509_STORE_CTX_get1_issuer()

int X509_STORE_CTX_get1_issuer ( X509 **  issuer,
X509_STORE_CTX ctx,
X509 x 
)

Definition at line 634 of file x509_lu.c.

◆ X509_STORE_free()

void X509_STORE_free ( X509_STORE vfy)

Definition at line 242 of file x509_lu.c.

◆ X509_STORE_get0_param()

X509_VERIFY_PARAM* X509_STORE_get0_param ( X509_STORE ctx)

Definition at line 702 of file x509_lu.c.

◆ X509_STORE_get_by_subject()

int X509_STORE_get_by_subject ( X509_STORE_CTX vs,
int  type,
X509_NAME name,
X509_OBJECT ret 
)

Definition at line 299 of file x509_lu.c.

◆ X509_STORE_get_cert_crl()

X509_STORE_CTX_cert_crl_fn X509_STORE_get_cert_crl ( X509_STORE ctx)

Definition at line 789 of file x509_lu.c.

◆ X509_STORE_get_check_crl()

X509_STORE_CTX_check_crl_fn X509_STORE_get_check_crl ( X509_STORE ctx)

Definition at line 778 of file x509_lu.c.

◆ X509_STORE_get_check_issued()

X509_STORE_CTX_check_issued_fn X509_STORE_get_check_issued ( X509_STORE ctx)

Definition at line 745 of file x509_lu.c.

◆ X509_STORE_get_check_revocation()

X509_STORE_CTX_check_revocation_fn X509_STORE_get_check_revocation ( X509_STORE ctx)

Definition at line 756 of file x509_lu.c.

◆ X509_STORE_get_cleanup()

X509_STORE_CTX_cleanup_fn X509_STORE_get_cleanup ( X509_STORE ctx)

Definition at line 822 of file x509_lu.c.

◆ X509_STORE_get_get_crl()

X509_STORE_CTX_get_crl_fn X509_STORE_get_get_crl ( X509_STORE ctx)

Definition at line 767 of file x509_lu.c.

◆ X509_STORE_get_get_issuer()

X509_STORE_CTX_get_issuer_fn X509_STORE_get_get_issuer ( X509_STORE ctx)

Definition at line 734 of file x509_lu.c.

◆ X509_STORE_get_lookup_certs()

X509_STORE_CTX_lookup_certs_fn X509_STORE_get_lookup_certs ( X509_STORE ctx)

Definition at line 800 of file x509_lu.c.

◆ X509_STORE_get_lookup_crls()

X509_STORE_CTX_lookup_crls_fn X509_STORE_get_lookup_crls ( X509_STORE ctx)

Definition at line 811 of file x509_lu.c.

◆ X509_STORE_get_verify()

X509_STORE_CTX_verify_fn X509_STORE_get_verify ( X509_STORE ctx)

Definition at line 712 of file x509_lu.c.

◆ X509_STORE_get_verify_cb()

X509_STORE_CTX_verify_cb X509_STORE_get_verify_cb ( X509_STORE ctx)

Definition at line 723 of file x509_lu.c.

◆ X509_STORE_new()

X509_STORE* X509_STORE_new ( void  )

Definition at line 185 of file x509_lu.c.

◆ X509_STORE_set1_param()

int X509_STORE_set1_param ( X509_STORE ctx,
X509_VERIFY_PARAM param 
)

Definition at line 697 of file x509_lu.c.

◆ X509_STORE_set_cert_crl()

void X509_STORE_set_cert_crl ( X509_STORE ctx,
X509_STORE_CTX_cert_crl_fn  cert_crl 
)

Definition at line 783 of file x509_lu.c.

◆ X509_STORE_set_check_crl()

void X509_STORE_set_check_crl ( X509_STORE ctx,
X509_STORE_CTX_check_crl_fn  check_crl 
)

Definition at line 772 of file x509_lu.c.

◆ X509_STORE_set_check_issued()

void X509_STORE_set_check_issued ( X509_STORE ctx,
X509_STORE_CTX_check_issued_fn  check_issued 
)

Definition at line 739 of file x509_lu.c.

◆ X509_STORE_set_check_revocation()

void X509_STORE_set_check_revocation ( X509_STORE ctx,
X509_STORE_CTX_check_revocation_fn  check_revocation 
)

Definition at line 750 of file x509_lu.c.

◆ X509_STORE_set_cleanup()

void X509_STORE_set_cleanup ( X509_STORE ctx,
X509_STORE_CTX_cleanup_fn  ctx_cleanup 
)

Definition at line 816 of file x509_lu.c.

◆ X509_STORE_set_depth()

int X509_STORE_set_depth ( X509_STORE ctx,
int  depth 
)

Definition at line 681 of file x509_lu.c.

◆ X509_STORE_set_flags()

int X509_STORE_set_flags ( X509_STORE ctx,
unsigned long  flags 
)

Definition at line 676 of file x509_lu.c.

◆ X509_STORE_set_get_crl()

void X509_STORE_set_get_crl ( X509_STORE ctx,
X509_STORE_CTX_get_crl_fn  get_crl 
)

Definition at line 761 of file x509_lu.c.

◆ X509_STORE_set_get_issuer()

void X509_STORE_set_get_issuer ( X509_STORE ctx,
X509_STORE_CTX_get_issuer_fn  get_issuer 
)

Definition at line 728 of file x509_lu.c.

◆ X509_STORE_set_lookup_certs()

void X509_STORE_set_lookup_certs ( X509_STORE ctx,
X509_STORE_CTX_lookup_certs_fn  lookup_certs 
)

Definition at line 794 of file x509_lu.c.

◆ X509_STORE_set_lookup_crls()

void X509_STORE_set_lookup_crls ( X509_STORE ctx,
X509_STORE_CTX_lookup_crls_fn  lookup_crls 
)

Definition at line 805 of file x509_lu.c.

◆ X509_STORE_set_purpose()

int X509_STORE_set_purpose ( X509_STORE ctx,
int  purpose 
)

Definition at line 687 of file x509_lu.c.

◆ X509_STORE_set_trust()

int X509_STORE_set_trust ( X509_STORE ctx,
int  trust 
)

Definition at line 692 of file x509_lu.c.

◆ X509_STORE_set_verify()

void X509_STORE_set_verify ( X509_STORE ctx,
X509_STORE_CTX_verify_fn  verify 
)

Definition at line 707 of file x509_lu.c.

◆ X509_STORE_set_verify_cb()

void X509_STORE_set_verify_cb ( X509_STORE ctx,
X509_STORE_CTX_verify_cb  verify_cb 
)

Definition at line 717 of file x509_lu.c.

◆ X509_STORE_up_ref()

int X509_STORE_up_ref ( X509_STORE store)

Definition at line 220 of file x509_lu.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:38