Skip to content

Commit

Permalink
feat: add DSSE support
Browse files Browse the repository at this point in the history
Add support for Dead Simple Signing Envelope (DSSE) data object.
  • Loading branch information
tri-adam committed Sep 21, 2022
1 parent 5f9bee6 commit e94062c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/sif/sif.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ const (
DataGeneric // generic / raw data
DataCryptoMessage // cryptographic message data object
DataSBOM // software bill of materials
DataDSSEEnvelope // dead simple signing envelope
)

// String returns a human-readable representation of t.
Expand All @@ -156,6 +157,8 @@ func (t DataType) String() string {
return "Cryptographic Message"
case DataSBOM:
return "SBOM"
case DataDSSEEnvelope:
return "DSSE Envelope"
}
return "Unknown"
}
Expand Down

0 comments on commit e94062c

Please sign in to comment.