Lines Matching full:len
158 const unsigned char *bytes, int len)
162 attr = X509_ATTRIBUTE_create_by_OBJ(NULL, obj, type, bytes, len);
171 const unsigned char *bytes, int len)
175 attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len);
184 const unsigned char *bytes, int len)
188 attr = X509_ATTRIBUTE_create_by_txt(NULL, attrname, type, bytes, len);
212 int atrtype, const void *data, int len)
223 ret=X509_ATTRIBUTE_create_by_OBJ(attr,obj,atrtype,data,len);
229 const ASN1_OBJECT *obj, int atrtype, const void *data, int len)
246 if (!X509_ATTRIBUTE_set1_data(ret,atrtype,data,len))
258 const char *atrname, int type, const unsigned char *bytes, int len)
271 nattr = X509_ATTRIBUTE_create_by_OBJ(attr,obj,type,bytes,len);
285 int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype, const void *data, int len)
292 stmp = ASN1_STRING_set_by_NID(NULL, data, len, attrtype,
299 } else if (len != -1){
301 if(!ASN1_STRING_set(stmp, data, len)) goto err;
313 if ((len == -1) && !(attrtype & MBSTRING_FLAG))