Crate wasmsign2

Crate wasmsign2 

Source
Expand description

A proof of concept implementation of the WebAssembly module signature proposal.

Modules§

reexports

Structs§

CustomSection
A custom section.
KeyPair
A key pair.
Module
A WebAssembly module.
ModuleStreamReader
PublicKey
A public key.
PublicKeySet
A set of multiple public keys.
SecretKey
A secret key.
SectionsIterator
An iterator over the sections of a WebAssembly module.
SignatureData
SignatureForHashes
SignatureInfo
Information about signatures in a WebAssembly module.
SignedHashes
StandardSection
A standard section.

Enums§

Section
A WebAssembly module section.
SectionId
A section identifier.
WSError
The WasmSign2 error type.

Traits§

SectionLike
Common functions for a module section.

Functions§

signature_info_from_detached
Get signature information from a detached signature.
signature_info_from_file
Get signature information from a WebAssembly module file.
signature_info_from_reader
Get signature information from a reader in streaming fashion.

Type Aliases§

BoxedPredicate
A sized predicate, used to verify a predicate*public_key matrix.
Header