A method for generating, providing and exchanging a trusted electronic record or certificate in one or more computer resources in a network based on an electronic document concerning a user, comprising the steps:
- communicating a restriction of an interaction by an object to the user, proving a non-fulfillment/fulfillment of the restriction by the user using a document;
- contacting, by electronic data communication, a blockchain held in a network by the user, the blockchain containing a smart contract that is configured to check whether the document provided by a certification authority and comprising information relating to the user in an electronic format proves that the user has fulfilled the restriction, wherein contacting the blockchain further comprises transmitting, by means of an electronic communication, information by the user about the restriction over the network to the blockchain;
- checking, by a miner, the fulfillment of the restriction using the smart contract;
- calculating, depending on the result of checking compliance with the restriction, a proof using the smart contract, and generating a certificate of the proof using the smart contract using a cryptographical function, wherein the smart contract is programmed and adapted to send a presence/absence of the fulfillment/non-fulfillment of the restriction after the smart contract has processed the proof, and the smart contract has generated the certificate of the proof using the cryptographic function to the user;
- and
- sending the certificate of the proof and the proof using the smart contract to the user through the blockchain,
- the smart contract being configured to communicate to the user an existence/non-existence of fulfillment/non-fulfillment of the restriction by the user in a form that has the same level of assurance as the document used to verify compliance with the restriction using the smart contract.