fn sign(
        &self,
        id: &<Self::Keystore as Keystore>::KeyId,
        message: &Message,
    ) -> Result<Signature, Self::Error> {
        let secret = self.id_secret(id)?;

        self.sign_with_key(secret.as_ref(), message)
    }
/// Sign a given message with the secret key identified by `id`
Sign a given message with the secret key identified by `id`
Sign a given message with the secret key identified by ` id `
fn sign(
        &self,
        id: &<Self::Keystore as Keystore>::KeyId,
        message: &Message,
    ) -> Result<Signature, Self::Error> {
        let secret = self.id_secret(id)?;
        self.sign_with_key(secret.as_ref(), message)
    }
fn sign ( & self , id : & < Self :: Keystore as Keystore > :: KeyId , message : & Message , ) -> Result < Signature , Self :: Error > { let secret = self . id_secret ( id ) ? ; self . sign_with_key ( secret . as_ref ( ) , message ) }
Sign a given message with the secret key identified by `id`
Sign a given message with the secret key identified by ` id `
&self
id
&<Self::Keystore as Keystore>::KeyId
message
&Message