public static void destroy(OutputStream outputStream, String outFormat,
      InputStream inputStream, String inFormat, String masterKeyUri,
      String credentialPath, int keyId) throws Exception {
    TinkeyUtil.manipulateKey(TinkeyUtil.CommandType.DESTROY_KEY, outputStream, outFormat,
        inputStream, inFormat, masterKeyUri, credentialPath, keyId);
  }
Destroys the key with {@code keyId} in the keyset (using {@code masterKeyUri}
{@code credentialPath} to decrypt if it is encrypted).
@throws GeneralSecurityException if the key is not found or it is already disabled.
tools/tinkey/src/main/java/com/google/crypto/tink/tinkey/DestroyKeyCommand.java