Wiener integrals, Malliavin calculus and covariance measure structure