What happens if the verification of the signature of the document is done once the certificate is revoked or invalid?
If the signature was made when the digital certificate was valid the electronic signature is considered valid. However, the number of years elapsed since the signing and the technological advance must also be considered, since its security could have been violated. It is for this reason that it is appropriate to extend the validity of electronic signatures to long-term ones.