ToVerifier

Trait ToVerifier 

Source
pub trait ToVerifier {
    type Key: VerifySignature;

    // Required method
    fn verifying_key(&self) -> Self::Key;
}
Expand description

Trait for creating a verifying key.

Required Associated Types§

Source

type Key: VerifySignature

The verifying key

Required Methods§

Source

fn verifying_key(&self) -> Self::Key

Create a verifying key from this key.

Implementors§

Source§

impl ToVerifier for EdwardsKey

Source§

impl ToVerifier for EllipticKey

Source§

impl ToVerifier for RsaKey

Source§

impl ToVerifier for ts_crypto::known::signing::SigningKey

Source§

impl<C: Curve> ToVerifier for ts_crypto::edwards::SigningKey<C>

Source§

impl<C: Curve> ToVerifier for ts_crypto::elliptic::SigningKey<C>

Source§

impl<S: Scheme, K: KeySize> ToVerifier for ts_crypto::rsa::SigningKey<S, K>