'Returns the type name of the PKCS7 structure
:return: A string with the typename'

def get_type_name(self):

    nid = _lib.OBJ_obj2nid(self._pkcs7.type)
    string_type = _lib.OBJ_nid2sn(nid)
    return _ffi.string(string_type)
