DevicePolicyManager.UninstallCaCert(ComponentName, Byte[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從受信任的使用者憑證(若有)中移除該憑證。
[Android.Runtime.Register("uninstallCaCert", "(Landroid/content/ComponentName;[B)V", "GetUninstallCaCert_Landroid_content_ComponentName_arrayBHandler")]
public virtual void UninstallCaCert(Android.Content.ComponentName? admin, byte[]? certBuffer);
[<Android.Runtime.Register("uninstallCaCert", "(Landroid/content/ComponentName;[B)V", "GetUninstallCaCert_Landroid_content_ComponentName_arrayBHandler")>]
abstract member UninstallCaCert : Android.Content.ComponentName * byte[] -> unit
override this.UninstallCaCert : Android.Content.ComponentName * byte[] -> unit
參數
- admin
- ComponentName
這個請求就是與該 DeviceAdminReceiver 裝置相關聯,或者 null 如果是委託憑證安裝器呼叫。
- certBuffer
- Byte[]
要移除的證書編碼形式。
- 屬性
備註
從受信任的使用者憑證(若有)中移除該憑證。
呼叫者必須是該使用者的設定檔或裝置擁有者,或是透過該#setDelegatedScopes範圍獲得#DELEGATION_CERT_INSTALL的代理套件;否則將拋出安全例外。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。