class LoadedPublicKey {

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    LoadedPublicKey that = (LoadedPublicKey) o;
    return Objects.equals(kid, that.kid)
        && Objects.equals(publicKey, that.publicKey)
        && Objects.equals(keySource, that.keySource);
  }

  public  LoadedPublicKey(String kid, RSAPublicKey publicKey, KeySource keySource);

}