pub fn public_key(&self) -> PublicKey {
        #[allow(unreachable_patterns)]
        match &self.priv_key {
            PrivateKey::Ed25519(keypair) => keypair.public.into(),
            _ => unreachable!(),
        }
    }
/// Get the public key for this keypair
Get the public key for this keypair
Get the public key for this keypair
pub fn public_key(&self) -> PublicKey {
        #[allow(unreachable_patterns)]
        match &self.priv_key {
            PrivateKey::Ed25519(keypair) => keypair.public.into(),
            _ => unreachable!(),
        }
    }
pub fn public_key ( & self ) -> PublicKey { # [ allow ( unreachable_patterns ) ] match & self . priv_key { PrivateKey :: Ed25519 ( keypair ) => keypair . public . into ( ) , _ => unreachable ! ( ) , } }
Get the public key for this keypair
Get the public key for this keypair
&self