class ECDSAKeyGenerator implements KeyGenerator<ECDSAKey> {

  public PublicKey createPublicKey(final byte[] compressed) throws Exception {
    return createPublicKey(ecParams.getCurve().decodePoint(compressed));
  }

}