class ECDSAKey {

  public boolean verify(final byte[] hashedMessage, final ECDSASignature signature) {
    try {
      return verifier.verify(getPublicKey(), hashedMessage, signature);
    } catch (final Throwable e) {
      throw new IllegalStateException(e);
    }
  }

  protected  ECDSAKey(final PrivateKey privateKey, final PublicKey publicKey,
      final ECDomainParameters ecParams);

}