Home
last modified time | relevance | path

Searched refs:x509_name (Results 1 – 10 of 10) sorted by relevance

/third_party/rust/crates/rust-openssl/openssl/examples/
Dmk_certs.rs23 let mut x509_name = X509NameBuilder::new()?; in mk_ca_cert() localVariable
24 x509_name.append_entry_by_text("C", "US")?; in mk_ca_cert()
25 x509_name.append_entry_by_text("ST", "TX")?; in mk_ca_cert()
26 x509_name.append_entry_by_text("O", "Some CA organization")?; in mk_ca_cert()
27 x509_name.append_entry_by_text("CN", "ca test")?; in mk_ca_cert()
28 let x509_name = x509_name.build(); in mk_ca_cert() localVariable
38 cert_builder.set_subject_name(&x509_name)?; in mk_ca_cert()
39 cert_builder.set_issuer_name(&x509_name)?; in mk_ca_cert()
70 let mut x509_name = X509NameBuilder::new()?; in mk_request() localVariable
71 x509_name.append_entry_by_text("C", "US")?; in mk_request()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dx509v3.h34 struct x509_name { struct
56 struct x509_name issuer; argument
57 struct x509_name subject;
130 int x509_parse_name(const u8 *buf, size_t len, struct x509_name *name,
134 void x509_free_name(struct x509_name *name);
135 void x509_name_string(struct x509_name *name, char *buf, size_t len);
136 int x509_name_compare(struct x509_name *a, struct x509_name *b);
149 struct x509_name *name);
Dx509v3.c17 void x509_free_name(struct x509_name *name) in x509_free_name()
148 int x509_name_compare(struct x509_name *a, struct x509_name *b) in x509_name_compare()
291 int x509_parse_name(const u8 *buf, size_t len, struct x509_name *name, in x509_parse_name()
498 void x509_name_string(struct x509_name *name, char *buf, size_t len) in x509_name_string()
893 static int x509_parse_alt_name_rfc8222(struct x509_name *name, in x509_parse_alt_name_rfc8222()
915 static int x509_parse_alt_name_dns(struct x509_name *name, in x509_parse_alt_name_dns()
937 static int x509_parse_alt_name_uri(struct x509_name *name, in x509_parse_alt_name_uri()
961 static int x509_parse_alt_name_ip(struct x509_name *name, in x509_parse_alt_name_ip()
975 static int x509_parse_alt_name_rid(struct x509_name *name, in x509_parse_alt_name_rid()
991 static int x509_parse_ext_alt_name(struct x509_name *name, in x509_parse_ext_alt_name()
[all …]
Dtlsv1_client_ocsp.c51 struct x509_name *name, const u8 *key_hash) in ocsp_responder_id_match()
366 struct x509_name name; /* used if key_hash == NULL */ in tls_process_basic_ocsp_response()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dx509v3.h34 struct x509_name { struct
56 struct x509_name issuer; argument
57 struct x509_name subject;
137 int x509_parse_name(const u8 *buf, size_t len, struct x509_name *name,
141 void x509_free_name(struct x509_name *name);
142 void x509_name_string(struct x509_name *name, char *buf, size_t len);
143 int x509_name_compare(struct x509_name *a, struct x509_name *b);
156 struct x509_name *name);
Dx509v3.c17 void x509_free_name(struct x509_name *name) in x509_free_name()
148 int x509_name_compare(struct x509_name *a, struct x509_name *b) in x509_name_compare()
285 int x509_parse_name(const u8 *buf, size_t len, struct x509_name *name, in x509_parse_name()
492 void x509_name_string(struct x509_name *name, char *buf, size_t len) in x509_name_string()
873 static int x509_parse_alt_name_rfc8222(struct x509_name *name, in x509_parse_alt_name_rfc8222()
895 static int x509_parse_alt_name_dns(struct x509_name *name, in x509_parse_alt_name_dns()
917 static int x509_parse_alt_name_uri(struct x509_name *name, in x509_parse_alt_name_uri()
941 static int x509_parse_alt_name_ip(struct x509_name *name, in x509_parse_alt_name_ip()
955 static int x509_parse_alt_name_rid(struct x509_name *name, in x509_parse_alt_name_rid()
971 static int x509_parse_ext_alt_name(struct x509_name *name, in x509_parse_ext_alt_name()
[all …]
Dtlsv1_client_ocsp.c51 struct x509_name *name, const u8 *key_hash) in ocsp_responder_id_match()
357 struct x509_name name; /* used if key_hash == NULL */ in tls_process_basic_ocsp_response()
/third_party/openssl/providers/implementations/storemgmt/
Dfile_store.c354 X509_NAME *x509_name; in file_set_ctx_params() local
365 || (x509_name = d2i_X509_NAME(NULL, &der, der_len)) == NULL) in file_set_ctx_params()
367 hash = X509_NAME_hash_ex(x509_name, in file_set_ctx_params()
372 X509_NAME_free(x509_name); in file_set_ctx_params()
/third_party/node/deps/openssl/openssl/providers/implementations/storemgmt/
Dfile_store.c354 X509_NAME *x509_name; in file_set_ctx_params() local
365 || (x509_name = d2i_X509_NAME(NULL, &der, der_len)) == NULL) in file_set_ctx_params()
367 hash = X509_NAME_hash_ex(x509_name, in file_set_ctx_params()
372 X509_NAME_free(x509_name); in file_set_ctx_params()
/third_party/mbedtls/
DChangeLog4927 * Fixed potential heap corruption in x509_name allocation
5014 * Fixed potential heap corruption in x509_name allocation