Nonlinear optical response properties of a quantum dot embedded in a semiconductor microcavity: possible applications in quantum communication platforms