Package-level declarations
Types
For creating a challenge.
Holds URLs of all the standard ACME endpoint supported on an ACME server.
to avoid recursive structs
Metadata describing the conditions of the build of this software.
MLS ciphersuites.
A Client identifier
A Client identifier
Information returned when a commit is created.
The configuration parameters for a group/conversation
A unique identifier for a single conversation.
A unique identifier for a single conversation.
CoreCrypto wraps around MLS and Proteus implementations and provides a transactional interface for each.
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.
CoreCrypto wraps around MLS and Proteus implementations and provides a transactional interface for each.
This trait is used to provide a callback mechanism to hook up the respective platform logging system.
This trait is used to provide a callback mechanism to hook up the respective platform logging system.
Defines the log level for a CoreCrypto
Type of Credential
Supporting struct for CRL registration result
see core_crypto::prelude::MlsCustomConfiguration
The key used to encrypt the database.
The key used to encrypt the database.
A decrypted message and various associated metadata
Indicates the standalone status of a device Credential in a MLS group at a moment T.
Indicates the state of a Conversation regarding end-to-end identity.
Wire end to end identity solution for fetching a x509 certificate which identifies a client.
Wire end to end identity solution for fetching a x509 certificate which identifies a client.
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 some metadata
MLS Group Information
An HistoryObserver
is notified whenever a new history client is created.
An 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.
A signed object describing a client's identity and capabilities.
A signed object describing a client's identity and capabilities.
MLS produces these kinds of error
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.
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 core crypto to send commits or application messages to the delivery service. This trait must be implemented before calling any functions that produce commits.
MLS transport may or may not succeeed; this response indicates to CC the outcome of the transport attempt.
Result of an authorization creation.
Result of an order creation.
Encapsulates a prekey id and a cbor-serialized prekey
Proteus produces these kinds of error
A secret key derived from the group secret.
A secret key derived from the group secret.
A TLS-serialized Welcome message.
see core_crypto::prelude::WelcomeBundle
A TLS-serialized Welcome message.
Represents the identity claims identifying a client Those claims are verifiable by any member in the group
See core_crypto::prelude::MlsWirePolicy
Properties
The default ciphersuite: MLS_128_DHKEMX25519_AES128GCM_SHA256_ED25519
The default set of ciphersuites: [MLS_128_DHKEMX25519_AES128GCM_SHA256_ED25519]
Default Conversation Configuration
Default credential type
Default Custom Configuration
Functions
Returns build data for CoreCrypto
Get an instance of the default ciphersuite.
Construct a ciphersuite enum instance from its discriminant.
Free function to construct a new CoreCrypto
instance.
Instantiate a history client.
Free function to construct a new CoreCrypto
instance.
Instantiate a history client.
Opens an existing core crypto client or creates a new one if one doesn't exist at the keystore
path
Wrap a CoreCrypto
instance in a CoreCryptoClient
instance. Should largely be invisible to end-users.
Updates the key of the CoreCrypto database. To be used only once, when moving from CoreCrypto <= 5.x to CoreCrypto 6.x.
Initializes the logger
Initializes the logger
Set 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
Updates the key of the CoreCrypto database.