BEC-API Source code
This repository contains a fragment of backend source of Blockchain Ensured Certificate application, which validate the given hash-value of the ensured certificate against value stored in the Ethereum public blockchain.
Validate the given hash-value found in CERTIVATION-issued certificate
URL Parameters :
hash is the hash-value printed in the downloaded CERTIVATION-issued certificate or shown in the BEC service.
Auth required :
Notice: the relevant logic can be found in
Condition : If and only if the certificate in the database contains the given hash-value and the hash-value is the same as the hash-value fetched in the Ethereum public blockchain.
Condition : If no certificate in the database contains the given hash-value or the hash-value cannot be fetched from the Ethereum public blockchain or the given hash-value is differenet from the one fetched from the Ethereum public blockchain.
404 NOT FOUND
The fragment of code is not runnable at the moment, we plan to publish the full implementation of this repository in a near future.