Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attestation ¶
type Attestation struct { ovattest.Attestation // Sign is boolean that signals if the attestation has been signed Signed bool `json:"-"` // signatureData embeds the signed attestaion, the certificate used to sign // it and the transparency log inclusion proof SignatureData *SignatureData `json:"-"` }
func New ¶
func New() *Attestation
func (*Attestation) AddImageSubjects ¶
func (att *Attestation) AddImageSubjects(imageRefs []string) error
type SignatureData ¶ added in v0.2.6
type SignatureData struct { // CertData of the cert used to sign the attestation encodeded in PEM CertData []byte `json:"-"` // Chain contains the intermediate certificate chain of the attestation's cert Chain []byte `json:"-"` // Entry contains the proof of inclusion to the transparency log Entry *models.LogEntryAnon `json:"-"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.