CryptUnregisterDefaultOIDFunction

[DllImport("Crypt32.dll", SetLastError = true)]
public static extern bool CryptUnregisterDefaultOIDFunction(
   uint dwEncodingType,
   string pszFuncName,
   uint dwIndex
);

Microsoft documentation: Link

Last updated