Dil

KeyStoreOrigin Enum

Definition

public enum KeyStoreOrigin
type KeyStoreOrigin = 
Inheritance
KeyStoreOrigin

Fields

Name Value Description
Generated 1

Key was generated inside AndroidKeyStore.

Android reference for android.security.keystore.KeyProperties.ORIGIN_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.

Imported 2

Key was imported into AndroidKeyStore.

Android reference for android.security.keystore.KeyProperties.ORIGIN_IMPORTED.

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.

Unknown 4

Origin of the key is unknown. This can occur only for keys backed by an old TEE-backed implementation which does not record origin information.

Android reference for android.security.keystore.KeyProperties.ORIGIN_UNKNOWN.

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.

SecurelyImported 8

Key was imported into the AndroidKeyStore in an encrypted wrapper. Unlike imported keys, securely imported keys can be imported without appearing as plaintext in the device's host memory.

Android reference for android.security.keystore.KeyProperties.ORIGIN_SECURELY_IMPORTED.

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.

Remarks

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