This is a Proof of Concept to certify and verify Matlab reseach data with the bloxberg network. This API can be used to verify the existence of a certain file in a specific point of time without sharing the file or its content itself.
First the user has to create an instance of the MatlabBloxbergAPI by calling on of the two constructor functions.
Exsample:
MBB = MatlabBloxbergAPI('[AUTHORNAME]', [BUFFERSIZE]);
MBB = MatlabBloxbergAPI('[AUTHORNAME]', [BUFFERSIZE], '[CERTIFYURL]', '[VERIFYURL]');
The recommended [BUFFERSIZE] is 51200. The [CERTIFYURL] has to be https://certify.bloxberg.org/certifyData and the [VERIFYURL] https://certify.bloxberg.org/generateCertificate to communicate with the Bloxberg Network.
After creating the instance of the API the user certifies the data by calling the certifyData function.
Exsample:
MBB = certifyData(MBB, '[RESEARCHFILENAME]');
The [RESEARCHFILENAME] can be any type of Data. recommended is to certify a .mat file.
At least the user generates a certificate of the research data by calling the generateCertificate function.
Exsample:
generateCertificate(MBB, '[CERTIFICATEOUTPUTPATH]', '[CERTIFICATEFILENAME]');
The [CERTIFICATEOUTPUTPATH] specifies the path of the certificate and [CERTIFICATEFILENAME] is the name of the generated certificate.
MBB = MatlabBloxbergAPI('Max Mustermann', 51200, 'https://certify.bloxberg.org/certifyData', 'https://certify.bloxberg.org/generateCertificate');
MBB = certifyData(MBB, 'researchdata.mat');
generateCertificate(MBB, 'C:\Users\Max\Desktop', 'mycertificate.pdf');