DevicePolicyManager.HasCaCertInstalled(ComponentName, Byte[]) 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 whether this certificate is installed as a trusted 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
Parameters
- admin
- ComponentName
Which DeviceAdminReceiver
this request is associated with, or
null
if calling from a delegated certificate installer.
- certBuffer
- Byte[]
encoded form of the certificate to look up.
Returns
- Attributes
Remarks
Returns whether this certificate is installed as a trusted CA.
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.