ASN1_STRING_new(3) OpenSSL ASN1_STRING_new(3) NNAAMMEE ASN1_STRING_new, ASN1_STRING_type_new, ASN1_STRING_free - ASN1_STRING allocation functions SSYYNNOOPPSSIISS #include ASN1_STRING * ASN1_STRING_new(void); ASN1_STRING * ASN1_STRING_type_new(int type); void ASN1_STRING_free(ASN1_STRING *a); DDEESSCCRRIIPPTTIIOONN _A_S_N_1___S_T_R_I_N_G___n_e_w_(_) returns an allocated AASSNN11__SSTTRRIINNGG structure. Its type is undefined. _A_S_N_1___S_T_R_I_N_G___t_y_p_e___n_e_w_(_) returns an allocated AASSNN11__SSTTRRIINNGG structure of type ttyyppee. _A_S_N_1___S_T_R_I_N_G___f_r_e_e_(_) frees up aa. NNOOTTEESS Other string types call the AASSNN11__SSTTRRIINNGG functions. For example _A_S_N_1___O_C_T_E_T___S_T_R_I_N_G___n_e_w_(_) calls ASN1_STRING_type(V_ASN1_OCTET_STRING). RREETTUURRNN VVAALLUUEESS _A_S_N_1___S_T_R_I_N_G___n_e_w_(_) and _A_S_N_1___S_T_R_I_N_G___t_y_p_e___n_e_w_(_) return a valid ASN1_STRING structure or NNUULLLL if an error occurred. _A_S_N_1___S_T_R_I_N_G___f_r_e_e_(_) does not return a value. SSEEEE AALLSSOO _E_R_R___g_e_t___e_r_r_o_r(3) HHIISSTTOORRYY TBA 1.0.1u 2016-09-22 ASN1_STRING_new(3)