Discover Packages
github.com/opentdf/backend-go
pkg
archive
manifest
package
Version:
v0.1.8
Opens a new window with list of versions in this module.
Published: Jan 17, 2024
License: BSD-3-Clause-Clear
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
ErrInvalidJson = Error ("manifest json invalid")
ErrUnmarshal = Error ("manifest unmarshal")
)
Valid validates a manifest.json
well-formed JSON
validate against spec version
validate all values in manifest
check integrity of signatures, JWT
validate URLs can be found
type Payload struct {
IsEncrypted bool `json:"isEncrypted"`
MimeType string `json:"mimeType"`
Protocol string `json:"protocol"`
Type string `json:"type"`
URL string `json:"url"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.