Home | History | Annotate | Download | only in x509v3

Lines Matching refs:nid

102 const X509V3_EXT_METHOD *X509V3_EXT_get_nid(int nid)
108 if (nid < 0)
110 tmp.ext_nid = nid;
126 int nid;
127 if ((nid = OBJ_obj2nid(ext->object)) == NID_undef)
129 return X509V3_EXT_get_nid(nid);
132 int X509V3_EXT_free(int nid, void *ext_data)
134 const X509V3_EXT_METHOD *ext_method = X509V3_EXT_get_nid(nid);
220 * Get critical flag and decoded version of extension from a NID. The "idx"
222 * multiple extensions of the same NID. However multiple extensions with the
223 * same NID is usually due to a badly encoded certificate so if idx is NULL
232 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit,
253 if (OBJ_obj2nid(ex->object) == nid) {
288 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value,
301 extidx = X509v3_get_ext_by_NID(*x, nid, -1);
335 ext = X509V3_EXT_i2d(nid, crit, value);