Lines Matching refs:nid
843 int nid; in php_openssl_add_assoc_name_entry() local
861 nid = OBJ_obj2nid(obj); in php_openssl_add_assoc_name_entry()
864 sname = (char *) OBJ_nid2sn(nid); in php_openssl_add_assoc_name_entry()
866 sname = (char *) OBJ_nid2ln(nid); in php_openssl_add_assoc_name_entry()
2416 int nid; in PHP_FUNCTION() local
2418 nid = OBJ_obj2nid(X509_EXTENSION_get_object(extension)); in PHP_FUNCTION()
2419 if (nid != NID_undef) { in PHP_FUNCTION()
2430 if (nid == NID_subject_alt_name) { in PHP_FUNCTION()
3083 int i, nid; in php_openssl_make_REQ() local
3094 int nid; in php_openssl_make_REQ() local
3098 nid = OBJ_txt2nid(ZSTR_VAL(strindex)); in php_openssl_make_REQ()
3099 if (nid != NID_undef) { in php_openssl_make_REQ()
3100 if (!X509_NAME_add_entry_by_NID(subj, nid, MBSTRING_UTF8, in php_openssl_make_REQ()
3108 nid, Z_STRVAL_P(item)); in php_openssl_make_REQ()
3152 nid = OBJ_txt2nid(type); in php_openssl_make_REQ()
3153 if (X509_NAME_get_index_by_NID(subj, nid, -1) >= 0) { in php_openssl_make_REQ()
3168 int nid; in php_openssl_make_REQ() local
3177 nid = OBJ_txt2nid(ZSTR_VAL(strindex)); in php_openssl_make_REQ()
3178 if (nid != NID_undef) { in php_openssl_make_REQ()
3179 …if (!X509_NAME_add_entry_by_NID(subj, nid, MBSTRING_UTF8, (unsigned char*)Z_STRVAL_P(item), -1, -1… in php_openssl_make_REQ()
3181 …php_error_docref(NULL, E_WARNING, "attribs: add_entry_by_NID %d -> %s (failed)", nid, Z_STRVAL_P(i… in php_openssl_make_REQ()
3191 nid = OBJ_txt2nid(v->name); in php_openssl_make_REQ()
3192 if (X509_REQ_get_attr_by_NID(csr, nid, -1) >= 0) { in php_openssl_make_REQ()
4386 int nid = OBJ_sn2nid(Z_STRVAL_P(bn)); in PHP_FUNCTION() local
4387 if (nid != NID_undef) { in PHP_FUNCTION()
4388 group = EC_GROUP_new_by_curve_name(nid); in PHP_FUNCTION()
4847 int nid; in PHP_FUNCTION() local
4860 nid = EC_GROUP_get_curve_name(ec_group); in PHP_FUNCTION()
4861 if (nid == NID_undef) { in PHP_FUNCTION()
4867 crv_sn = (char*) OBJ_nid2sn(nid); in PHP_FUNCTION()
4872 obj = OBJ_nid2obj(nid); in PHP_FUNCTION()
6292 sname = OBJ_nid2sn(curves[i].nid); in PHP_FUNCTION()