Lines Matching refs:type
102 char *type, *header; in nxt_cert_bio() local
120 ret = PEM_read_bio(bio, &type, &header, &data, &length); in nxt_cert_bio()
134 nxt_debug(task, "PEM type: \"%s\"", type); in nxt_cert_bio()
146 if (nxt_strcmp(type, PEM_STRING_PKCS8) == 0) { in nxt_cert_bio()
151 if (nxt_strcmp(type, PEM_STRING_PKCS8INF) == 0) { in nxt_cert_bio()
168 suffix = nxt_nxt_cert_pem_suffix(type, PEM_STRING_PKCS8INF); in nxt_cert_bio()
172 ameth = EVP_PKEY_asn1_find_str(NULL, type, suffix); in nxt_cert_bio()
187 if (nxt_strcmp(type, PEM_STRING_X509) == 0 in nxt_cert_bio()
188 || nxt_strcmp(type, PEM_STRING_X509_OLD) == 0) in nxt_cert_bio()
201 if (nxt_strcmp(type, PEM_STRING_X509_TRUSTED) == 0) { in nxt_cert_bio()
213 nxt_alert(task, "unsupported PEM type: \"%s\"", type); in nxt_cert_bio()
219 OPENSSL_free(type); in nxt_cert_bio()
754 if (name->type != GEN_DNS) { in nxt_cert_alt_names_details()
769 if (name->type != GEN_DNS) { in nxt_cert_alt_names_details()
1084 recv_port = rt->port_by_type[rt->type]; in nxt_cert_store_get()
1132 nxt_port_msg_type_t type; in nxt_cert_store_get_handler() local
1143 if (nxt_slow_path(port->type != NXT_PROCESS_CONTROLLER in nxt_cert_store_get_handler()
1144 && port->type != NXT_PROCESS_ROUTER)) in nxt_cert_store_get_handler()
1154 type = NXT_PORT_MSG_RPC_ERROR; in nxt_cert_store_get_handler()
1181 type = NXT_PORT_MSG_RPC_READY_LAST | NXT_PORT_MSG_CLOSE_FD; in nxt_cert_store_get_handler()
1186 (void) nxt_port_socket_write(task, port, type, file.fd, in nxt_cert_store_get_handler()