Language

KeyStoreExceptionRetry Enum

Definition

public enum KeyStoreExceptionRetry
type KeyStoreExceptionRetry = 
Inheritance
KeyStoreExceptionRetry

Fields

Name Value Description
Unknown 0
Never 1

Never re-try the operation that led to this error, since it's a permanent error. This value is always returned when isTransientFailure() is false.

Android reference for android.security.KeyStoreException.RETRY_NEVER.

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.

WithExponentialBackoff 2

Re-try the operation that led to this error with an exponential back-off delay. The first delay should be between 5 to 30 seconds, and each subsequent re-try should double the delay time. This value is returned when isTransientFailure() is true.

Android reference for android.security.KeyStoreException.RETRY_WITH_EXPONENTIAL_BACKOFF.

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.

WhenConnectivityAvailable 3

Re-try the operation that led to this error when the device regains connectivity. Remote provisioning of keys requires reaching the remote server, and the device is currently unable to due that due to lack of network connectivity. This value is returned when isTransientFailure() is true.

Android reference for android.security.KeyStoreException.RETRY_WHEN_CONNECTIVITY_AVAILABLE.

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.

AfterNextReboot 4

Re-try the operation that led to this error when the device has a software update downloaded and on the next reboot. The Remote provisioning server recognizes the device, but refuses issuance of attestation keys because it contains a software version that could potentially be vulnerable and needs an update. Re-trying after the device has upgraded and rebooted may alleviate the problem.

This value is returned when isTransientFailure() is true.

Android reference for android.security.KeyStoreException.RETRY_AFTER_NEXT_REBOOT.

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