Enumerations

The following enumerations are available globally.

  • MLS cipher suites

    See more

    Declaration

    Swift

    public enum CipherSuite : UInt16, Equatable, Hashable
    extension CipherSuite: Sendable
  • The primary error type returned across the CoreCrypto FFI boundary.

    See more

    Declaration

    Swift

    public enum CoreCryptoError : Swift.Error, Equatable, Hashable, Foundation.LocalizedError
    extension CoreCryptoError: Sendable
  • Defines the log level for CoreCrypto.

    See more

    Declaration

    Swift

    public enum CoreCryptoLogLevel : UInt8, Equatable, Hashable
    extension CoreCryptoLogLevel: Sendable
  • The type of credential used to authenticate an MLS client’s identity.

    See more

    Declaration

    Swift

    public enum CredentialType : UInt8, Equatable, Hashable
    extension CredentialType: Sendable
  • Represents the items a consumer might require after decrypting a message.

    See more

    Declaration

    Swift

    public enum DecryptedMessage
    extension DecryptedMessage: Sendable
  • Outcome of attempting to decrypt a message.

    See more

    Declaration

    Swift

    public enum DecryptionOutcome
    extension DecryptionOutcome: Sendable
  • A reason why processing this message had to be deferred.

    See more

    Declaration

    Swift

    public enum DeferralReason : Equatable, Hashable
    extension DeferralReason: Sendable
  • The standalone status of a device credential in an MLS group at a given moment.

    This does not represent states where a device is not using MLS or end-to-end identity.

    See more

    Declaration

    Swift

    public enum DeviceStatus : UInt8, Equatable, Hashable
    extension DeviceStatus: Sendable
  • The end-to-end identity verification state of a conversation.

    Note: this does not check pending state (pending commit, pending proposals), so it does not consider members about to be added or removed.

    See more

    Declaration

    Swift

    public enum E2eiConversationState : UInt8, Equatable, Hashable
    extension E2eiConversationState: Sendable
  • Errors produced by the end-to-end identity layer.

    See more

    Declaration

    Swift

    public enum E2eiError : Swift.Error, Equatable, Hashable, Foundation.LocalizedError
    extension E2eiError: Sendable
  • An error returned by an EpochObserver callback implementation.

    See more

    Declaration

    Swift

    public enum EpochChangedReportingError : Swift.Error, Equatable, Hashable, Foundation.LocalizedError
    extension EpochChangedReportingError: Sendable
  • HttpMethod used for PKI hooks.

    See more

    Declaration

    Swift

    public enum HttpMethod : Equatable, Hashable
    extension HttpMethod: Sendable
  • An error returned by a CoreCryptoLogger callback implementation.

    See more

    Declaration

    Swift

    public enum LoggingError : Swift.Error, Equatable, Hashable, Foundation.LocalizedError
    extension LoggingError: Sendable
  • Errors produced by the MLS layer.

    See more

    Declaration

    Swift

    public enum MlsError : Swift.Error, Equatable, Hashable, Foundation.LocalizedError
    extension MlsError: Sendable
  • How a GroupInfo is encrypted in a commit bundle.

    See more

    Declaration

    Swift

    public enum MlsGroupInfoEncryptionType : UInt8, Equatable, Hashable
    extension MlsGroupInfoEncryptionType: Sendable
  • How the ratchet tree is represented in a GroupInfo.

    See more

    Declaration

    Swift

    public enum MlsRatchetTreeType : UInt8, Equatable, Hashable
    extension MlsRatchetTreeType: Sendable
  • Errors returned by MLS transport callbacks exposed through FFI.

    See more

    Declaration

    Swift

    public enum MlsTransportError : Swift.Error, Equatable, Hashable, Foundation.LocalizedError
    extension MlsTransportError: Sendable
  • An error returned by a HistoryObserver callback implementation.

    See more

    Declaration

    Swift

    public enum NewHistoryClientReportingError : Swift.Error, Equatable, Hashable, Foundation.LocalizedError
    extension NewHistoryClientReportingError: Sendable
  • An error returned by a PkiEnvironmentHooks callback implementation.

    See more

    Declaration

    Swift

    public enum PkiEnvironmentHooksError : Swift.Error, Equatable, Hashable, Foundation.LocalizedError
    extension PkiEnvironmentHooksError: Sendable
  • Errors produced by the Proteus layer.

    See more

    Declaration

    Swift

    public enum ProteusError : Swift.Error, Equatable, Hashable, Foundation.LocalizedError
    extension ProteusError: Sendable
  • A reason why this message could not be decrypted.

    See more

    Declaration

    Swift

    public enum RejectionReason : Equatable, Hashable
    extension RejectionReason: Sendable
  • Signature schemes supported by MLS, as defined in RFC 9420.

    See more

    Declaration

    Swift

    public enum SignatureScheme : UInt16, Equatable, Hashable
    extension SignatureScheme: Sendable
  • The policy to encrypt the targeted message with.

    See more

    Declaration

    Swift

    public enum TargetedMessagePolicy : Equatable, Hashable
    extension TargetedMessagePolicy: Sendable