語言

DevicePolicyManager.HasCaCertInstalled(ComponentName, Byte[]) 方法

定義

回傳此憑證是否安裝為受信任的 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

參數

admin
ComponentName

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

certBuffer
Byte[]

憑證的編碼形式以便查閱。

傳回

屬性

備註

回傳此憑證是否安裝為受信任的 CA。

Java 文件 android.app.admin.DevicePolicyManager.hasCaCertInstalled(android.content.ComponentName, byte[])。

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

適用於