Struct ring::signature::EcdsaVerificationAlgorithm
source · pub struct EcdsaVerificationAlgorithm {
ops: &'static PublicScalarOps,
digest_alg: &'static Algorithm,
split_rs: for<'a> fn(ops: &'static ScalarOps, input: &mut Reader<'a>) -> Result<(Input<'a>, Input<'a>), Unspecified>,
id: AlgorithmID,
}
Expand description
An ECDSA verification algorithm.
Fields§
§ops: &'static PublicScalarOps
§digest_alg: &'static Algorithm
§split_rs: for<'a> fn(ops: &'static ScalarOps, input: &mut Reader<'a>) -> Result<(Input<'a>, Input<'a>), Unspecified>
§id: AlgorithmID
Implementations§
source§impl EcdsaVerificationAlgorithm
impl EcdsaVerificationAlgorithm
sourcefn verify_digest(
&self,
public_key: Input<'_>,
e: Elem<N, Unencoded>,
signature: Input<'_>,
) -> Result<(), Unspecified>
fn verify_digest( &self, public_key: Input<'_>, e: Elem<N, Unencoded>, signature: Input<'_>, ) -> Result<(), Unspecified>
This is intentionally not public.
Trait Implementations§
source§impl Debug for EcdsaVerificationAlgorithm
impl Debug for EcdsaVerificationAlgorithm
impl Sealed for EcdsaVerificationAlgorithm
Auto Trait Implementations§
impl Freeze for EcdsaVerificationAlgorithm
impl RefUnwindSafe for EcdsaVerificationAlgorithm
impl Send for EcdsaVerificationAlgorithm
impl Sync for EcdsaVerificationAlgorithm
impl Unpin for EcdsaVerificationAlgorithm
impl UnwindSafe for EcdsaVerificationAlgorithm
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