SecureChatError

@objc(VSRSecureChatError)
public enum SecureChatError : Int, LocalizedError

SecureChat errors

  • sessionAlreadyExists: Session with this participant already exists
  • wrongIdentityPublicKeyCrypto: PublicKey is not VirgilPublicKey
  • identityKeyDoesntMatch: Identity key in the Card and on Ratchet Cloud doesn’t match
  • invalidLongTermKeySignature: Long-term key signature is invalid
  • invalidMessageType: Message type should be .prekey
  • invalidKeyType: Invalid key type
  • publicKeysSetsMismatch: PublicKeysSets mismatch
  • invalidSessionIdLen: Session Id should be 32-byte
  • invalidCardId: Invalid card id
  • sessionIdMismatch: Session id mismatch