Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIsWaczFile ¶
CheckIsWaczFile checks if a file is a wacz file.
func GetVerifiedMetadata ¶
Types ¶
type WaczFileData ¶
type WaczFileData struct {
DigestData *waczDigestData
PackageData *waczPackageData
UserAgent string
KeyName string
}
func ReadAndVerifyWaczMetadata ¶
func ReadAndVerifyWaczMetadata(filePath string, anonKeys, domains []*common.AllowedKey) (*WaczFileData, error)
ReadAndVerifyWaczMetadata reads and verifies the metadata of a wacz file.
Click to show internal directories.
Click to hide internal directories.