Documentation ¶
Index ¶
- func ApplyAttestationRules(statement *ita.Statement, attrAssertion *scai.AttributeAssertion, ...) error
- func ApplyPlaintextRules(text string, attrAssertion *scai.AttributeAssertion, ...) error
- func GenSHA256(bytes []byte) []byte
- func MatchDigest(hexDigest string, blob []byte) bool
- type SCAIEvidencePolicy
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 MatchDigest ¶
Types ¶
type SCAIEvidencePolicy ¶
type SCAIEvidencePolicy struct { AttestationID string `yaml:"attestationID"` Inspections []*verifier.Inspection `yaml:"inspections"` }
Click to show internal directories.
Click to hide internal directories.