/third_party/grpc/src/core/lib/security/credentials/tls/ |
D | grpc_tls_certificate_distributor.cc | 32 auto& cert_info = certificate_info_map_[cert_name]; in SetKeyMaterials() local 35 cert_info.SetRootError(GRPC_ERROR_NONE); in SetKeyMaterials() 36 for (auto* watcher_ptr : cert_info.root_cert_watchers) { in SetKeyMaterials() 56 cert_info.pem_root_certs = std::move(*pem_root_certs); in SetKeyMaterials() 60 cert_info.SetIdentityError(GRPC_ERROR_NONE); in SetKeyMaterials() 61 for (const auto watcher_ptr : cert_info.identity_cert_watchers) { in SetKeyMaterials() 82 cert_info.pem_key_cert_pairs = std::move(*pem_key_cert_pairs); in SetKeyMaterials() 107 CertificateInfo& cert_info = certificate_info_map_[cert_name]; in SetErrorForCert() local 109 for (auto* watcher_ptr : cert_info.root_cert_watchers) { in SetErrorForCert() 127 cert_info.SetRootError(*root_cert_error); in SetErrorForCert() [all …]
|
/third_party/openssl/crypto/x509/ |
D | x509_set.c | 27 ASN1_INTEGER_free(x->cert_info.version); in X509_set_version() 28 x->cert_info.version = NULL; in X509_set_version() 31 if (x->cert_info.version == NULL) { in X509_set_version() 32 if ((x->cert_info.version = ASN1_INTEGER_new()) == NULL) in X509_set_version() 35 return ASN1_INTEGER_set(x->cert_info.version, version); in X509_set_version() 44 in = &x->cert_info.serialNumber; in X509_set_serialNumber() 54 return X509_NAME_set(&x->cert_info.issuer, name); in X509_set_issuer_name() 61 return X509_NAME_set(&x->cert_info.subject, name); in X509_set_subject_name() 82 return x509_set1_time(&x->cert_info.validity.notBefore, tm); in X509_set1_notBefore() 89 return x509_set1_time(&x->cert_info.validity.notAfter, tm); in X509_set1_notAfter() [all …]
|
D | x509_cmp.c | 23 ai = &a->cert_info; in X509_issuer_and_serial_cmp() 24 bi = &b->cert_info; in X509_issuer_and_serial_cmp() 41 f = X509_NAME_oneline(a->cert_info.issuer, NULL, 0); in X509_issuer_and_serial_hash() 50 (ctx, (unsigned char *)a->cert_info.serialNumber.data, in X509_issuer_and_serial_hash() 51 (unsigned long)a->cert_info.serialNumber.length)) in X509_issuer_and_serial_hash() 66 return X509_NAME_cmp(a->cert_info.issuer, b->cert_info.issuer); in X509_issuer_name_cmp() 71 return X509_NAME_cmp(a->cert_info.subject, b->cert_info.subject); in X509_subject_name_cmp() 86 return a->cert_info.issuer; in X509_get_issuer_name() 91 return X509_NAME_hash(x->cert_info.issuer); in X509_issuer_name_hash() 97 return X509_NAME_hash_old(x->cert_info.issuer); in X509_issuer_name_hash_old() [all …]
|
D | x509_ext.c | 68 return X509v3_get_ext_count(x->cert_info.extensions); in X509_get_ext_count() 73 return X509v3_get_ext_by_NID(x->cert_info.extensions, nid, lastpos); in X509_get_ext_by_NID() 78 return X509v3_get_ext_by_OBJ(x->cert_info.extensions, obj, lastpos); in X509_get_ext_by_OBJ() 84 (x->cert_info.extensions, crit, lastpos)); in X509_get_ext_by_critical() 89 return X509v3_get_ext(x->cert_info.extensions, loc); in X509_get_ext() 94 return X509v3_delete_ext(x->cert_info.extensions, loc); in X509_delete_ext() 99 return (X509v3_add_ext(&(x->cert_info.extensions), ex, loc) != NULL); in X509_add_ext() 104 return X509V3_get_d2i(x->cert_info.extensions, nid, crit, idx); in X509_get_ext_d2i() 110 return X509V3_add1_i2d(&x->cert_info.extensions, nid, value, crit, in X509_add1_ext_i2d()
|
D | x_all.c | 24 if (X509_ALGOR_cmp(&a->sig_alg, &a->cert_info.signature)) in X509_verify() 27 &a->signature, &a->cert_info, r)); in X509_verify() 44 x->cert_info.enc.modified = 1; in X509_sign() 45 return (ASN1_item_sign(ASN1_ITEM_rptr(X509_CINF), &x->cert_info.signature, in X509_sign() 46 &x->sig_alg, &x->signature, &x->cert_info, pkey, in X509_sign() 52 x->cert_info.enc.modified = 1; in X509_sign_ctx() 54 &x->cert_info.signature, in X509_sign_ctx() 55 &x->sig_alg, &x->signature, &x->cert_info, ctx); in X509_sign_ctx()
|
D | x_x509.c | 104 ASN1_EMBED(X509, cert_info, X509_CINF), 231 x->cert_info.enc.modified = 1; in i2d_re_X509_tbs() 232 return i2d_X509_CINF(&x->cert_info, pp); in i2d_re_X509_tbs()
|
D | x509_r2x.c | 33 xi = &ret->cert_info; in X509_REQ_to_X509()
|
D | x_pubkey.c | 377 return x->cert_info.key->public_key; in X509_get0_pubkey_bitstr()
|
D | by_dir.c | 231 data.st_x509.cert_info.subject = name; in get_cert_by_subject()
|
D | x509_lu.c | 486 x509_s.cert_info.subject = name; in x509_object_idx_cnt()
|
/third_party/libcoap/src/ |
D | coap_gnutls.c | 620 coap_gnutls_certificate_info_t *cert_info) in get_san_or_cn() argument 630 cert_info->certificate_type = gnutls_certificate_type_get2(g_session, in get_san_or_cn() 633 cert_info->certificate_type = gnutls_certificate_type_get(g_session); in get_san_or_cn() 636 cert_info->san_or_cn = NULL; in get_san_or_cn() 638 cert_info->cert_list = gnutls_certificate_get_peers(g_session, in get_san_or_cn() 639 &cert_info->cert_list_size); in get_san_or_cn() 640 if (cert_info->cert_list_size == 0) { in get_san_or_cn() 644 if (cert_info->certificate_type != GNUTLS_CRT_X509) in get_san_or_cn() 645 return cert_info->certificate_type; in get_san_or_cn() 650 G_CHECK(gnutls_x509_crt_import(cert, &cert_info->cert_list[0], in get_san_or_cn() [all …]
|
/third_party/curl/lib/vtls/ |
D | schannel_verify.c | 348 CERT_INFO *cert_info = NULL; in cert_get_name_string() local 388 cert_info = cert_context->pCertInfo; in cert_get_name_string() 389 if(!cert_info) { in cert_get_name_string() 395 cert_info->cExtension, in cert_get_name_string() 396 cert_info->rgExtension); in cert_get_name_string()
|
D | openssl.c | 3625 X509_CINF *cinf = x->cert_info; in get_cert_chain()
|
/third_party/openssl/crypto/x509v3/ |
D | v3_skey.c | 84 pubkey = ctx->subject_cert->cert_info.key; in s2i_skey_id()
|
D | v3_conf.c | 336 sk = &cert->cert_info.extensions; in X509V3_EXT_add_nconf()
|
D | v3_purp.c | 358 if (OBJ_find_sigid_algs(OBJ_obj2nid(subject->cert_info.signature.algorithm), in check_sig_alg_match()
|
/third_party/openssl/include/crypto/ |
D | x509.h | 161 X509_CINF cert_info; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | tls_openssl.c | 626 pub_rsa = cert->cert_info->key->pkey->pkey.rsa; in tls_cryptoapi_cert()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | tls_openssl.c | 630 pub_rsa = cert->cert_info->key->pkey->pkey.rsa; in tls_cryptoapi_cert()
|