mirror of
https://github.com/RustCrypto/signatures
synced 2026-06-21 13:45:42 +00:00
ecdas: derive Clone, Debug, Eq, and Ord on VerifyKey (#148)
This commit is contained in:
@@ -21,6 +21,7 @@ use elliptic_curve::{
|
||||
use signature::{digest::Digest, DigestVerifier};
|
||||
|
||||
/// ECDSA verify key
|
||||
#[derive(Clone, Debug, Eq, PartialEq, PartialOrd, Ord)]
|
||||
pub struct VerifyKey<C: Curve + Arithmetic> {
|
||||
pub(crate) public_key: C::AffinePoint,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user