DevicePolicyManager.GetInstalledCaCerts(ComponentName) Method

Definition

Returns all CA certificates that are currently trusted, excluding system CA certificates.

[Android.Runtime.Register("getInstalledCaCerts", "(Landroid/content/ComponentName;)Ljava/util/List;", "GetGetInstalledCaCerts_Landroid_content_ComponentName_Handler")]
public virtual System.Collections.Generic.IList<byte[]> GetInstalledCaCerts (Android.Content.ComponentName? admin);
[<Android.Runtime.Register("getInstalledCaCerts", "(Landroid/content/ComponentName;)Ljava/util/List;", "GetGetInstalledCaCerts_Landroid_content_ComponentName_Handler")>]
abstract member GetInstalledCaCerts : Android.Content.ComponentName -> System.Collections.Generic.IList<byte[]>
override this.GetInstalledCaCerts : Android.Content.ComponentName -> System.Collections.Generic.IList<byte[]>

Parameters

admin
ComponentName

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

Returns

IList<Byte[]>

a List of byte[] arrays, each encoding one user CA certificate.

Attributes

Remarks

Returns all CA certificates that are currently trusted, excluding system CA certificates. If a user has installed any certificates by other means than device policy these will be included too.

Java documentation for android.app.admin.DevicePolicyManager.getInstalledCaCerts(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