Lines Matching defs:len
20 char *buf, int len)
27 return X509_NAME_get_text_by_OBJ(name, obj, buf, len);
31 char *buf, int len)
42 if (len <= 0)
44 i = (data->length > (len - 1)) ? (len - 1) : data->length;
142 const unsigned char *bytes, int len, int loc,
148 ne = X509_NAME_ENTRY_create_by_OBJ(NULL, obj, type, bytes, len);
157 const unsigned char *bytes, int len, int loc,
162 ne = X509_NAME_ENTRY_create_by_NID(NULL, nid, type, bytes, len);
171 const unsigned char *bytes, int len, int loc,
176 ne = X509_NAME_ENTRY_create_by_txt(NULL, field, type, bytes, len);
245 int len)
256 nentry = X509_NAME_ENTRY_create_by_OBJ(ne, obj, type, bytes, len);
264 int len)
274 nentry = X509_NAME_ENTRY_create_by_OBJ(ne, obj, type, bytes, len);
282 int len)
294 if (!X509_NAME_ENTRY_set_data(ret, type, bytes, len))
318 const unsigned char *bytes, int len)
322 if ((ne == NULL) || ((bytes == NULL) && (len != 0)))
326 len, type,
328 if (len < 0)
329 len = strlen((const char *)bytes);
330 i = ASN1_STRING_set(ne->value, bytes, len);
335 ne->value->type = ASN1_PRINTABLE_type(bytes, len);