remote_attestation

command
v0.0.0-...-036677f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

README

Remote attestation smart contract

Smart contract to record the remote attestation status of device. This smart contract provides a way for attestors/verifiers to record the status and validation hash on block chain to guarantee integrity and allow multiple attestors to record the status.

Steps to deploy and use this smart contract

  1. Deploy chaincode

    curl -k -XPOST -d @scripts/deploy_chaincode.txt https://$blockchain_ip/chaincode
    
  2. Record attestation status

    curl -k -XPOST -d @scripts/record_attestation_status.txt https://$blockchain_ip/chaincode
    
  3. Query all attestation records

    curl -k -XPOST -d @scripts/attestation_records.txt https://$blockchain_ip/chaincode
    

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL