共用方式為


SecurityLog.TagCertAuthorityInstalled Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.Admin.SecurityLogTags enum directly instead of this field.

Indicates that a new root certificate has been installed into system's trusted credential storage.

[Android.Runtime.Register("TAG_CERT_AUTHORITY_INSTALLED", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.SecurityLogTags enum directly instead of this field.", true)]
public const Android.App.Admin.SecurityLogTags TagCertAuthorityInstalled = 210029;
[<Android.Runtime.Register("TAG_CERT_AUTHORITY_INSTALLED", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.SecurityLogTags enum directly instead of this field.", true)>]
val mutable TagCertAuthorityInstalled : Android.App.Admin.SecurityLogTags

Field Value

Value = 210029
Attributes

Remarks

Indicates that a new root certificate has been installed into system's trusted credential storage. The log entry contains the following information about the event, encapsulated in an Object array and accessible via SecurityEvent#getData(): <li> [0] result (Integer, 0 if operation failed, 1 if succeeded) <li> [1] subject of the certificate (String). <li> [2] which user the certificate is installed for (Integer), only available from version android.os.Build.VERSION_CODES#R.

If security logging is enabled on organization-owned managed profile devices, only events happening inside the managed profile will be visible.

Java documentation for android.app.admin.SecurityLog.TAG_CERT_AUTHORITY_INSTALLED.

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.

Applies to