generate

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(nonce []byte, metadata [][]byte, measurers []ar.Driver, s ar.Serializer) ([]byte, error)

Generate generates an attestation report with the provided nonce and manifests and descriptions metadata. The manifests and descriptions must be either raw JWS tokens in the JWS JSON full serialization format or CBOR COSE tokens. Takes a list of measurers providing a method for collecting the measurements from a hardware or software interface

func Sign

func Sign(report []byte, signer ar.Driver, s ar.Serializer) ([]byte, error)

Sign signs the attestation report with the specified signer 'signer'

Types

This section is empty.

Jump to

Keyboard shortcuts

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