Functional characterization of biodegradable nanoparticles as antigen delivery system