This could be done for a public document that was never
printed, or for a scanned version of the electronic document (though the competent authority might well insist on seeing the original paper version, if there was one, before putting his or her
apostille on an electronic version of it.)