NonceLoaderException

class NonceLoaderException : Exception


An exception that occurred in the NonceLoader class. This exception will generally be passed to a listener rather than thrown. The user should fallback to not using NonceLoader library in case of failure.

Summary

Nested types

@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.