Package org.signal.libsignal.net
See: Description
-
Class Summary Class Description UnexpectedResponseException Unexpected response from the server. RegistrationSessionNotReadyException The session is already verified or not in a state to request a code because requested information hasn't been provided yet. TransportFailureException Transport-level error in Chat Service communication. ServerMessageAck RegistrationSessionSendCodeException The request to send a verification code with the given transport could not be fulfilled, but may succeed with a different transport. RegistrationSessionIdInvalidException The session ID is not valid. AppExpiredException Indicates that the local application is too old, and was rejected by the server. RegistrationSessionState The state of a registration verification session as reported by the server. UnauthenticatedChatConnection Represents an unauthenticated (i.e. CdsiInvalidTokenException Error thrown by a failed CDSI lookup operation. ConnectionInvalidatedException Exception thrown when the server explicitly invalidates and disconnects a connection. TimeoutException Request timed out. ServerSideErrorException Server-side error, retryable with backoff. Network NetworkException Error thrown by a low-level network failure, for example failure to open a TCP connection. DeviceTransferPossibleException ConnectedElsewhereException Indicates that the same credentials we used to open an authenticated ChatConnection were also used to open a second connection "elsewhere". CdsiLookupRequest KeyTransparencyClient Typed API to access the key transparency subsystem using an existing unauthenticated chat connection. DeviceDeregisteredException Indicates that the local device has been deregistered or delinked. ChatServiceInactiveException Indicates that an operation on the ChatServicehas been called beforeNetworkProtocolException Error thrown by a network failure on a higher level, for example failure to establish a WebSocket connection. Entry CdsiLookupResponse ChatServiceException Error thrown by Chat Service API. CdsiProtocolException Error thrown when a CDSI server returns an unexpected response. RegistrationLockException Thrown when a registration request is made for an account that has registration lock enabled. RegistrationException Error thrown by an unsuccessful registration request. RetryLaterException Thrown when a request should be retried after waiting. Request Response ChatConnection Represents an established connection to the Chat Service. DurationExt RegistrationRecoveryFailedException Thrown when verification fails for registration request with a recovery password. KeyTransparency RegistrationSessionNotFoundException No session with the specified ID could be found. EnclaveAuth RegistrationCodeNotDeliverableException The attempt to send a verification code failed because an external service (e.g. CreateSession Values passed to the server by createSession. AccountAttributes Account attributes sent as part of a registerAccount request. RegistrationService A client for the the registration service. BadgeEntitlement BackupEntitlement RegisterAccountResponse AuthenticatedChatConnection Represents an authenticated communication channel with the ChatConnection. RateLimitChallengeException Thrown when a request should be retried after waiting. Success The request completed successfully and produced a result. NonSuccess We successfully made the request, but the server returned an error. RetryableNetworkError A retryable network failure occurred before receiving a response. ApplicationError A client-side issue prevented the request from completing. SvrB Service for Secure Value Recovery for Backups (SVR-B) operations. SvrBStoreResponse The result of preparing a backup to be stored with forward secrecy guarantees. SvrBRestoreResponse The result of restoring a backup. UnauthUsernamesService RequestResultKt -
Interface Summary Interface Description ChatConnectionListener RequestResult High-level result type for chat server requests. BadRequestError Marker interface for business logic errors returned by typed APIs. -
Enum Summary Enum Description Environment MonitorMode Mode of the monitor operation. IpType The order of values in this enum should match IpTypeenum in Rust (libsignal-net).VerificationTransport Svr2CredentialsResult ChallengeOption