Package-level declarations
Types
A decrypted message that was buffered due to out-of-order delivery by the distribution service.
Metadata describing the conditions of the build of this software.
MLS ciphersuites.
A unique identifier for an MLS client.
A unique identifier for an MLS client.
Information returned when a commit is created.
A unique identifier for a single conversation.
A unique identifier for a single conversation.
A high-level wrapper around a CoreCrypto client as emitted by Uniffi.
A CoreCryptoCommand has an execute method which accepts a CoreCryptoContext and returns nothing.
A CoreCryptoCommand has an execute method which accepts a CoreCryptoContext and returns nothing.
The CoreCryptoContext holds the primary CoreCrypto APIs.
The CoreCryptoContext holds the primary CoreCrypto APIs.
The primary error type returned across the CoreCrypto FFI boundary.
CoreCrypto wraps around MLS and Proteus implementations and provides a transactional interface for each.
CoreCrypto wraps around MLS and Proteus implementations and provides a transactional interface for each.
A callback interface for forwarding CoreCrypto log messages to the platform's logging system.
A callback interface for forwarding CoreCrypto log messages to the platform's logging system.
Defines the log level for CoreCrypto.
A cryptographic credential.
A cryptographic credential.
A compact reference to a credential that has been persisted in CoreCrypto.
A compact reference to a credential that has been persisted in CoreCrypto.
The type of credential used to authenticate an MLS client's identity.
The database acting as a core crypto keystore.
The database acting as a core crypto keystore.
The key used to encrypt the database.
The key used to encrypt the database.
A decrypted message and various associated metadata.
The standalone status of a device credential in an MLS group at a given moment.
The end-to-end identity verification state of a conversation.
An error returned by an EpochObserver callback implementation.
An EpochObserver is notified whenever a conversation's epoch changes.
An EpochObserver is notified whenever a conversation's epoch changes.
The raw public key of an external sender.
The raw public key of an external sender.
MLS Group Information
A GroupInfo with associated metadata.
MLS Group Information
A HistoryObserver is notified whenever a new history client is created.
A HistoryObserver is notified whenever a new history client is created.
A HistorySecret encodes sufficient client state that it can be used to instantiate an ephemeral client.
An HttpHeader used for PKI hooks.
HttpMethod used for PKI hooks.
An HttpResponse used for PKI hooks.
A signed object describing a client's identity and capabilities.
A signed object describing a client's identity and capabilities.
A lightweight distinct reference to a KeyPackage, sufficient to uniquely identify it.
A lightweight distinct reference to a KeyPackage, sufficient to uniquely identify it.
An error returned by a CoreCryptoLogger callback implementation.
Errors produced by the MLS layer.
How a GroupInfo is encrypted in a commit bundle.
How the ratchet tree is represented in a GroupInfo.
Used by CoreCrypto to send commits or application messages to the delivery service.
Typealias from the type name used in the UDL file to the builtin type. This is needed because the UDL type name is used in function/method signatures. It's also what we have an external type that references a custom type.
Used by CoreCrypto to send commits or application messages to the delivery service.
The outcome of an MLS transport attempt, returned to CoreCrypto after delivery.
An error returned by a HistoryObserver callback implementation.
The PKI environment used for certificate management during X509 credential acquisition.
Callbacks for external calls made by CoreCrypto during X509 credential acquisition.
An error returned by a PkiEnvironmentHooks callback implementation.
Callbacks for external calls made by CoreCrypto during X509 credential acquisition.
The PKI environment used for certificate management during X509 credential acquisition.
Encapsulates a prekey id and a CBOR-serialized prekey.
Errors produced by the Proteus layer.
A secret key derived from the group secret.
A secret key derived from the group secret.
Signature schemes supported by MLS, as defined in RFC 9420.
A TLS-serialized Welcome message.
A TLS-serialized Welcome message.
The identity claims identifying a client.
Properties
Functions
Returns build metadata for CoreCrypto.
Get an instance of the default ciphersuite.
Construct a ciphersuite enum instance from its discriminant.
Instantiate a history client.
Construct a new CoreCryptoFfi instance.
Create a new PKI environment.
Export a fully vacuumed and optimized copy of the database to the specified path.
Create an in-memory database whose data will be lost when the instance is dropped.
Wrap a CoreCryptoFfi instance in a CoreCrypto instance. Should largely be invisible to end-users.
Updates the key of the CoreCrypto database.
Create a new PKI environment
Initialise an in-memory Database whose data will be lost when the instance is dropped
Initialise or open a Database
Open or create a database.
Returns the hex-encoded fingerprint of the identity key contained in the given prekey bundle.
Returns the Proteus last resort prekey ID.
Initializes the logger.
Sets the maximum log level forwarded to the logger.
Construct an AVS secret
Construct a client ID
Construct an external sender ID
Construct a GroupInfo from bytes
Construct a KeyPackage from bytes