@Override
  void validate() throws IOException {
    super.validate();
    if (outputStream == null) {
      outputStream = System.out;
    }
    TinkeyUtil.validateFormat(outFormat);
  }
Common args for commands that write to file and need credential.
tools/tinkey/src/main/java/com/google/crypto/tink/tinkey/OutOptions.java