public boolean isSignatureValid(){
  return ECKey.verify(Utils.doubleDigest(content),signature,params.getAlertSigningKey());
}

public boolean isSignatureValid ( ) { return ECKey . verify ( Utils . doubleDigest ( content ) , signature , params . getAlertSigningKey ( ) ) ; }
returns true if the digital signature attached to the message verifies . don ' t do anything with the alert if it doesn ' t verify , because that would allow arbitrary attackers to spam your users .
