Struct ring::signature::EcdsaSigningAlgorithm
source · pub struct EcdsaSigningAlgorithm {
curve: &'static Curve,
private_scalar_ops: &'static PrivateScalarOps,
private_key_ops: &'static PrivateKeyOps,
digest_alg: &'static Algorithm,
pkcs8_template: &'static Template,
format_rs: fn(ops: &'static ScalarOps, r: &Elem<N, Unencoded>, s: &Elem<N, Unencoded>, out: &mut [u8]) -> usize,
id: AlgorithmID,
}
Expand description
An ECDSA signing algorithm.
Fields§
§curve: &'static Curve
§private_scalar_ops: &'static PrivateScalarOps
§private_key_ops: &'static PrivateKeyOps
§digest_alg: &'static Algorithm
§pkcs8_template: &'static Template
§format_rs: fn(ops: &'static ScalarOps, r: &Elem<N, Unencoded>, s: &Elem<N, Unencoded>, out: &mut [u8]) -> usize
§id: AlgorithmID
Trait Implementations§
source§impl Debug for EcdsaSigningAlgorithm
impl Debug for EcdsaSigningAlgorithm
source§impl PartialEq for EcdsaSigningAlgorithm
impl PartialEq for EcdsaSigningAlgorithm
impl Eq for EcdsaSigningAlgorithm
impl Sealed for EcdsaSigningAlgorithm
Auto Trait Implementations§
impl Freeze for EcdsaSigningAlgorithm
impl RefUnwindSafe for EcdsaSigningAlgorithm
impl Send for EcdsaSigningAlgorithm
impl Sync for EcdsaSigningAlgorithm
impl Unpin for EcdsaSigningAlgorithm
impl UnwindSafe for EcdsaSigningAlgorithm
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