DevicePolicyManager.GetInstalledCaCerts(ComponentName) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
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.