prover

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(nonce []byte, cached []string, metadata map[string][]byte, drivers []ar.Driver, s ar.Serializer,
) (*ar.AttestationReport, map[string][]byte, error)

Generate generates an attestation report with the provided nonce and metadata. The metadata must either be in the form of JWS tokens infull serialization format or CBOR COSE tokens. The function takes a list of drivers for collecting the measurements from a hardware or software interface

func Sign

func Sign(report []byte, signer ar.Driver, s ar.Serializer, sel ar.KeySelection) ([]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