Lines Matching refs:X509_NAME

548 static void set0_CA_list(STACK_OF(X509_NAME) **ca_list,  in set0_CA_list()
549 STACK_OF(X509_NAME) *name_list) in set0_CA_list()
555 STACK_OF(X509_NAME) *SSL_dup_CA_list(const STACK_OF(X509_NAME) *sk) in STACK_OF() argument
559 STACK_OF(X509_NAME) *ret; in STACK_OF()
560 X509_NAME *name; in STACK_OF()
579 void SSL_set0_CA_list(SSL *s, STACK_OF(X509_NAME) *name_list) in SSL_set0_CA_list()
589 void SSL_CTX_set0_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list) in SSL_CTX_set0_CA_list()
594 const STACK_OF(X509_NAME) *SSL_CTX_get0_CA_list(const SSL_CTX *ctx) in STACK_OF() argument
599 const STACK_OF(X509_NAME) *SSL_get0_CA_list(const SSL *s) in STACK_OF() argument
609 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list) in SSL_CTX_set_client_CA_list()
614 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx) in STACK_OF() argument
619 void SSL_set_client_CA_list(SSL *s, STACK_OF(X509_NAME) *name_list) in SSL_set_client_CA_list()
629 const STACK_OF(X509_NAME) *SSL_get0_peer_CA_list(const SSL *s) in STACK_OF() argument
639 STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s) in STACK_OF() argument
652 static int add_ca_name(STACK_OF(X509_NAME) **sk, const X509 *x) in add_ca_name()
654 X509_NAME *name; in add_ca_name()
705 static int xname_cmp(const X509_NAME *a, const X509_NAME *b) in xname_cmp()
713 alen = i2d_X509_NAME((X509_NAME *)a, &abuf); in xname_cmp()
714 blen = i2d_X509_NAME((X509_NAME *)b, &bbuf); in xname_cmp()
729 static int xname_sk_cmp(const X509_NAME *const *a, const X509_NAME *const *b) in xname_sk_cmp()
734 static unsigned long xname_hash(const X509_NAME *a) in xname_hash()
737 return X509_NAME_hash_ex((X509_NAME *)a, NULL, NULL, NULL); in xname_hash()
740 STACK_OF(X509_NAME) *SSL_load_client_CA_file_ex(const char *file, in STACK_OF() argument
746 X509_NAME *xn = NULL; in STACK_OF()
747 STACK_OF(X509_NAME) *ret = NULL; in STACK_OF()
748 LHASH_OF(X509_NAME) *name_hash = lh_X509_NAME_new(xname_hash, xname_cmp); in STACK_OF()
817 STACK_OF(X509_NAME) *SSL_load_client_CA_file(const char *file) in STACK_OF() argument
822 static int add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, in add_file_cert_subjects_to_stack()
824 LHASH_OF(X509_NAME) *name_hash) in add_file_cert_subjects_to_stack()
828 X509_NAME *xn = NULL; in add_file_cert_subjects_to_stack()
872 int SSL_add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, in SSL_add_file_cert_subjects_to_stack()
875 X509_NAME *xn = NULL; in SSL_add_file_cert_subjects_to_stack()
879 LHASH_OF(X509_NAME) *name_hash = lh_X509_NAME_new(xname_hash, xname_cmp); in SSL_add_file_cert_subjects_to_stack()
913 int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, in SSL_add_dir_cert_subjects_to_stack()
919 X509_NAME *xn = NULL; in SSL_add_dir_cert_subjects_to_stack()
922 LHASH_OF(X509_NAME) *name_hash = lh_X509_NAME_new(xname_hash, xname_cmp); in SSL_add_dir_cert_subjects_to_stack()
989 static int add_uris_recursive(STACK_OF(X509_NAME) *stack, in add_uris_recursive()
995 X509_NAME *xn = NULL; in add_uris_recursive()
1043 int SSL_add_store_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, in SSL_add_store_cert_subjects_to_stack()
1046 int (*oldcmp) (const X509_NAME *const *a, const X509_NAME *const *b) in SSL_add_store_cert_subjects_to_stack()