Loading keystore/java/android/security/keystore/KeyProperties.java +8 −0 Original line number Original line Diff line number Diff line Loading @@ -904,6 +904,7 @@ public abstract class KeyProperties { @IntDef(prefix = { "NAMESPACE_" }, value = { @IntDef(prefix = { "NAMESPACE_" }, value = { NAMESPACE_APPLICATION, NAMESPACE_APPLICATION, NAMESPACE_WIFI, NAMESPACE_WIFI, NAMESPACE_LOCKSETTINGS, }) }) public @interface Namespace {} public @interface Namespace {} Loading @@ -924,6 +925,13 @@ public abstract class KeyProperties { @SystemApi @SystemApi public static final int NAMESPACE_WIFI = 102; public static final int NAMESPACE_WIFI = 102; /** * The namespace identifier for the LOCKSETTINGS Keystore namespace. * This must be kept in sync with system/sepolicy/private/keystore2_key_contexts * @hide */ public static final int NAMESPACE_LOCKSETTINGS = 103; /** /** * For legacy support, translate namespaces into known UIDs. * For legacy support, translate namespaces into known UIDs. * @hide * @hide Loading Loading
keystore/java/android/security/keystore/KeyProperties.java +8 −0 Original line number Original line Diff line number Diff line Loading @@ -904,6 +904,7 @@ public abstract class KeyProperties { @IntDef(prefix = { "NAMESPACE_" }, value = { @IntDef(prefix = { "NAMESPACE_" }, value = { NAMESPACE_APPLICATION, NAMESPACE_APPLICATION, NAMESPACE_WIFI, NAMESPACE_WIFI, NAMESPACE_LOCKSETTINGS, }) }) public @interface Namespace {} public @interface Namespace {} Loading @@ -924,6 +925,13 @@ public abstract class KeyProperties { @SystemApi @SystemApi public static final int NAMESPACE_WIFI = 102; public static final int NAMESPACE_WIFI = 102; /** * The namespace identifier for the LOCKSETTINGS Keystore namespace. * This must be kept in sync with system/sepolicy/private/keystore2_key_contexts * @hide */ public static final int NAMESPACE_LOCKSETTINGS = 103; /** /** * For legacy support, translate namespaces into known UIDs. * For legacy support, translate namespaces into known UIDs. * @hide * @hide Loading