Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PredicateTypeShell = attestation.PredicateType("https://docs.oasis-open.org/openeox/shell/v1.0") PredicateTypeCore = attestation.PredicateType("https://docs.oasis-open.org/openeox/core/v1.0") )
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct{}
func (*Parser) Parse ¶
func (p *Parser) Parse(data []byte) (attestation.Predicate, error)
Parse reads a byte slice with an OpenEoX shell or core and returns an attestation predicate with the appropriate predicate type.
func (*Parser) SupportsType ¶
func (*Parser) SupportsType(predTypes ...attestation.PredicateType) bool
Click to show internal directories.
Click to hide internal directories.