Lines Matching refs:x509
47 static nxt_conf_value_t *nxt_cert_name_details(nxt_mp_t *mp, X509 *x509,
103 X509 *x509; in nxt_cert_bio() local
137 x509 = NULL; in nxt_cert_bio()
192 x509 = d2i_X509(NULL, &data_copy, length); in nxt_cert_bio()
193 if (x509 == NULL) { in nxt_cert_bio()
204 x509 = d2i_X509_AUX(NULL, &data_copy, length); in nxt_cert_bio()
205 if (x509 == NULL) { in nxt_cert_bio()
232 if (x509 != NULL) { in nxt_cert_bio()
240 X509_free(x509); in nxt_cert_bio()
247 cert->chain[cert->count++] = x509; in nxt_cert_bio()
495 X509 *x509; in nxt_cert_details() local
567 x509 = cert->chain[i]; in nxt_cert_details()
569 value = nxt_cert_name_details(mp, x509, 0); in nxt_cert_details()
576 value = nxt_cert_name_details(mp, x509, 1); in nxt_cert_details()
593 asn1_time = X509_get_notBefore(x509); in nxt_cert_details()
616 asn1_time = X509_get_notAfter(x509); in nxt_cert_details()
652 nxt_cert_name_details(nxt_mp_t *mp, X509 *x509, nxt_bool_t issuer) in nxt_cert_name_details() argument
676 x509_name = issuer ? X509_get_issuer_name(x509) in nxt_cert_name_details()
677 : X509_get_subject_name(x509); in nxt_cert_name_details()
688 alt_names = X509_get_ext_d2i(x509, issuer ? NID_issuer_alt_name in nxt_cert_name_details()