Home
last modified time | relevance | path

Searched refs:cert_info (Results 1 – 25 of 37) sorted by relevance

12

/third_party/node/deps/openssl/openssl/crypto/x509/
Dx509_set.c27 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 ossl_x509_set1_time(&x->cert_info.validity.notBefore, tm); in X509_set1_notBefore()
89 return ossl_x509_set1_time(&x->cert_info.validity.notAfter, tm); in X509_set1_notAfter()
[all …]
Dx509_cmp.c28 ai = &a->cert_info; in X509_issuer_and_serial_cmp()
29 bi = &b->cert_info; in X509_issuer_and_serial_cmp()
47 f = X509_NAME_oneline(a->cert_info.issuer, NULL, 0); in X509_issuer_and_serial_hash()
59 (ctx, (unsigned char *)a->cert_info.serialNumber.data, in X509_issuer_and_serial_hash()
60 (unsigned long)a->cert_info.serialNumber.length)) in X509_issuer_and_serial_hash()
77 return X509_NAME_cmp(a->cert_info.issuer, b->cert_info.issuer); in X509_issuer_name_cmp()
82 return X509_NAME_cmp(a->cert_info.subject, b->cert_info.subject); in X509_subject_name_cmp()
105 return a->cert_info.issuer; in X509_get_issuer_name()
110 return X509_NAME_hash_ex(x->cert_info.issuer, NULL, NULL, NULL); in X509_issuer_name_hash()
116 return X509_NAME_hash_old(x->cert_info.issuer); in X509_issuer_name_hash_old()
[all …]
Dx509_ext.c68 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()
Dx_all.c33 if (X509_ALGOR_cmp(&a->sig_alg, &a->cert_info.signature) != 0) in X509_verify()
37 &a->signature, &a->cert_info, in X509_verify()
74 x->cert_info.enc.modified = 1; in X509_sign()
75 return ASN1_item_sign_ex(ASN1_ITEM_rptr(X509_CINF), &x->cert_info.signature, in X509_sign()
76 &x->sig_alg, &x->signature, &x->cert_info, NULL, in X509_sign()
86 x->cert_info.enc.modified = 1; in X509_sign_ctx()
88 &x->cert_info.signature, in X509_sign_ctx()
89 &x->sig_alg, &x->signature, &x->cert_info, ctx); in X509_sign_ctx()
Dx_x509.c133 ASN1_EMBED(X509, cert_info, X509_CINF),
291 x->cert_info.enc.modified = 1; in i2d_re_X509_tbs()
292 return i2d_X509_CINF(&x->cert_info, pp); in i2d_re_X509_tbs()
Dx509_r2x.c33 xi = &ret->cert_info; in X509_REQ_to_X509()
Dv3_skid.c109 ctx->subject_cert->cert_info.key : in s2i_skey_id()
Dby_dir.c247 data.st_x509.cert_info.subject = (X509_NAME *)name; /* won't modify it */ in get_cert_by_subject_ex()
Dv3_conf.c346 sk = &cert->cert_info.extensions; in X509V3_EXT_add_nconf()
/third_party/openssl/crypto/x509/
Dx509_set.c27 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 ossl_x509_set1_time(&x->cert_info.validity.notBefore, tm); in X509_set1_notBefore()
89 return ossl_x509_set1_time(&x->cert_info.validity.notAfter, tm); in X509_set1_notAfter()
[all …]
Dx509_cmp.c28 ai = &a->cert_info; in X509_issuer_and_serial_cmp()
29 bi = &b->cert_info; in X509_issuer_and_serial_cmp()
47 f = X509_NAME_oneline(a->cert_info.issuer, NULL, 0); in X509_issuer_and_serial_hash()
59 (ctx, (unsigned char *)a->cert_info.serialNumber.data, in X509_issuer_and_serial_hash()
60 (unsigned long)a->cert_info.serialNumber.length)) in X509_issuer_and_serial_hash()
77 return X509_NAME_cmp(a->cert_info.issuer, b->cert_info.issuer); in X509_issuer_name_cmp()
82 return X509_NAME_cmp(a->cert_info.subject, b->cert_info.subject); in X509_subject_name_cmp()
105 return a->cert_info.issuer; in X509_get_issuer_name()
110 return X509_NAME_hash_ex(x->cert_info.issuer, NULL, NULL, NULL); in X509_issuer_name_hash()
116 return X509_NAME_hash_old(x->cert_info.issuer); in X509_issuer_name_hash_old()
[all …]
Dx509_ext.c68 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()
Dx_all.c33 if (X509_ALGOR_cmp(&a->sig_alg, &a->cert_info.signature) != 0) in X509_verify()
37 &a->signature, &a->cert_info, in X509_verify()
74 x->cert_info.enc.modified = 1; in X509_sign()
75 return ASN1_item_sign_ex(ASN1_ITEM_rptr(X509_CINF), &x->cert_info.signature, in X509_sign()
76 &x->sig_alg, &x->signature, &x->cert_info, NULL, in X509_sign()
86 x->cert_info.enc.modified = 1; in X509_sign_ctx()
88 &x->cert_info.signature, in X509_sign_ctx()
89 &x->sig_alg, &x->signature, &x->cert_info, ctx); in X509_sign_ctx()
Dx_x509.c133 ASN1_EMBED(X509, cert_info, X509_CINF),
291 x->cert_info.enc.modified = 1; in i2d_re_X509_tbs()
292 return i2d_X509_CINF(&x->cert_info, pp); in i2d_re_X509_tbs()
Dx509_r2x.c33 xi = &ret->cert_info; in X509_REQ_to_X509()
Dv3_skid.c109 ctx->subject_cert->cert_info.key : in s2i_skey_id()
Dby_dir.c247 data.st_x509.cert_info.subject = (X509_NAME *)name; /* won't modify it */ in get_cert_by_subject_ex()
Dv3_conf.c346 sk = &cert->cert_info.extensions; in X509V3_EXT_add_nconf()
/third_party/curl/tests/libtest/
Dlib3102.c32 static bool is_chain_in_order(struct curl_certinfo *cert_info) in is_chain_in_order() argument
38 if(cert_info->num_of_certs <= 1) in is_chain_in_order()
42 for(cert = 0; cert < cert_info->num_of_certs; cert++) { in is_chain_in_order()
43 struct curl_slist *slist = cert_info->certinfo[cert]; in is_chain_in_order()
124 struct curl_certinfo *cert_info = NULL; in test() local
126 res = curl_easy_getinfo(curl, CURLINFO_CERTINFO, &cert_info); in test()
129 if(!is_chain_in_order(cert_info)) in test()
/third_party/libcoap/src/
Dcoap_gnutls.c646 coap_gnutls_certificate_info_t *cert_info) { in get_san_or_cn() argument
655 cert_info->certificate_type = gnutls_certificate_type_get2(g_session, in get_san_or_cn()
658 cert_info->certificate_type = gnutls_certificate_type_get(g_session); in get_san_or_cn()
661 cert_info->san_or_cn = NULL; in get_san_or_cn()
663 cert_info->cert_list = gnutls_certificate_get_peers(g_session, in get_san_or_cn()
664 &cert_info->cert_list_size); in get_san_or_cn()
665 if (cert_info->cert_list_size == 0) { in get_san_or_cn()
669 if (cert_info->certificate_type != GNUTLS_CRT_X509) in get_san_or_cn()
670 return cert_info->certificate_type; in get_san_or_cn()
675 G_CHECK(gnutls_x509_crt_import(cert, &cert_info->cert_list[0], in get_san_or_cn()
[all …]
/third_party/curl/lib/vtls/
Dschannel_verify.c350 CERT_INFO *cert_info = NULL; in cert_get_name_string() local
390 cert_info = cert_context->pCertInfo; in cert_get_name_string()
391 if(!cert_info) { in cert_get_name_string()
397 cert_info->cExtension, in cert_get_name_string()
398 cert_info->rgExtension); in cert_get_name_string()
/third_party/openssl/ohos_lite/include/crypto/
Dx509.h161 X509_CINF cert_info; member
/third_party/openssl/include/crypto/
Dx509.h175 X509_CINF cert_info; member
/third_party/node/deps/openssl/openssl/include/crypto/
Dx509.h175 X509_CINF cert_info; member
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dtypes.rs276 pub cert_info: *mut X509_CINF,
302 pub cert_info: *mut X509_CINF,

12