Structures

The following structures are available globally.

  • to avoid recursive structs

    See more

    Declaration

    Swift

    public struct BufferedDecryptedMessage
    extension BufferedDecryptedMessage: Sendable
  • Metadata describing the conditions of the build of this software.

    See more

    Declaration

    Swift

    public struct BuildMetadata
    extension BuildMetadata: Sendable
    extension BuildMetadata: Equatable, Hashable
  • Information returned when a commit is created.

    See more

    Declaration

    Swift

    public struct CommitBundle
    extension CommitBundle: Sendable
  • A decrypted message and various associated metadata

    See more

    Declaration

    Swift

    public struct DecryptedMessage
    extension DecryptedMessage: Sendable
  • A GroupInfo with some metadata

    See more

    Declaration

    Swift

    public struct GroupInfoBundle
    extension GroupInfoBundle: Sendable
  • A HistorySecret encodes sufficient client state that it can be used to instantiate an ephemeral client.

    See more

    Declaration

    Swift

    public struct HistorySecret
    extension HistorySecret: Sendable
  • An HttpHeader used for pki hooks

    See more

    Declaration

    Swift

    public struct HttpHeader
    extension HttpHeader: Sendable
    extension HttpHeader: Equatable, Hashable
  • An HttpResponse used for pki hooks

    See more

    Declaration

    Swift

    public struct HttpResponse
    extension HttpResponse: Sendable
    extension HttpResponse: Equatable, Hashable
  • Encapsulates a prekey id and a cbor-serialized prekey

    See more

    Declaration

    Swift

    public struct ProteusAutoPrekeyBundle
    extension ProteusAutoPrekeyBundle: Sendable
    extension ProteusAutoPrekeyBundle: Equatable, Hashable
  • see [core_crypto::WelcomeBundle]

    See more

    Declaration

    Swift

    public struct WelcomeBundle
    extension WelcomeBundle: Sendable
  • Represents the identity claims identifying a client Those claims are verifiable by any member in the group

    See more

    Declaration

    Swift

    public struct WireIdentity
    extension WireIdentity: Sendable
    extension WireIdentity: Equatable, Hashable
  • Represents the parts of [WireIdentity][crate::WireIdentity] that are specific to a X509 certificate (and not a Basic one).

    We don’t use an enum here since the sole purpose of this is to be exposed through the FFI (and union types are impossible to carry over the FFI boundary)

    See more

    Declaration

    Swift

    public struct X509Identity
    extension X509Identity: Sendable
    extension X509Identity: Equatable, Hashable