pub struct BlsSigning;Expand description
DIG validator BLS signing key (G1 pubkey / G2 signature on BLS12-381).
See crate::scheme for how this plugs into crate::Keystore.
Trait Implementations§
Source§impl Clone for BlsSigning
impl Clone for BlsSigning
Source§fn clone(&self) -> BlsSigning
fn clone(&self) -> BlsSigning
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 Debug for BlsSigning
impl Debug for BlsSigning
Source§impl KeyScheme for BlsSigning
impl KeyScheme for BlsSigning
Source§const NAME: &'static str = "BlsSigning"
const NAME: &'static str = "BlsSigning"
Human-readable name for error messages (e.g.,
"BlsSigning"). Read moreSource§const SECRET_LEN: usize = 32
const SECRET_LEN: usize = 32
Length (in bytes) of the canonical secret. Read more
Source§fn generate<R: RngCore + CryptoRng>(rng: &mut R) -> Zeroizing<Vec<u8>>
fn generate<R: RngCore + CryptoRng>(rng: &mut R) -> Zeroizing<Vec<u8>>
Generate fresh secret bytes. Read more
impl Copy for BlsSigning
Auto Trait Implementations§
impl Freeze for BlsSigning
impl RefUnwindSafe for BlsSigning
impl Send for BlsSigning
impl Sync for BlsSigning
impl Unpin for BlsSigning
impl UnsafeUnpin for BlsSigning
impl UnwindSafe for BlsSigning
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