Share via


SecurityLog.TagKeyGenerated 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 cryptographic key was generated.

[Android.Runtime.Register("TAG_KEY_GENERATED", 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 TagKeyGenerated = 210024;
[<Android.Runtime.Register("TAG_KEY_GENERATED", 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 TagKeyGenerated : Android.App.Admin.SecurityLogTags

Field Value

Value = 210024
Attributes

Remarks

Indicates that a cryptographic key was generated. 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] alias of the key (String) <li> [2] requesting process uid (Integer).

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_KEY_GENERATED.

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