Searched refs:x509_name (Results 1 – 2 of 2) sorted by relevance
67 X509_NAME_Ptr x509_name(X509_NAME_new()); in make_name_from_str() local68 if (!x509_name.get()) { in make_name_from_str()71 if (!X509_NAME_add_entry_by_txt(x509_name.get(), // in make_name_from_str()79 *name_out = move(x509_name); in make_name_from_str()87 X509_NAME_Ptr x509_name(d2i_X509_NAME(nullptr, &p, name.data_length)); in make_name_from_der() local88 if (!x509_name.get()) { in make_name_from_der()92 *name_out = move(x509_name); in make_name_from_der()
58 X509_NAME_Ptr x509_name(d2i_X509_NAME(nullptr, &p, name->get().size())); in makeCommonName() local59 if (!x509_name) { in makeCommonName()62 return x509_name; in makeCommonName()65 X509_NAME_Ptr x509_name(X509_NAME_new()); in makeCommonName() local66 if (!x509_name) { in makeCommonName()69 if (!X509_NAME_add_entry_by_txt(x509_name.get(), "CN", MBSTRING_ASC, in makeCommonName()74 return x509_name; in makeCommonName()