def _txt2obj(backend, name):
 name = name.encode('ascii')
 obj = backend._lib.OBJ_txt2obj(name, 1)
 backend.openssl_assert((obj != backend._ffi.NULL))
 return obj

def _txt2obj ( backend , name ) : name = name . encode ( 'ascii' ) obj = backend . _lib . OBJ_txt2obj ( name , 1 ) backend . openssl_assert ( ( obj != backend . _ffi . NULL ) ) return obj
converts a python string with an asn .