pub struct G1G2;Available on crate feature
bls only.Expand description
G1 + G2 curves
Trait Implementations§
Source§impl BlsPublicKeyType for G1G2
impl BlsPublicKeyType for G1G2
Source§type BufferSize = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B0>, B0>, B0>
type BufferSize = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B0>, B0>, B0>
The size of the serialized public key
Source§fn get_jwk_curve(alg: Option<KeyAlg>) -> &'static str
fn get_jwk_curve(alg: Option<KeyAlg>) -> &'static str
Get the JWK curve for a specific key algorithm
Source§fn from_secret_scalar(secret: &Scalar) -> Self::Buffer
fn from_secret_scalar(secret: &Scalar) -> Self::Buffer
Initialize from the secret scalar
Auto Trait Implementations§
impl Freeze for G1G2
impl RefUnwindSafe for G1G2
impl Send for G1G2
impl Sync for G1G2
impl Unpin for G1G2
impl UnwindSafe for G1G2
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