For the purposes of the definition secure electronic signature in subsection 31(1) of the Act, a secure electronic signature in respect of data contained in an electronic document is a digital signature that results from completion of the following consecutive operations:
(a)application of the hash function to the data to generate a message digest;
(b)application of a private key to encrypt the message digest;
(c)incorporation in, attachment to, or association with the electronic document of the encrypted message digest;
(d)transmission of the electronic document and encrypted message digest together with either
(i)application of the public key contained in the digital signature certificate to decrypt the encrypted message digest and produce the message digest referred to in paragraph (a),
(ii)application of the hash function to the data contained in the electronic document to generate a new message digest,
Federal laws of Canada reproduced under the Reproduction of Federal Law Order (SI/97-5); not the official version. Source: Justice Laws Website.
(iii)verification that, on comparison, the message digests referred to in paragraph (a) and subparagraph (ii) are identical, and