Share via


DevicePolicyManager.UninstallAllUserCaCerts(ComponentName) Method

Definition

Uninstalls all custom trusted CA certificates from the profile.

[Android.Runtime.Register("uninstallAllUserCaCerts", "(Landroid/content/ComponentName;)V", "GetUninstallAllUserCaCerts_Landroid_content_ComponentName_Handler")]
public virtual void UninstallAllUserCaCerts (Android.Content.ComponentName? admin);
[<Android.Runtime.Register("uninstallAllUserCaCerts", "(Landroid/content/ComponentName;)V", "GetUninstallAllUserCaCerts_Landroid_content_ComponentName_Handler")>]
abstract member UninstallAllUserCaCerts : Android.Content.ComponentName -> unit
override this.UninstallAllUserCaCerts : Android.Content.ComponentName -> unit

Parameters

admin
ComponentName

Which DeviceAdminReceiver this request is associated with, or null if calling from a delegated certificate installer.

Attributes

Remarks

Uninstalls all custom trusted CA certificates from the profile. Certificates installed by means other than device policy will also be removed, except for system CA certificates.

Java documentation for android.app.admin.DevicePolicyManager.uninstallAllUserCaCerts(android.content.ComponentName).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to