pub struct ProviderArchive { /* private fields */ }
Expand description

A provider archive is a specialized ZIP file that contains a set of embedded and signed claims (a .JWT file) as well as a list of binary files, one plugin library for each supported target architecture and OS combination

Implementations

Creates a new provider archive in memory, to which native library files can be added.

Adds a native library file (.so, .dylib, .dll) to the archive for a given target string

Gets the list of architecture/OS targets within the archive

Retrieves the raw bytes for a given target

Returns the embedded claims associated with this archive. Note that claims are not available while building a new archive. They are only available after the archive has been written or if the archive was loaded from an existing file

Attempts to read a Provider Archive (PAR) file’s bytes to analyze and verify its contents. The embedded claims in this archive will be validated, and the file hashes contained in those claims will be compared and verified against hashes computed at load time. This prevents the contents of the archive from being modified without the embedded claims being re-signed

Generates a Provider Archive (PAR) file with all of the library files and a signed set of claims in an embedded JWT

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.