/openssl/ssl/ |
H A D | ssl_cert.c | 471 STACK_OF(X509_NAME) *SSL_dup_CA_list(const STACK_OF(X509_NAME) *sk) in STACK_OF() argument 475 STACK_OF(X509_NAME) *ret; in STACK_OF() 476 X509_NAME *name; in STACK_OF() 570 X509_NAME *name; in add_ca_name() 621 static int xname_cmp(const X509_NAME *a, const X509_NAME *b) in xname_cmp() 645 static int xname_sk_cmp(const X509_NAME *const *a, const X509_NAME *const *b) in xname_sk_cmp() 662 X509_NAME *xn = NULL; in STACK_OF() 735 X509_NAME *xn = NULL; in SSL_add_file_cert_subjects_to_stack() 737 int (*oldcmp) (const X509_NAME *const *a, const X509_NAME *const *b); in SSL_add_file_cert_subjects_to_stack() 830 X509_NAME *xn = NULL; in add_uris_recursive() [all …]
|
/openssl/crypto/x509/ |
H A D | x_name.c | 36 static int x509_name_encode(X509_NAME *a); 37 static int x509_name_canon(X509_NAME *a); 86 IMPLEMENT_ASN1_FUNCTIONS(X509_NAME) in IMPLEMENT_EXTERN_ASN1() 88 IMPLEMENT_ASN1_DUP_FUNCTION(X509_NAME) in IMPLEMENT_EXTERN_ASN1() 115 X509_NAME *a; in x509_name_ex_free() 119 a = (X509_NAME *)*pval; in x509_name_ex_free() 151 X509_NAME *x; in x509_name_ex_d2i() 215 X509_NAME *a = (X509_NAME *)*val; in x509_name_ex_i2d() 304 static int x509_name_canon(X509_NAME *a) in x509_name_canon() 486 int X509_NAME_set(X509_NAME **xn, const X509_NAME *name) in X509_NAME_set() [all …]
|
H A D | x509name.c | 19 int X509_NAME_get_text_by_NID(const X509_NAME *name, int nid, in X509_NAME_get_text_by_NID() 30 int X509_NAME_get_text_by_OBJ(const X509_NAME *name, const ASN1_OBJECT *obj, in X509_NAME_get_text_by_OBJ() 50 int X509_NAME_entry_count(const X509_NAME *name) in X509_NAME_entry_count() 57 int X509_NAME_get_index_by_NID(const X509_NAME *name, int nid, int lastpos) in X509_NAME_get_index_by_NID() 68 int X509_NAME_get_index_by_OBJ(const X509_NAME *name, const ASN1_OBJECT *obj, in X509_NAME_get_index_by_OBJ() 89 X509_NAME_ENTRY *X509_NAME_get_entry(const X509_NAME *name, int loc) in X509_NAME_get_entry() 98 X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc) in X509_NAME_delete_entry() 138 int X509_NAME_add_entry_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int type, in X509_NAME_add_entry_by_OBJ() 153 int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, in X509_NAME_add_entry_by_NID() 167 int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, in X509_NAME_add_entry_by_txt() [all …]
|
H A D | x509_local.h | 70 const ASN1_INTEGER *ser, const X509_NAME *issuer); 83 const X509_NAME *name, X509_OBJECT *ret); 85 const X509_NAME *name, 94 const X509_NAME *name, X509_OBJECT *ret, 141 const X509_NAME *nm); 144 const X509_NAME *nm);
|
H A D | x509_cmp.c | 103 X509_NAME *X509_get_issuer_name(const X509 *a) in X509_get_issuer_name() 120 X509_NAME *X509_get_subject_name(const X509 *a) in X509_get_subject_name() 254 int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b) in X509_NAME_cmp() 265 ret = i2d_X509_NAME((X509_NAME *)a, NULL); in X509_NAME_cmp() 271 ret = i2d_X509_NAME((X509_NAME *)b, NULL); in X509_NAME_cmp() 289 unsigned long X509_NAME_hash_ex(const X509_NAME *x, OSSL_LIB_CTX *libctx, in X509_NAME_hash_ex() 317 unsigned long X509_NAME_hash_old(const X509_NAME *x) in X509_NAME_hash_old() 345 X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, const X509_NAME *name, in X509_find_by_issuer_and_serial() 355 x.cert_info.issuer = (X509_NAME *)name; /* won't modify it */ in X509_find_by_issuer_and_serial() 365 X509 *X509_find_by_subject(STACK_OF(X509) *sk, const X509_NAME *name) in X509_find_by_subject()
|
H A D | x509_lu.c | 93 const X509_NAME *name, X509_OBJECT *ret, in X509_LOOKUP_by_subject_ex() 109 const X509_NAME *name, X509_OBJECT *ret) in X509_LOOKUP_by_subject() 115 const X509_NAME *name, in X509_LOOKUP_by_issuer_serial() 317 const X509_NAME *name, in ossl_x509_store_ctx_get_by_subject() 521 const X509_NAME *name, int *pnmatch) in x509_object_idx_cnt() 535 crl_s.crl.issuer = (X509_NAME *)name; /* won't modify it */ in x509_object_idx_cnt() 547 const X509_NAME *name) in X509_OBJECT_idx_by_subject() 554 const X509_NAME *name) in X509_OBJECT_retrieve_by_subject() 603 const X509_NAME *nm) in STACK_OF() 662 const X509_NAME *nm) in STACK_OF() [all …]
|
H A D | by_dir.c | 58 const X509_NAME *name, X509_OBJECT *ret); 60 const X509_NAME *name, X509_OBJECT *ret, 227 const X509_NAME *name, X509_OBJECT *ret, in get_cert_by_subject_ex() 247 data.st_x509.cert_info.subject = (X509_NAME *)name; /* won't modify it */ in get_cert_by_subject_ex() 250 data.crl.crl.issuer = (X509_NAME *)name; /* won't modify it */ in get_cert_by_subject_ex() 415 const X509_NAME *name, X509_OBJECT *ret) in get_cert_by_subject()
|
H A D | by_store.c | 166 const X509_NAME *name, X509_OBJECT *ret, in by_store_subject_ex() 170 OSSL_STORE_SEARCH_by_name((X509_NAME *)name); /* won't modify it */ in by_store_subject_ex() 220 const X509_NAME *name, X509_OBJECT *ret) in by_store_subject()
|
/openssl/doc/man3/ |
H A D | X509_get_subject_name.pod | 10 get X509_NAME hashes or get and set issuer or subject names 16 unsigned long X509_NAME_hash_ex(const X509_NAME *x, OSSL_LIB_CTX *libctx, 19 X509_NAME *X509_get_subject_name(const X509 *x); 20 int X509_set_subject_name(X509 *x, const X509_NAME *name); 23 X509_NAME *X509_get_issuer_name(const X509 *x); 24 int X509_set_issuer_name(X509 *x, const X509_NAME *name); 27 X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req); 28 int X509_REQ_set_subject_name(X509_REQ *req, const X509_NAME *name); 30 X509_NAME *X509_CRL_get_issuer(const X509_CRL *crl); 31 int X509_CRL_set_issuer_name(X509_CRL *x, const X509_NAME *name); [all …]
|
H A D | SSL_load_client_CA_file.pod | 15 STACK_OF(X509_NAME) *SSL_load_client_CA_file_ex(const char *file, 18 STACK_OF(X509_NAME) *SSL_load_client_CA_file(const char *file); 20 int SSL_add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, 22 int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, 24 int SSL_add_store_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, 30 a STACK_OF(X509_NAME) with the subject names found. The library context I<libctx> 65 =item Pointer to STACK_OF(X509_NAME) 76 STACK_OF(X509_NAME) *cert_names;
|
H A D | X509_NAME_get_index_by_NID.pod | 7 X509_NAME lookup and enumeration functions 13 int X509_NAME_get_index_by_NID(const X509_NAME *name, int nid, int lastpos); 14 int X509_NAME_get_index_by_OBJ(const X509_NAME *name, 17 int X509_NAME_entry_count(const X509_NAME *name); 18 X509_NAME_ENTRY *X509_NAME_get_entry(const X509_NAME *name, int loc); 20 int X509_NAME_get_text_by_NID(const X509_NAME *name, int nid, 22 int X509_NAME_get_text_by_OBJ(const X509_NAME *name, const ASN1_OBJECT *obj, 27 These functions allow an B<X509_NAME> structure to be examined. The 28 B<X509_NAME> structure is the same as the B<Name> type defined in 84 X509_NAME_get_entry() returns an B<X509_NAME> pointer to the
|
H A D | X509_NAME_get0_der.pod | 5 X509_NAME_get0_der - get X509_NAME DER encoding 11 int X509_NAME_get0_der(const X509_NAME *nm, const unsigned char **pder, 18 encoding of an B<X509_NAME> structure in B<*pder> and consisting of 20 the encoding of an B<X509_NAME> structure without copying it.
|
H A D | X509_NAME_add_entry_by_txt.pod | 6 X509_NAME_add_entry, X509_NAME_delete_entry - X509_NAME modification functions 12 int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, 15 int X509_NAME_add_entry_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int type, 18 int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, 21 int X509_NAME_add_entry(X509_NAME *name, const X509_NAME_ENTRY *ne, int loc, int set); 23 X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc); 88 Create an B<X509_NAME> structure: 92 X509_NAME *nm;
|
H A D | SSL_CTX_set0_CA_list.pod | 24 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *list); 25 void SSL_set_client_CA_list(SSL *s, STACK_OF(X509_NAME) *list); 26 STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s); 27 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx); 31 void SSL_CTX_set0_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list); 32 void SSL_set0_CA_list(SSL *s, STACK_OF(X509_NAME) *name_list); 33 const STACK_OF(X509_NAME) *SSL_CTX_get0_CA_list(const SSL_CTX *ctx); 34 const STACK_OF(X509_NAME) *SSL_get0_CA_list(const SSL *s); 38 const STACK_OF(X509_NAME) *SSL_get0_peer_CA_list(const SSL *s);
|
H A D | OSSL_STORE_SEARCH.pod | 25 OSSL_STORE_SEARCH *OSSL_STORE_SEARCH_by_name(X509_NAME *name); 26 OSSL_STORE_SEARCH *OSSL_STORE_SEARCH_by_issuer_serial(X509_NAME *name, 37 X509_NAME *OSSL_STORE_SEARCH_get0_name(OSSL_STORE_SEARCH *criterion); 100 The subject name itself is a B<X509_NAME> pointer. 108 The issuer name itself is a B<X509_NAME> pointer, and the serial number is 148 OSSL_STORE_SEARCH_get0_name() returns a B<X509_NAME> pointer on success,
|
H A D | OSSL_CRMF_MSG_get0_tmpl.pod | 24 const X509_NAME 26 const X509_NAME 35 const X509_NAME *OSSL_CRMF_CERTID_get0_issuer(const OSSL_CRMF_CERTID *cid);
|
H A D | X509_NAME_print_ex.pod | 6 X509_NAME_oneline - X509_NAME printing routines 12 int X509_NAME_print_ex(BIO *out, const X509_NAME *nm, 14 int X509_NAME_print_ex_fp(FILE *fp, const X509_NAME *nm, 16 char *X509_NAME_oneline(const X509_NAME *a, char *buf, int size); 17 int X509_NAME_print(BIO *bp, const X509_NAME *name, int obase);
|
H A D | X509_STORE_CTX_get_by_subject.pod | 15 const X509_NAME *name, X509_OBJECT *ret); 18 const X509_NAME *name);
|
/openssl/include/openssl/ |
H A D | crmf.h.in | 123 OSSL_CRMF_CERTID *OSSL_CRMF_CERTID_gen(const X509_NAME *issuer, 156 const X509_NAME 158 const X509_NAME 164 const X509_NAME 170 const X509_NAME *subject, 171 const X509_NAME *issuer,
|
H A D | x509.h.in | 54 generate_stack_macros("X509_NAME") 481 DECLARE_ASN1_DUP_FUNCTION(X509_NAME) 550 DECLARE_ASN1_FUNCTIONS(X509_NAME) 552 int X509_NAME_set(X509_NAME **xn, const X509_NAME *name); 646 int X509_set_issuer_name(X509 *x, const X509_NAME *name); 647 X509_NAME *X509_get_issuer_name(const X509 *a); 649 X509_NAME *X509_get_subject_name(const X509 *a); 744 X509_NAME *X509_CRL_get_issuer(const X509_CRL *crl); 795 int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b); 803 unsigned long X509_NAME_hash_old(const X509_NAME *x); [all …]
|
/openssl/include/crypto/ |
H A D | x509.h | 66 X509_NAME *subject; /* certificate request DN */ 92 X509_NAME *issuer; /* CRL issuer name */ 164 X509_NAME *issuer; 166 X509_NAME *subject; 247 const X509_NAME *nm); 250 const X509_NAME *nm);
|
/openssl/crypto/cmp/ |
H A D | cmp_hdr.c | 83 static int set1_general_name(GENERAL_NAME **tgt, const X509_NAME *src) in set1_general_name() 115 int ossl_cmp_hdr_set1_sender(OSSL_CMP_PKIHEADER *hdr, const X509_NAME *nm) in ossl_cmp_hdr_set1_sender() 122 int ossl_cmp_hdr_set1_recipient(OSSL_CMP_PKIHEADER *hdr, const X509_NAME *nm) in ossl_cmp_hdr_set1_recipient() 293 const X509_NAME *sender; in ossl_cmp_hdr_init() 294 const X509_NAME *rcp = NULL; in ossl_cmp_hdr_init()
|
/openssl/test/helpers/ |
H A D | handshake.h | 66 STACK_OF(X509_NAME) *server_ca_names; 74 STACK_OF(X509_NAME) *client_ca_names;
|
/openssl/crypto/crmf/ |
H A D | crmf_lib.c | 178 OSSL_CRMF_CERTID *OSSL_CRMF_CERTID_gen(const X509_NAME *issuer, in IMPLEMENT_CRMF_CTRL_FUNC() 552 const X509_NAME 559 const X509_NAME 572 const X509_NAME *OSSL_CRMF_CERTID_get0_issuer(const OSSL_CRMF_CERTID *cid) in OSSL_CRMF_CERTID_get0_issuer() 590 const X509_NAME *subject, in OSSL_CRMF_CERTTEMPLATE_fill() 591 const X509_NAME *issuer, in OSSL_CRMF_CERTTEMPLATE_fill() 598 if (subject != NULL && !X509_NAME_set((X509_NAME **)&tmpl->subject, subject)) in OSSL_CRMF_CERTTEMPLATE_fill() 600 if (issuer != NULL && !X509_NAME_set((X509_NAME **)&tmpl->issuer, issuer)) in OSSL_CRMF_CERTTEMPLATE_fill()
|
/openssl/crypto/ocsp/ |
H A D | ocsp_lib.c | 25 const X509_NAME *iname; in OCSP_cert_to_id() 43 const X509_NAME *issuerName, in OCSP_cert_id_new()
|