語言

DevicePolicyManager.GetInstalledCaCerts(ComponentName) 方法

定義

回傳目前受信任的所有 CA 憑證,系統 CA 憑證除外。

[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[]>

參數

admin
ComponentName

這個請求就是與該 DeviceAdminReceiver 裝置相關聯,或者 null 如果是委託憑證安裝器呼叫。

傳回

IList<Byte[]>

一個位元組[]陣列列表,每個陣列編碼一個使用者CA憑證。

屬性

備註

回傳目前受信任的所有 CA 憑證,系統 CA 憑證除外。 若使用者透過非裝置政策安裝任何憑證,這些憑證也會被包含在內。

Java 文件 android.app.admin.DevicePolicyManager.getInstalledCaCerts(android.content.ComponentName)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於