Lines Matching refs:bytes
142 const unsigned char *bytes, int len, int loc, in X509_NAME_add_entry_by_OBJ() argument
148 ne = X509_NAME_ENTRY_create_by_OBJ(NULL, obj, type, bytes, len); in X509_NAME_add_entry_by_OBJ()
157 const unsigned char *bytes, int len, int loc, in X509_NAME_add_entry_by_NID() argument
162 ne = X509_NAME_ENTRY_create_by_NID(NULL, nid, type, bytes, len); in X509_NAME_add_entry_by_NID()
171 const unsigned char *bytes, int len, int loc, in X509_NAME_add_entry_by_txt() argument
176 ne = X509_NAME_ENTRY_create_by_txt(NULL, field, type, bytes, len); in X509_NAME_add_entry_by_txt()
244 const unsigned char *bytes, in X509_NAME_ENTRY_create_by_txt() argument
256 nentry = X509_NAME_ENTRY_create_by_OBJ(ne, obj, type, bytes, len); in X509_NAME_ENTRY_create_by_txt()
263 const unsigned char *bytes, in X509_NAME_ENTRY_create_by_NID() argument
274 nentry = X509_NAME_ENTRY_create_by_OBJ(ne, obj, type, bytes, len); in X509_NAME_ENTRY_create_by_NID()
281 const unsigned char *bytes, in X509_NAME_ENTRY_create_by_OBJ() argument
294 if (!X509_NAME_ENTRY_set_data(ret, type, bytes, len)) in X509_NAME_ENTRY_create_by_OBJ()
318 const unsigned char *bytes, int len) in X509_NAME_ENTRY_set_data() argument
322 if ((ne == NULL) || ((bytes == NULL) && (len != 0))) in X509_NAME_ENTRY_set_data()
325 return ASN1_STRING_set_by_NID(&ne->value, bytes, in X509_NAME_ENTRY_set_data()
329 len = strlen((const char *)bytes); in X509_NAME_ENTRY_set_data()
330 i = ASN1_STRING_set(ne->value, bytes, len); in X509_NAME_ENTRY_set_data()
335 ne->value->type = ASN1_PRINTABLE_type(bytes, len); in X509_NAME_ENTRY_set_data()