Package-level declarations

Types

Link copied to clipboard
data class AcmeChallenge(var delegate: JsonRawData, var url: String, var target: String)
Link copied to clipboard
data class AcmeDirectory(var newNonce: String, var newAccount: String, var newOrder: String)
Link copied to clipboard
typealias ApplicationMessage = ByteArray
Link copied to clipboard
typealias CertificateChain = String
Link copied to clipboard
data class CommitBundle(val commit: ByteArray, val welcome: ByteArray?, val groupInfoBundle: GroupInfoBundle, val crlNewDistributionPoints: List<String>?)
Link copied to clipboard
typealias ConversationId = ByteArray
typealias ConversationId = ByteArray
Link copied to clipboard
Link copied to clipboard
class CoreCryptoCentralImpl(cc: <Error class: unknown class>, rootDir: String) : CoreCryptoCentral
class CoreCryptoCentralImpl(cc: <Error class: unknown class>, rootDir: String) : CoreCryptoCentral
Link copied to clipboard
Link copied to clipboard
data class CrlRegistration(var dirty: Boolean, var expiration: <Error class: unknown class>?)
Link copied to clipboard
data class CryptoClientId(val value: String)
Link copied to clipboard
Link copied to clipboard
data class CryptoQualifiedClientId(val value: String, val userId: CryptoQualifiedID)
Link copied to clipboard
data class CryptoQualifiedID(val value: String, val domain: String)
Link copied to clipboard
data class CryptoSessionId(val userId: CryptoUserID, val cryptoClientId: CryptoClientId)
Link copied to clipboard
Link copied to clipboard
data class DecryptedMessageBundle(val message: ByteArray?, val commitDelay: Long?, val senderClientId: CryptoQualifiedClientId?, val hasEpochChanged: Boolean, val identity: WireIdentity?, val crlNewDistributionPoints: List<String>?)
Link copied to clipboard
typealias DpopToken = String
Link copied to clipboard
interface E2EIClient
Link copied to clipboard
class E2EIClientImpl(val wireE2eIdentity: <Error class: unknown class>) : E2EIClient
class E2EIClientImpl(val wireE2eIdentity: <Error class: unknown class>) : E2EIClient
Link copied to clipboard
Link copied to clipboard
value class ExternalSenderKey(val value: ByteArray)
Link copied to clipboard
open class GroupInfoBundle(var encryptionType: GroupInfoEncryptionType, var ratchetTreeType: RatchetTreeType, var payload: ByteArray)
Link copied to clipboard
typealias HandshakeMessage = ByteArray
Link copied to clipboard
typealias JsonRawData = ByteArray
Link copied to clipboard
Link copied to clipboard
interface MLSClient
Link copied to clipboard
class MLSClientImpl(coreCrypto: <Error class: unknown class>, defaultCipherSuite: <Error class: unknown class>) : MLSClient
class MLSClientImpl(coreCrypto: <Error class: unknown class>, defaultCipherSuite: <Error class: unknown class>)
class MLSClientImpl(coreCrypto: <Error class: unknown class>, defaultCipherSuite: <Error class: unknown class>) : MLSClient
Link copied to clipboard
data class MlsDBSecret(val passphrase: ByteArray)
Link copied to clipboard
Link copied to clipboard
typealias MLSGroupId = String
Link copied to clipboard
typealias MLSKeyPackage = ByteArray
Link copied to clipboard
interface MLSTransporter
Link copied to clipboard
Link copied to clipboard
data class NewAcmeAuthz(var identifier: String, var keyAuth: String?, var challenge: AcmeChallenge)
Link copied to clipboard
data class NewAcmeOrder(var delegate: JsonRawData, var authorizations: List<String>)
Link copied to clipboard
typealias PlainMessage = ByteArray
Link copied to clipboard
data class PlainUserId(val value: String)
Link copied to clipboard
data class PreKeyCrypto(val id: Int, val encodedData: String)
Link copied to clipboard
interface ProteusClient
Link copied to clipboard
class ProteusClientCryptoBoxImpl(rootDir: String, defaultContext: <Error class: unknown class>, ioContext: <Error class: unknown class>) : ProteusClient
class ProteusClientCryptoBoxImpl(rootDir: String) : ProteusClient
Link copied to clipboard
data class ProteusDBSecret(val passphrase: ByteArray)
Link copied to clipboard
Link copied to clipboard
data class RotateBundle(var newKeyPackages: List<ByteArray>, val crlNewDistributionPoints: List<String>?)
Link copied to clipboard
data class WelcomeBundle(val groupId: MLSGroupId, val crlNewDistributionPoints: List<String>?)
Link copied to clipboard
typealias WelcomeMessage = ByteArray
Link copied to clipboard
data class WireIdentity(val clientId: CryptoQualifiedClientId, val status: CryptoCertificateStatus, val thumbprint: String, val credentialType: CredentialType, val x509Identity: WireIdentity.X509Identity?)

Properties

Link copied to clipboard
internal var kaliumLogger: <Error class: unknown class>

Functions

Link copied to clipboard
expect suspend fun coreCryptoCentral(rootDir: String, passphrase: ByteArray): CoreCryptoCentral
actual suspend fun coreCryptoCentral(rootDir: String, passphrase: ByteArray): CoreCryptoCentral
actual suspend fun coreCryptoCentral(rootDir: String, passphrase: ByteArray): CoreCryptoCentral
Link copied to clipboard
suspend fun ProteusClient.createSessions(preKeysCrypto: Map<String, Map<String, Map<String, PreKeyCrypto>>>)
Link copied to clipboard
expect suspend fun cryptoboxProteusClient(rootDir: String, defaultContext: <Error class: unknown class>, ioContext: <Error class: unknown class>): ProteusClient
actual suspend fun cryptoboxProteusClient(rootDir: String, defaultContext: <Error class: unknown class>, ioContext: <Error class: unknown class>): ProteusClient
actual suspend fun cryptoboxProteusClient(rootDir: String, defaultContext: <Error class: unknown class>, ioContext: <Error class: unknown class>): ProteusClient
Link copied to clipboard
expect suspend fun migrateDatabaseKey(rootDir: String, oldKey: String, passphrase: ByteArray)
actual suspend fun migrateDatabaseKey(rootDir: String, oldKey: String, passphrase: ByteArray)
actual suspend fun migrateDatabaseKey(rootDir: String, oldKey: String, passphrase: ByteArray)
Link copied to clipboard
internal suspend fun <T> <Error class: unknown class>.transaction(workIdentifier: String, block: suspend (<Error class: unknown class>) -> T): T

Performs a work using a CC Transaction, returning its result, exactly like the regular withLock function. However, this will monitor the work and log warnings using the provided workIdentifier every 10 seconds, while the work isn't completed.

internal suspend fun <T> <Error class: unknown class>.transaction(workIdentifier: String, block: suspend (<Error class: unknown class>) -> T): T

Performs a work using a CC Transaction, returning its result, exactly like the regular withLock function. However, this will monitor the work and log warnings using the provided workIdentifier every 10 seconds, while the work isn't completed.