policy

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyAttestationRules

func ApplyAttestationRules(statement *ita.Statement, attrAssertion *scai.AttributeAssertion, rules []verifier.Constraint) error

func ApplyPlaintextRules

func ApplyPlaintextRules(text string, attrAssertion *scai.AttributeAssertion, rules []verifier.Constraint) error

func GenSHA256

func GenSHA256(bytes []byte) []byte

func MatchDigest

func MatchDigest(hexDigest string, blob []byte) bool

Types

type SCAIEvidencePolicy

type SCAIEvidencePolicy struct {
	AttestationID string                 `yaml:"attestationID"`
	Inspections   []*verifier.Inspection `yaml:"inspections"`
}

Jump to

Keyboard shortcuts

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