Skip to content

Commit

Permalink
Require an exporter to also be a subjecter
Browse files Browse the repository at this point in the history
Signed-off-by: John Kjell <[email protected]>
  • Loading branch information
jkjell committed Jun 12, 2024
1 parent d7a3782 commit 430d30c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions attestation/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ type Producer interface {
// Exporter allows attestors to export their attestations for separation from the collection.
type Exporter interface {
Export() bool
Subjects() map[string]cryptoutil.DigestSet
}

// BackReffer allows attestors to indicate which of their subjects are good candidates
Expand Down

0 comments on commit 430d30c

Please sign in to comment.