@Override
  public void run() throws Exception {
    validate();
    convert(outputStream, outFormat, inputStream, inFormat, masterKeyUri, credentialPath,
        newMasterKeyUri, newCredentialPath);
  }
Changes format, encrypts or decrypts a keyset.
tools/tinkey/src/main/java/com/google/crypto/tink/tinkey/ConvertKeysetCommand.java