pub struct SigningCommitments<C: Ciphersuite> { /* private fields */ }Expand description
Published by each participant in the first round of the signing protocol.
This step can be batched if desired by the implementation. Each SigningCommitment can be used for exactly one signature.
Implementations§
Source§impl<C: Ciphersuite> SigningCommitments<C>
Auto-generated by derive_getters::Getters.
impl<C: Ciphersuite> SigningCommitments<C>
Auto-generated by derive_getters::Getters.
Sourcepub fn hiding(&self) -> &NonceCommitment<C>
pub fn hiding(&self) -> &NonceCommitment<C>
Commitment to the hiding Nonce.
Sourcepub fn binding(&self) -> &NonceCommitment<C>
pub fn binding(&self) -> &NonceCommitment<C>
Commitment to the binding Nonce.
Source§impl<C> SigningCommitments<C>where
C: Ciphersuite,
impl<C> SigningCommitments<C>where
C: Ciphersuite,
Sourcepub fn new(hiding: NonceCommitment<C>, binding: NonceCommitment<C>) -> Self
pub fn new(hiding: NonceCommitment<C>, binding: NonceCommitment<C>) -> Self
Create new SigningCommitments
Source§impl<C> SigningCommitments<C>where
C: Ciphersuite,
impl<C> SigningCommitments<C>where
C: Ciphersuite,
Trait Implementations§
Source§impl<C: Clone + Ciphersuite> Clone for SigningCommitments<C>
impl<C: Clone + Ciphersuite> Clone for SigningCommitments<C>
Source§fn clone(&self) -> SigningCommitments<C>
fn clone(&self) -> SigningCommitments<C>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<C: Debug + Ciphersuite> Debug for SigningCommitments<C>
impl<C: Debug + Ciphersuite> Debug for SigningCommitments<C>
Source§impl<'de, C> Deserialize<'de> for SigningCommitments<C>where
C: Ciphersuite,
impl<'de, C> Deserialize<'de> for SigningCommitments<C>where
C: Ciphersuite,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<C> From<&SigningNonces<C>> for SigningCommitments<C>where
C: Ciphersuite,
impl<C> From<&SigningNonces<C>> for SigningCommitments<C>where
C: Ciphersuite,
Source§fn from(nonces: &SigningNonces<C>) -> Self
fn from(nonces: &SigningNonces<C>) -> Self
Converts to this type from the input type.
Source§impl<C: PartialEq + Ciphersuite> PartialEq for SigningCommitments<C>
impl<C: PartialEq + Ciphersuite> PartialEq for SigningCommitments<C>
Source§impl<C> Serialize for SigningCommitments<C>where
C: Ciphersuite,
impl<C> Serialize for SigningCommitments<C>where
C: Ciphersuite,
impl<C: Copy + Ciphersuite> Copy for SigningCommitments<C>
impl<C: Eq + Ciphersuite> Eq for SigningCommitments<C>
impl<C: Ciphersuite> StructuralPartialEq for SigningCommitments<C>
Auto Trait Implementations§
impl<C> Freeze for SigningCommitments<C>
impl<C> RefUnwindSafe for SigningCommitments<C>
impl<C> Send for SigningCommitments<C>
impl<C> Sync for SigningCommitments<C>
impl<C> Unpin for SigningCommitments<C>
impl<C> UnsafeUnpin for SigningCommitments<C>
impl<C> UnwindSafe for SigningCommitments<C>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more