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 15, 2022
1 parent 4d7ab6f commit a56ba23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/sif/sif.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ const (
DataGenericJSON // generic JSON meta-data
DataGeneric // generic / raw data
DataCryptoMessage // cryptographic message data object
_ // software bill of materials
DataDSSEEnvelope // dead simple signing envelope
)

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

0 comments on commit a56ba23

Please sign in to comment.