Crate twine_builder

Source
Expand description

§Twine Builder

Crates.io Version docs.rs (with version)

This crate contains functionality for creating Twine data structures. It can be bundled and used from the twine_protocol crate by enabling the build feature.

§Usage

Normal construction of twine data involves the following:

See the documentation for specifics about the Signer, TwineBuilder, and Store.

§Version 1 data

In order to construct version 1 data structures, the v1 feature flag must be enabled and a BiscuitSigner can be used.

Re-exports§

pub use signer::Signer;
pub use signer::SigningError;
pub use builder::TwineBuilder;
pub use pkcs8;
pub use ring;

Modules§

builder
Provides the interface to build Twine data.
signer
Defines the Signer trait for creating digital signatures

Structs§

RingSigner
A signer that uses the ring crate to sign data