Share via


KeyStoreException.ErrorAttestationKeysUnavailable Field

Definition

Caution

This constant will be removed in the future version. Use Android.Security.KeyStoreExceptionError enum directly instead of this field.

There are no keys available for attestation.

[Android.Runtime.Register("ERROR_ATTESTATION_KEYS_UNAVAILABLE", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Security.KeyStoreExceptionError enum directly instead of this field.", true)]
public const Android.Security.KeyStoreExceptionError ErrorAttestationKeysUnavailable = 16;
[<Android.Runtime.Register("ERROR_ATTESTATION_KEYS_UNAVAILABLE", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Security.KeyStoreExceptionError enum directly instead of this field.", true)>]
val mutable ErrorAttestationKeysUnavailable : Android.Security.KeyStoreExceptionError

Field Value

Value = 16
Attributes

Remarks

There are no keys available for attestation. This error is returned only on devices that rely solely on remotely-provisioned keys (see Remote Key Provisioning).

On such a device, if the caller requests key generation and includes an attestation challenge (indicating key attestation is required), the error will be returned in one of the following cases: <ul> <li>The pool of remotely-provisioned keys has been exhausted.</li> <li>The device is not registered with the key provisioning server.</li> </ul>

This error is a transient one if the pool of remotely-provisioned keys has been exhausted. However, if the device is not registered with the server, or the key provisioning server refuses key issuance, this is a permanent error.

Java documentation for android.security.KeyStoreException.ERROR_ATTESTATION_KEYS_UNAVAILABLE.

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