Types

Link copied to clipboard
class DecryptionFailed(message: String, cause: Throwable? = null) : ProtocolException
Link copied to clipboard
class InvalidMessage(message: String, cause: Throwable? = null) : ProtocolException
Link copied to clipboard
class InvalidPreKeyBundle(message: String, cause: Throwable? = null) : ProtocolException
Link copied to clipboard
class InvalidSessionState(message: String, cause: Throwable? = null) : ProtocolException
Link copied to clipboard
Link copied to clipboard
class MalformedMessage(message: String, cause: Throwable? = null) : ProtocolException

The encoded message is truncated, has trailing bytes or an invalid field.

Link copied to clipboard
class MalformedSecurePayload(message: String, cause: Throwable? = null) : ProtocolException

The decrypted payload is not a well-formed reliability frame: truncated, trailing bytes, unknown type or an invalid field. Also raised for plaintext from a peer that does not use the frame (before milestone 8).

Link copied to clipboard

The message or one of its fields exceeds a wire format size limit.

Link copied to clipboard

The encoded message has an unknown message type byte.

Link copied to clipboard

The decrypted payload uses a reliability-frame version this implementation does not support.

Link copied to clipboard

The encoded message uses a wire version this implementation does not support.

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?