Trait ring::signature::KeyPair [−][src]
pub trait KeyPair: Debug + Send + Sized + Sync {
type PublicKey: AsRef<[u8]> + Debug + Clone + Send + Sized + Sync;
fn public_key(&self) -> &Self::PublicKey;
}
Expand description
Key pairs for signing messages (private key and public key).
Associated Types
Required methods
fn public_key(&self) -> &Self::PublicKey
fn public_key(&self) -> &Self::PublicKey
The public key for the key pair.