Trait AuthenticatingWrapperFromParts

Source
pub trait AuthenticatingWrapperFromParts<W>
where W: Sized,
{ // Required method fn from_parts( inner: W, ec_signature: Ed25519Signature, pq_signature: FnDsaSignature, verifying_keys_mac: Vec<u8>, ) -> Self; }
Expand description

Construct type from a wrapped value and authentication components.

Allows authenticated wrapper types to be built from their constituent parts: the wrapped data, dual signatures, and MAC for verifying key authenticity.

Required Methods§

Source

fn from_parts( inner: W, ec_signature: Ed25519Signature, pq_signature: FnDsaSignature, verifying_keys_mac: Vec<u8>, ) -> Self

Construct an authenticated wrapper from its components.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl AuthenticatingWrapperFromParts<Key> for Credentials

Source§

fn from_parts( key: Key, ec_signature: Ed25519Signature, pq_signature: FnDsaSignature, verifying_keys_mac: Vec<u8>, ) -> Self

Implementors§