pub struct MlDsaSigner<P: MlDsaParams> { /* private fields */ }Expand description
Wrapper around ml-dsa SigningKey implementing signature v2 traits.
Implementations§
Trait Implementations§
Source§impl<P> DynSignatureAlgorithmIdentifier for MlDsaSigner<P>where
P: MlDsaParams,
SigningKey<P>: Signer<Signature<P>>,
impl<P> DynSignatureAlgorithmIdentifier for MlDsaSigner<P>where
P: MlDsaParams,
SigningKey<P>: Signer<Signature<P>>,
Source§fn signature_algorithm_identifier(&self) -> Result<AlgorithmIdentifierOwned>
fn signature_algorithm_identifier(&self) -> Result<AlgorithmIdentifierOwned>
AlgorithmIdentifier for the corresponding singature system.Source§impl<P> Signer<MlDsaSignatureBytes> for MlDsaSigner<P>where
P: MlDsaParams,
SigningKey<P>: Signer<Signature<P>>,
impl<P> Signer<MlDsaSignatureBytes> for MlDsaSigner<P>where
P: MlDsaParams,
SigningKey<P>: Signer<Signature<P>>,
Auto Trait Implementations§
impl<P> Freeze for MlDsaSigner<P>
impl<P> RefUnwindSafe for MlDsaSigner<P>where
<<P as ParameterSet>::L as ArraySize>::ArrayType<Polynomial<BaseField>>: RefUnwindSafe,
<<P as ParameterSet>::K as ArraySize>::ArrayType<Polynomial<BaseField>>: RefUnwindSafe,
<<P as ParameterSet>::L as ArraySize>::ArrayType<NttPolynomial<BaseField>>: RefUnwindSafe,
<<P as ParameterSet>::K as ArraySize>::ArrayType<NttPolynomial<BaseField>>: RefUnwindSafe,
<<P as ParameterSet>::K as ArraySize>::ArrayType<NttVector<BaseField, <P as ParameterSet>::L>>: RefUnwindSafe,
impl<P> Send for MlDsaSigner<P>
impl<P> Sync for MlDsaSigner<P>
impl<P> Unpin for MlDsaSigner<P>
impl<P> UnsafeUnpin for MlDsaSigner<P>
impl<P> UnwindSafe for MlDsaSigner<P>where
<<P as ParameterSet>::L as ArraySize>::ArrayType<Polynomial<BaseField>>: UnwindSafe,
<<P as ParameterSet>::K as ArraySize>::ArrayType<Polynomial<BaseField>>: UnwindSafe,
<<P as ParameterSet>::L as ArraySize>::ArrayType<NttPolynomial<BaseField>>: UnwindSafe,
<<P as ParameterSet>::K as ArraySize>::ArrayType<NttPolynomial<BaseField>>: UnwindSafe,
<<P as ParameterSet>::K as ArraySize>::ArrayType<NttVector<BaseField, <P as ParameterSet>::L>>: UnwindSafe,
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