Language

KeyStoreExceptionError Enum

Definition

public enum KeyStoreExceptionError
type KeyStoreExceptionError = 
Inheritance
KeyStoreExceptionError

Fields

Name Value Description
Other 1
UserAuthenticationRequired 2
KeystoreUninitialized 3
InternalSystemError 4
PermissionDenied 5
KeyDoesNotExist 6
KeyCorrupted 7
IdAttestationFailure 8
AttestationChallengeTooLarge 9
KeymintFailure 10
KeystoreFailure 11
Unimplemented 12
IncorrectUsage 13
KeyNotTemporallyValid 14
KeyOperationExpired 15
AttestationKeysUnavailable 16
ErrorTooManyKeys 18

The caller has too many Keystore keys and so creation of a new key is not allowed. (Only emitted for apps with target SDK >= 37).

Android reference for android.security.KeyStoreException.ERROR_TOO_MANY_KEYS.

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