Since: API level 29
public class

EnhancedAttestationResult

extends Object
implements Parcelable
java.lang.Object
   ↳ com.samsung.android.knox.integrity.EnhancedAttestationResult

Class Overview

This class provides values and methods to handle enhanced attestation result.

Since
API level 29
KNOX 3.4

Summary

Constants
int ERROR_BAD_REQUEST Bad request error occurred on the Samsung Attestation Server.
int ERROR_BIND_FAIL Bind failure to enhanced attestation agent error occurred.
int ERROR_CONFLICT Nonce conflict error occurred on the Samsung Attestation Server.
int ERROR_DEVICE_NOT_SUPPORTED Device doesn't support error occurred.
int ERROR_FORBIDDEN Forbidden error occurred on the Samsung Attestation Server.
int ERROR_INTERNAL_SERVER Samsung Attestation Sever internal error occured.
int ERROR_INVALID_AUK Invalid enhanced attestation unique key error occurred.
int ERROR_INVALID_NONCE Invalid nonce error occurred.
int ERROR_NETWORK Network unavailable error occurred.
int ERROR_NONE Enhanced Attestation succeed status.
int ERROR_NOT_FOUND Result not found error occurred on the Samsung Attestation Server.
int ERROR_PERMISSION Permission error occurred.
int ERROR_SERVICE_UNAVAILABLE Temporary server unavailable error occurred on the Samsung Attestation Server.
int ERROR_TIMA_INTERNAL TIMA related error occurred.
int ERROR_UNAUTHORIZED Unauthorized error occurred on the Samsung Attestation Server.
int ERROR_UNKNOWN Unknown error occured.
[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
byte[] getBlob()
Get blob data for the enhanced attestation result.
int getError()
Get error code of the enhanced attestation result.
String getReason()
Get detail error reason of the enhanced attestation result.
String getResponseRawData()
Get raw data of response for the each enhanced attestation request from Samsung Attestation Server.
int getRetryAfterTime()
Get retry time when server temporary unavailable.
String getServerResponseId()
Get server response identifier to distinguish each enhanced attestation request.
String getUniqueId()
Get unique identifier to distinguish each enhanced attestation request.
String getUrl()
Get url for the enhanced attestation result stored on the Samsung Attestation Server.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Constants

public static final int ERROR_BAD_REQUEST

Since: API level 29

Bad request error occurred on the Samsung Attestation Server. Possible value for errorCode.

Since
API level 29
KNOX 3.4
Constant Value: 400 (0x00000190)

public static final int ERROR_BIND_FAIL

Since: API level 29

Bind failure to enhanced attestation agent error occurred. Possible value for errorCode.

Since
API level 29
KNOX 3.4
Constant Value: -7 (0xfffffff9)

public static final int ERROR_CONFLICT

Since: API level 29

Nonce conflict error occurred on the Samsung Attestation Server. Possible value for errorCode.

Since
API level 29
KNOX 3.4
Constant Value: 409 (0x00000199)

public static final int ERROR_DEVICE_NOT_SUPPORTED

Since: API level 29

Device doesn't support error occurred. Possible value for errorCode.

Since
API level 29
KNOX 3.4
Constant Value: -4 (0xfffffffc)

public static final int ERROR_FORBIDDEN

Since: API level 29

Forbidden error occurred on the Samsung Attestation Server. Possible value for errorCode.

Since
API level 29
KNOX 3.4
Constant Value: 403 (0x00000193)

public static final int ERROR_INTERNAL_SERVER

Since: API level 29

Samsung Attestation Sever internal error occured. Possible value for errorCode.

Since
API level 29
KNOX 3.4
Constant Value: 500 (0x000001f4)

public static final int ERROR_INVALID_AUK

Since: API level 29

Invalid enhanced attestation unique key error occurred. Possible value for errorCode.

Since
API level 29
KNOX 3.4
Constant Value: -6 (0xfffffffa)

public static final int ERROR_INVALID_NONCE

Since: API level 29

Invalid nonce error occurred. Nonce length can be 32 bytes string. Alphanumeric and underscore(_), dash(-), dot(.) characters are allowed for nonce. Possible value for errorCode.

Since
API level 29
KNOX 3.4
Constant Value: -5 (0xfffffffb)

public static final int ERROR_NETWORK

Since: API level 29

Network unavailable error occurred. Possible value for errorCode.

Since
API level 29
KNOX 3.4
Constant Value: -8 (0xfffffff8)

public static final int ERROR_NONE

Since: API level 29

Enhanced Attestation succeed status. Possible value for errorCode.

Since
API level 29
KNOX 3.4
Constant Value: 0 (0x00000000)

public static final int ERROR_NOT_FOUND

Since: API level 29

Result not found error occurred on the Samsung Attestation Server. Possible value for errorCode.

Since
API level 29
KNOX 3.4
Constant Value: 404 (0x00000194)

public static final int ERROR_PERMISSION

Since: API level 29

Permission error occurred. Possible value for errorCode.

Since
API level 29
KNOX 3.4
Constant Value: -2 (0xfffffffe)

public static final int ERROR_SERVICE_UNAVAILABLE

Since: API level 29

Temporary server unavailable error occurred on the Samsung Attestation Server. Possible value for errorCode.

Since
API level 29
KNOX 3.4
Constant Value: 503 (0x000001f7)

public static final int ERROR_TIMA_INTERNAL

Since: API level 29

TIMA related error occurred. Possible value for errorCode.

Since
API level 29
KNOX 3.4
Constant Value: -3 (0xfffffffd)

public static final int ERROR_UNAUTHORIZED

Since: API level 29

Unauthorized error occurred on the Samsung Attestation Server. Possible value for errorCode.

Since
API level 29
KNOX 3.4
Constant Value: 401 (0x00000191)

public static final int ERROR_UNKNOWN

Since: API level 29

Unknown error occured. Possible value for errorCode.

Since
API level 29
KNOX 3.4
Constant Value: -1 (0xffffffff)

Public Methods

public byte[] getBlob ()

Since: API level 29

Get blob data for the enhanced attestation result.

Since
API level 29
KNOX 3.4

public int getError ()

Since: API level 29

Get error code of the enhanced attestation result.

Since
API level 29
KNOX 3.4

public String getReason ()

Since: API level 29

Get detail error reason of the enhanced attestation result.

Since
API level 29
KNOX 3.4

public String getResponseRawData ()

Since: API level 29

Get raw data of response for the each enhanced attestation request from Samsung Attestation Server.

Since
API level 29
KNOX 3.4

public int getRetryAfterTime ()

Since: API level 29

Get retry time when server temporary unavailable. The retry time is valid only if > 0. The maximum retry count is 3.

Since
API level 29
KNOX 3.4

public String getServerResponseId ()

Since: API level 29

Get server response identifier to distinguish each enhanced attestation request.

Since
API level 29
KNOX 3.4

public String getUniqueId ()

Since: API level 29

Get unique identifier to distinguish each enhanced attestation request.

Since
API level 29
KNOX 3.4

public String getUrl ()

Since: API level 29

Get url for the enhanced attestation result stored on the Samsung Attestation Server.

Since
API level 29
KNOX 3.4