Trait narwhal_crypto::traits::VerifyingKey
[−]pub trait VerifyingKey: 'static + Serialize + DeserializeOwned + Hash + Display + Eq + Ord + Default + ToFromBytes + Verifier<Self::Sig> + for<'a> From<&'a Self::PrivKey> + Send + Sync + Clone {
type PrivKey: SigningKey
where
<Self::PrivKey as SigningKey>::PubKey == Self;
type Sig: Authenticator
where
<Self::Sig as Authenticator>::PubKey == Self;
const LENGTH: usize;
fn verify_batch_empty_fail(
msg: &[u8],
pks: &[Self],
sigs: &[Self::Sig]
) -> Result<(), Report> { ... }
}
Expand description
Trait impl’d by public keys in asymmetric cryptography.
The trait bounds are implemented so as to be symmetric and equivalent to the ones on its associated types for private and signature material.