Home
last modified time | relevance | path

Searched refs:X509_NAME (Results 1 – 25 of 143) sorted by relevance

123456

/openssl/ssl/
H A Dssl_cert.c555 STACK_OF(X509_NAME) *SSL_dup_CA_list(const STACK_OF(X509_NAME) *sk) in STACK_OF() argument
560 X509_NAME *name; in STACK_OF()
654 X509_NAME *name; in add_ca_name()
705 static int xname_cmp(const X509_NAME *a, const X509_NAME *b) in xname_cmp()
729 static int xname_sk_cmp(const X509_NAME *const *a, const X509_NAME *const *b) in xname_sk_cmp()
746 X509_NAME *xn = NULL; in STACK_OF()
828 X509_NAME *xn = NULL; in add_file_cert_subjects_to_stack()
875 X509_NAME *xn = NULL; in SSL_add_file_cert_subjects_to_stack()
919 X509_NAME *xn = NULL; in SSL_add_dir_cert_subjects_to_stack()
995 X509_NAME *xn = NULL; in add_uris_recursive()
[all …]
/openssl/crypto/x509/
H A Dx_name.c36 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()
118 X509_NAME *a; in x509_name_ex_free()
122 a = (X509_NAME *)*pval; in x509_name_ex_free()
154 X509_NAME *x; in x509_name_ex_d2i()
218 X509_NAME *a = (X509_NAME *)*val; in x509_name_ex_i2d()
310 static int x509_name_canon(X509_NAME *a) in x509_name_canon()
490 int X509_NAME_set(X509_NAME **xn, const X509_NAME *name) in X509_NAME_set()
[all …]
H A Dx509name.c19 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()
60 int X509_NAME_get_index_by_NID(const X509_NAME *name, int nid, int lastpos) in X509_NAME_get_index_by_NID()
71 int X509_NAME_get_index_by_OBJ(const X509_NAME *name, const ASN1_OBJECT *obj, in X509_NAME_get_index_by_OBJ()
92 X509_NAME_ENTRY *X509_NAME_get_entry(const X509_NAME *name, int loc) in X509_NAME_get_entry()
101 X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc) in X509_NAME_delete_entry()
141 int X509_NAME_add_entry_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int type, in X509_NAME_add_entry_by_OBJ()
156 int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, in X509_NAME_add_entry_by_NID()
170 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 Dx509_local.h70 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 Dx509_cmp.c103 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()
318 unsigned long X509_NAME_hash_old(const X509_NAME *x) in X509_NAME_hash_old()
348 X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, const X509_NAME *name, in X509_find_by_issuer_and_serial()
358 x.cert_info.issuer = (X509_NAME *)name; /* won't modify it */ in X509_find_by_issuer_and_serial()
368 X509 *X509_find_by_subject(STACK_OF(X509) *sk, const X509_NAME *name) in X509_find_by_subject()
H A Dx509aset.c37 static int replace_dirName(GENERAL_NAMES **names, const X509_NAME *dirName) in replace_dirName()
41 X509_NAME *name_copy; in replace_dirName()
96 const X509_NAME *issuer) in OSSL_ISSUER_SERIAL_set1_issuer()
144 int X509_ACERT_set1_issuerName(X509_ACERT *x, const X509_NAME *name) in X509_ACERT_set1_issuerName()
H A Dx509_lu.c96 const X509_NAME *name, X509_OBJECT *ret, in X509_LOOKUP_by_subject_ex()
112 const X509_NAME *name, X509_OBJECT *ret) in X509_LOOKUP_by_subject()
118 const X509_NAME *name, in X509_LOOKUP_by_issuer_serial()
300 const X509_NAME *name) in X509_STORE_CTX_get_obj_by_subject()
322 const X509_NAME *name, in ossl_x509_store_ctx_get_by_subject()
538 const X509_NAME *name, int *pnmatch) in x509_object_idx_cnt()
552 crl_s.crl.issuer = (X509_NAME *)name; /* won't modify it */ in x509_object_idx_cnt()
566 const X509_NAME *name) in X509_OBJECT_idx_by_subject()
574 const X509_NAME *name) in X509_OBJECT_retrieve_by_subject()
657 const X509_NAME *nm) in STACK_OF()
[all …]
H A Dby_dir.c58 const X509_NAME *name, X509_OBJECT *ret);
60 const X509_NAME *name, X509_OBJECT *ret,
223 const X509_NAME *name, X509_OBJECT *ret, in get_cert_by_subject_ex()
243 data.st_x509.cert_info.subject = (X509_NAME *)name; /* won't modify it */ in get_cert_by_subject_ex()
246 data.crl.crl.issuer = (X509_NAME *)name; /* won't modify it */ in get_cert_by_subject_ex()
435 const X509_NAME *name, X509_OBJECT *ret) in get_cert_by_subject()
H A Dby_store.c163 const X509_NAME *name, X509_OBJECT *ret, in by_store_subject_ex()
167 OSSL_STORE_SEARCH_by_name((X509_NAME *)name); /* won't modify it */ in by_store_subject_ex()
217 const X509_NAME *name, X509_OBJECT *ret) in by_store_subject()
/openssl/doc/man3/
H A DX509_get_subject_name.pod11 get X509_NAME hashes or get and set issuer or subject names
20 X509_NAME *X509_get_subject_name(const X509 *x);
21 int X509_set_subject_name(X509 *x, const X509_NAME *name);
24 X509_NAME *X509_get_issuer_name(const X509 *x);
25 int X509_set_issuer_name(X509 *x, const X509_NAME *name);
28 X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req);
29 int X509_REQ_set_subject_name(X509_REQ *req, const X509_NAME *name);
31 X509_NAME *X509_CRL_get_issuer(const X509_CRL *crl);
32 int X509_CRL_set_issuer_name(X509_CRL *x, const X509_NAME *name);
36 X509_NAME *X509_ACERT_get0_issuerName(const X509_ACERT *x);
[all …]
H A DSSL_load_client_CA_file.pod15 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>
66 =item Pointer to STACK_OF(X509_NAME)
92 STACK_OF(X509_NAME) *cert_names;
H A DX509_NAME_get_index_by_NID.pod7 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
85 X509_NAME_get_entry() returns an B<X509_NAME> pointer to the
H A DX509_NAME_get0_der.pod5 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 DX509_NAME_add_entry_by_txt.pod6 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 DSSL_CTX_set0_CA_list.pod24 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 DOSSL_STORE_SEARCH.pod25 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);
101 The subject name itself is a B<X509_NAME> pointer.
109 The issuer name itself is a B<X509_NAME> pointer, and the serial number is
149 OSSL_STORE_SEARCH_get0_name() returns a B<X509_NAME> pointer on success,
H A DGENERAL_NAME.pod15 int GENERAL_NAME_set1_X509_NAME(GENERAL_NAME **tgt, const X509_NAME *src);
20 and populates it based on provided X509_NAME I<src> which can be NULL.
H A DOSSL_CRMF_MSG_get0_tmpl.pod24 const X509_NAME
26 const X509_NAME
35 const X509_NAME *OSSL_CRMF_CERTID_get0_issuer(const OSSL_CRMF_CERTID *cid);
H A DX509_NAME_print_ex.pod6 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);
/openssl/include/openssl/
H A Dx509.h.in54 generate_stack_macros("X509_NAME")
498 DECLARE_ASN1_DUP_FUNCTION(X509_NAME)
567 DECLARE_ASN1_FUNCTIONS(X509_NAME)
569 int X509_NAME_set(X509_NAME **xn, const X509_NAME *name);
663 int X509_set_issuer_name(X509 *x, const X509_NAME *name);
664 X509_NAME *X509_get_issuer_name(const X509 *a);
666 X509_NAME *X509_get_subject_name(const X509 *a);
761 X509_NAME *X509_CRL_get_issuer(const X509_CRL *crl);
812 int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b);
820 unsigned long X509_NAME_hash_old(const X509_NAME *x);
[all …]
H A Dcrmf.h.in130 OSSL_CRMF_CERTID *OSSL_CRMF_CERTID_gen(const X509_NAME *issuer,
163 const X509_NAME
165 const X509_NAME
171 const X509_NAME
177 const X509_NAME *subject,
178 const X509_NAME *issuer,
/openssl/include/crypto/
H A Dx509.h66 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/test/helpers/
H A Dhandshake.h66 STACK_OF(X509_NAME) *server_ca_names;
74 STACK_OF(X509_NAME) *client_ca_names;
/openssl/crypto/crmf/
H A Dcrmf_lib.c177 OSSL_CRMF_CERTID *OSSL_CRMF_CERTID_gen(const X509_NAME *issuer, in IMPLEMENT_CRMF_CTRL_FUNC()
557 const X509_NAME
563 const X509_NAME
575 const X509_NAME *OSSL_CRMF_CERTID_get0_issuer(const OSSL_CRMF_CERTID *cid) in OSSL_CRMF_CERTID_get0_issuer()
593 const X509_NAME *subject, in OSSL_CRMF_CERTTEMPLATE_fill()
594 const X509_NAME *issuer, in OSSL_CRMF_CERTTEMPLATE_fill()
601 if (subject != NULL && !X509_NAME_set((X509_NAME **)&tmpl->subject, subject)) in OSSL_CRMF_CERTTEMPLATE_fill()
603 if (issuer != NULL && !X509_NAME_set((X509_NAME **)&tmpl->issuer, issuer)) in OSSL_CRMF_CERTTEMPLATE_fill()
/openssl/crypto/cmp/
H A Dcmp_hdr.c97 int ossl_cmp_hdr_set1_sender(OSSL_CMP_PKIHEADER *hdr, const X509_NAME *nm) in ossl_cmp_hdr_set1_sender()
104 int ossl_cmp_hdr_set1_recipient(OSSL_CMP_PKIHEADER *hdr, const X509_NAME *nm) in ossl_cmp_hdr_set1_recipient()
275 const X509_NAME *sender; in ossl_cmp_hdr_init()
276 const X509_NAME *rcp = NULL; in ossl_cmp_hdr_init()

Completed in 71 milliseconds

123456