Package apple.devicecheck.enums
Class DCError
- java.lang.Object
-
- apple.devicecheck.enums.DCError
-
public final class DCError extends java.lang.ObjectDeviceCheck error codes. API-Since: 11.0
-
-
Field Summary
Fields Modifier and Type Field Description static longFeatureUnsupportedDeviceCheck is unavailable on this device.static longInvalidInputAn error code that indicates when your app provides data that isn’t formatted correctly.static longInvalidKeyAn error caused by a failed attempt to use the App Attest key.static longServerUnavailableAn error that indicates a failed attempt to contact the App Attest service during an attestation.static longUnknownSystemFailureA failure has occurred, such as the failure to generate a token.
-
-
-
Field Detail
-
UnknownSystemFailure
public static final long UnknownSystemFailure
A failure has occurred, such as the failure to generate a token. API-Since: 11.0- See Also:
- Constant Field Values
-
FeatureUnsupported
public static final long FeatureUnsupported
DeviceCheck is unavailable on this device. API-Since: 11.0- See Also:
- Constant Field Values
-
InvalidInput
public static final long InvalidInput
An error code that indicates when your app provides data that isn’t formatted correctly. API-Since: 11.0- See Also:
- Constant Field Values
-
InvalidKey
public static final long InvalidKey
An error caused by a failed attempt to use the App Attest key. You receive this error if something goes wrong with generating, retrieving, or using an App Attest cryptographic key, when: - You call ``DeviceCheck/DCAppAttestService/attestKey:clientDataHash:completionHandler:`` for a key that’s already been attested. - You call ``DeviceCheck/DCAppAttestService/generateAssertion:clientDataHash:completionHandler:`` with an unattested key. - The App Attest service rejects the key. API-Since: 11.0- See Also:
- Constant Field Values
-
ServerUnavailable
public static final long ServerUnavailable
An error that indicates a failed attempt to contact the App Attest service during an attestation. You receive this error when you call ``DeviceCheck/DCAppAttestService/attestKey:clientDataHash:completionHandler:`` and the framework isn’t able to complete the attestation. If you receive this error, try the attestation again later using the same key and the same value for the `clientDataHash` parameter. Retrying with the same inputs helps to preserve the risk metric for a given device. API-Since: 11.0- See Also:
- Constant Field Values
-
-