@Override
  public void run() throws Exception {
    validate();
    create(outputStream, outFormat, inputStream, inFormat, masterKeyUri, credentialPath);
    outputStream.close();
    inputStream.close();
  }
Creates a public keyset from an existing private keyset.
tools/tinkey/src/main/java/com/google/crypto/tink/tinkey/CreatePublicKeysetCommand.java