[][src]Function signatory::public_key

pub fn public_key<K: PublicKey>(keyed: &dyn PublicKeyed<K>) -> Result<K, Error>

Get the public key for the given public keyed object (i.e. a Signer)