Trait crypto::signatures::ternary::RecoverableSignature [−][src]
pub trait RecoverableSignature: Signature { type PublicKey: PublicKey; type Error; fn recover_public_key(
&self,
message: &Trits<T1B1>
) -> Result<Self::PublicKey, Self::Error>; }
This is supported on crate feature
ternary_signatures
only.A ternary signature from which a public key can be recovered.
Associated Types
type PublicKey: PublicKey
[src]
Matching public key type.
type Error
[src]
Errors occuring while handling recoverable signatures.
Required methods
fn recover_public_key(
&self,
message: &Trits<T1B1>
) -> Result<Self::PublicKey, Self::Error>
[src]
&self,
message: &Trits<T1B1>
) -> Result<Self::PublicKey, Self::Error>
Recovers a public key from a signature.
Arguments
message
A slice that holds a message to recover the public key from.
Implementors
impl<S: Sponge + Default> RecoverableSignature for WotsSignature<S>
[src]
impl<S: Sponge + Default> RecoverableSignature for WotsSignature<S>
[src]This is supported on crate feature
wots_deprecated_do_not_use
only.