Generalize to >1 public key.