Classes
The following classes are available globally.
- 
                  
                  
The database needed to initialize
See moreCoreCrypto.Declaration
Swift
public final class Database - 
                  
                  
CoreCrypto client which manages one cryptographic client for proteus and MLS.
See moreDeclaration
Swift
public final class CoreCrypto : CoreCryptoProtocol - 
                  
                  
A Client identifier
A unique identifier for clients. A client is an identifier for each App a user is using, such as desktop, mobile, etc. Users can have multiple clients. More information here
See moreDeclaration
Swift
open class ClientId : ClientIdProtocol, @unchecked Sendable - 
                  
                  
A unique identifier for a single conversation.
The backend provides an opaque string identifying a new conversation. Construct an instance of this newtype to pass that identifier to Rust.
See moreDeclaration
Swift
open class ConversationId : ConversationIdProtocol, @unchecked Sendable, Equatable, Hashable, CustomDebugStringConvertible, CustomStringConvertible - 
                  
                  
A
CoreCryptoCommandhas anexecutemethod which accepts aCoreCryptoContextand returns nothing.It is the argument to a
See moreCoreCrypto::transactioncall.Declaration
Swift
open class CoreCryptoCommandImpl : CoreCryptoCommand, @unchecked Sendable - 
                  
                  
The
CoreCryptoContextholds the primaryCoreCryptoAPIs.An instance of this struct is provided to the function handed to
CoreCrypto::transaction.Every mutable operation is done through this struct. This struct will buffer all operations in memory and when [TransactionContext::finish] is called, it will persist the data into the keystore.
See moreDeclaration
Swift
open class CoreCryptoContext : CoreCryptoContextProtocol, @unchecked Sendable - 
                  
                  
CoreCrypto wraps around MLS and Proteus implementations and provides a transactional interface for each.
See moreDeclaration
Swift
open class CoreCryptoFfi : CoreCryptoFfiProtocol, @unchecked Sendable - 
                  
                  
This trait is used to provide a callback mechanism to hook up the respective platform logging system.
See moreDeclaration
Swift
open class CoreCryptoLoggerImpl : CoreCryptoLogger, @unchecked Sendable - 
                  
DatabaseFrom WireCoreCryptoUniffiThe database acting as a core crypto keystore.
Declaration
Swift
open class Database : DatabaseProtocol, @unchecked Sendable - 
                  
                  
The key used to encrypt the database.
See moreDeclaration
Swift
open class DatabaseKey : DatabaseKeyProtocol, @unchecked Sendable, Equatable - 
                  
                  
Wire end to end identity solution for fetching a x509 certificate which identifies a client.
See [core_crypto::e2e_identity::E2eiEnrollment]
See moreDeclaration
Swift
open class E2eiEnrollment : E2eiEnrollmentProtocol, @unchecked Sendable - 
                  
                  
An
See moreEpochObserveris notified whenever a conversation’s epoch changes.Declaration
Swift
open class EpochObserverImpl : EpochObserver, @unchecked Sendable - 
                  
                  
The raw public key of an external sender.
This can be used to initialize a subconversation.
See moreDeclaration
Swift
open class ExternalSenderKey : ExternalSenderKeyProtocol, @unchecked Sendable, Equatable, Hashable, CustomStringConvertible - 
                  
                  
MLS Group Information
This is used when joining by external commit. It can be found within the
See moreGroupInfoBundlewithin aCommitBundle.Declaration
Swift
open class GroupInfo : GroupInfoProtocol, @unchecked Sendable, Equatable, Hashable, CustomStringConvertible - 
                  
                  
An
See moreHistoryObserveris notified whenever a new history client is created.Declaration
Swift
open class HistoryObserverImpl : HistoryObserver, @unchecked Sendable - 
                  
                  
A signed object describing a client’s identity and capabilities.
Includes a public key that can be used to encrypt to that client. Other clients can use a client’s KeyPackage to introduce that client to a new group.
See moreDeclaration
Swift
open class KeyPackage : KeyPackageProtocol, @unchecked Sendable, Equatable, Hashable, CustomStringConvertible - 
                  
                  
Used by core crypto to send commits or application messages to the delivery service. This trait must be implemented before calling any functions that produce commits.
See moreDeclaration
Swift
open class MlsTransportImpl : MlsTransport, @unchecked Sendable - 
                  
                  
Declaration
Swift
open class SecretKey : SecretKeyProtocol, @unchecked Sendable, Equatable, Hashable, CustomStringConvertible - 
                  
                  
A TLS-serialized Welcome message.
This structure is defined in RFC 9420: https://www.rfc-editor.org/rfc/rfc9420.html#joining-via-welcome-message.
See moreDeclaration
Swift
open class Welcome : WelcomeProtocol, @unchecked Sendable, Equatable, Hashable, CustomStringConvertible 
        Classes  Reference