Lines Matching refs:ext_nid
22 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid,
30 int ext_nid, int crit, void *ext_struc);
55 X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid, in X509V3_EXT_nconf_nid() argument
62 return v3_generic_extension(OBJ_nid2sn(ext_nid), in X509V3_EXT_nconf_nid()
64 return do_ext_nconf(conf, ctx, ext_nid, crit, value); in X509V3_EXT_nconf_nid()
69 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, in do_ext_nconf() argument
77 if (ext_nid == NID_undef) { in do_ext_nconf()
81 if ((method = X509V3_EXT_get_nid(ext_nid)) == NULL) { in do_ext_nconf()
94 ERR_add_error_data(4, "name=", OBJ_nid2sn(ext_nid), ",section=", in do_ext_nconf()
118 ERR_add_error_data(2, "name=", OBJ_nid2sn(ext_nid)); in do_ext_nconf()
122 ext = do_ext_i2d(method, ext_nid, crit, ext_struc); in do_ext_nconf()
132 int ext_nid, int crit, void *ext_struc) in do_ext_i2d() argument
160 ext = X509_EXTENSION_create_by_NID(NULL, ext_nid, crit, ext_oct); in do_ext_i2d()
177 X509_EXTENSION *X509V3_EXT_i2d(int ext_nid, int crit, void *ext_struc) in X509V3_EXT_i2d() argument
181 if ((method = X509V3_EXT_get_nid(ext_nid)) == NULL) { in X509V3_EXT_i2d()
185 return do_ext_i2d(method, ext_nid, crit, ext_struc); in X509V3_EXT_i2d()
455 X509V3_CTX *ctx, int ext_nid, const char *value) in X509V3_EXT_conf_nid() argument
459 return X509V3_EXT_nconf_nid(&ctmp, ctx, ext_nid, value); in X509V3_EXT_conf_nid()