Struct aleph_bft::Signed [−][src]
Expand description
A correctly signed object of type T
.
The correctness is guaranteed by storing a (phantom) reference to the KeyBox
that verified
the signature.
Implementations
Create a signed object from a signable. The index of signable
must match the index of the key_box
.
Get a reference to the signed object.
Create a signed object from a signable. The index is added based on the index of the key_box
.
Transform a singly signed object into a partially multisigned consisting of just the signed object. Note that depending on the setup, it may yield a complete signature.
Trait Implementations
Auto Trait Implementations
impl<'a, T, KB> RefUnwindSafe for Signed<'a, T, KB> where
KB: RefUnwindSafe,
T: RefUnwindSafe,
<KB as KeyBox>::Signature: RefUnwindSafe,
impl<'a, T, KB> UnwindSafe for Signed<'a, T, KB> where
KB: RefUnwindSafe,
T: UnwindSafe,
<KB as KeyBox>::Signature: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more