package
0.0.0-20250210220123-5262e60be643
Repository: https://github.com/wicg/webpackage.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ComputeWebBundleSha512 computes the SHA-512 hash over the given web bundle file.
GenerateDataToBeSigned creates a bytes array containing the payload of which the signature of the web bundle will be calculated.
GenerateSignatureAttributesWithPublicKey generates the basis for the map for signature attributes containing the public key.
No description provided by the author
obtainIntegrityBlock returns either the existing integrity block parsed (not supported in v1) or a newly created empty integrity block.
VerifyEd25519Signature verifies that the given signature can be verified with the given public key and matches the data signed.
WebBundleHasIntegrityBlock is a helper function that can be called with any file path to check if it has an integrtiy block.

# Constants

No description provided by the author

# Variables

No description provided by the author
"b1" as bytes and 2 empty bytes.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
ParsedEd25519KeySigningStrategy implementing `ISigningStrategy` is the simplest way to sign a web bundle just by passing a parsed private key.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author