NonceLoaderException.ErrorCodes

@IntDef(value = [ErrorCodes.EMPTY_NONCE, ErrorCodes.ENCRYPTION_FAILED, ErrorCodes.NONCE_TOO_LONG, ErrorCodes.INVALID_CONTEXT, ErrorCodes.INVALID_NONCE_REQUEST, ErrorCodes.FAILED_TO_LOAD_KEYSET, ErrorCodes.PUBLIC_KEY_FAILED_TO_LOAD, ErrorCodes.CRYPTOGRAPHY_UNAVAILABLE, ErrorCodes.UNKNOWN_ERROR])
@Retention(value = RetentionPolicy.SOURCE)
public annotation NonceLoaderException.ErrorCodes


Error codes for NonceLoader exceptions.

Summary

Constants

static final int

An error caused by an empty nonce response.

static final int

An error internal to the PAL SDK.

static final int

An error internal to the PAL SDK.

static final int

The Context was not correctly passed into the NonceLoader.

static final int

An invalid or null NonceRequest was passed into the NonceLoader.

static final int

The generated nonce was too long.

static final int

A public key required by PAL failed to load.

static final int

An unknown error occurred.

Constants

EMPTY_NONCE

public static final int EMPTY_NONCE = 101

An error caused by an empty nonce response.

ENCRYPTION_FAILED

public static final int ENCRYPTION_FAILED = 204

An error internal to the PAL SDK.

FAILED_TO_LOAD_KEYSET

public static final int FAILED_TO_LOAD_KEYSET = 203

An error internal to the PAL SDK.

INVALID_CONTEXT

public static final int INVALID_CONTEXT = 102

The Context was not correctly passed into the NonceLoader.

INVALID_NONCE_REQUEST

public static final int INVALID_NONCE_REQUEST = 103

An invalid or null NonceRequest was passed into the NonceLoader.

NONCE_TOO_LONG

public static final int NONCE_TOO_LONG = 104

The generated nonce was too long.

PUBLIC_KEY_FAILED_TO_LOAD

public static final int PUBLIC_KEY_FAILED_TO_LOAD = 202

A public key required by PAL failed to load. This may be caused by poor network connectivity.

UNKNOWN_ERROR

public static final int UNKNOWN_ERROR = 100

An unknown error occurred.