MDP);             reference.Put(PdfName.Type, PdfName.SigRef);             reference.Put(PdfName.TransformParams, transformParams);             SetDigestParamToSigRefIfNeeded(reference);             reference.Put(PdfName.Data, document.GetTrailer().Get(PdfName.Root));             PdfArray types = 