throw new IllegalArgumentException("Wrong format for private keys");
throw new InvalidParameterException("Wrong format for private keys");
  public byte[] encodePrivateKey(PrivateKey key)  {    throw new IllegalArgumentException("Wrong format for private keys");  }