When digitally signing a document, the integrity of the signature relies not just on the soundness of the digital signature algorithms that are used, but also on the security of the computing platform used to sign the document.
A digitally signed document's integrity relies not only on the strength of the algorithm but also on the security of the computer system where the signature is created.