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§
Sourcefn from_parts(
inner: W,
ec_signature: Ed25519Signature,
pq_signature: FnDsaSignature,
verifying_keys_mac: Vec<u8>,
) -> Self
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.