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)
annotation NonceLoaderException.ErrorCodes


Error codes for NonceLoader exceptions.

Summary

Constants

const Int

An error caused by an empty nonce response.

const Int

An error internal to the PAL SDK.

const Int

An error internal to the PAL SDK.

const Int

The Context was not correctly passed into the NonceLoader.

const Int

An invalid or null NonceRequest was passed into the NonceLoader.

const Int

The generated nonce was too long.

const Int

A public key required by PAL failed to load.

const Int

An unknown error occurred.

Constants

EMPTY_NONCE

const val EMPTY_NONCE = 101: Int

An error caused by an empty nonce response.

ENCRYPTION_FAILED

const val ENCRYPTION_FAILED = 204: Int

An error internal to the PAL SDK.

FAILED_TO_LOAD_KEYSET

const val FAILED_TO_LOAD_KEYSET = 203: Int

An error internal to the PAL SDK.

INVALID_CONTEXT

const val INVALID_CONTEXT = 102: Int

The Context was not correctly passed into the NonceLoader.

INVALID_NONCE_REQUEST

const val INVALID_NONCE_REQUEST = 103: Int

An invalid or null NonceRequest was passed into the NonceLoader.

NONCE_TOO_LONG

const val NONCE_TOO_LONG = 104: Int

The generated nonce was too long.

PUBLIC_KEY_FAILED_TO_LOAD

const val PUBLIC_KEY_FAILED_TO_LOAD = 202: Int

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

UNKNOWN_ERROR

const val UNKNOWN_ERROR = 100: Int

An unknown error occurred.