DevicePolicyManager.HasCaCertInstalled(ComponentName, Byte[]) Method

Definition

Returns whether this certificate is installed as a trusted CA.

[Android.Runtime.Register("hasCaCertInstalled", "(Landroid/content/ComponentName;[B)Z", "GetHasCaCertInstalled_Landroid_content_ComponentName_arrayBHandler")]
public virtual bool HasCaCertInstalled (Android.Content.ComponentName? admin, byte[]? certBuffer);
[<Android.Runtime.Register("hasCaCertInstalled", "(Landroid/content/ComponentName;[B)Z", "GetHasCaCertInstalled_Landroid_content_ComponentName_arrayBHandler")>]
abstract member HasCaCertInstalled : Android.Content.ComponentName * byte[] -> bool
override this.HasCaCertInstalled : Android.Content.ComponentName * byte[] -> bool

Parameters

admin
ComponentName

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

certBuffer
Byte[]

encoded form of the certificate to look up.

Returns

Attributes

Remarks

Returns whether this certificate is installed as a trusted CA.

Java documentation for android.app.admin.DevicePolicyManager.hasCaCertInstalled(android.content.ComponentName, byte[]).

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