CoreCryptoCentralImpl

class CoreCryptoCentralImpl(cc: <Error class: unknown class>, rootDir: String, databaseKey: <Error class: unknown class>) : CoreCryptoCentral

Constructors

Link copied to clipboard
constructor(cc: <Error class: unknown class>, rootDir: String, databaseKey: <Error class: unknown class>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open suspend override fun exportDatabaseCopy(destinationPath: String)

Export a compacted copy of the CoreCrypto database to the specified destination path. Uses SQLite's VACUUM INTO to create an encrypted copy of the database.

Link copied to clipboard
open suspend override fun mlsClient(clientId: CryptoQualifiedClientId, allowedCipherSuites: List<MLSCiphersuite>, defaultCipherSuite: MLSCiphersuite, mlsTransporter: MLSTransporter, epochObserver: MLSEpochObserver, coroutineScope: <Error class: unknown class>): MLSClient
open suspend override fun mlsClient(enrollment: E2EIClient, certificateChain: CertificateChain, newMLSKeyPackageCount: <Error class: unknown class>, defaultCipherSuite: MLSCiphersuite, mlsTransporter: MLSTransporter, epochObserver: MLSEpochObserver, coroutineScope: <Error class: unknown class>): MLSClient
Link copied to clipboard
open suspend override fun newAcmeEnrollment(clientId: CryptoQualifiedClientId, displayName: String, handle: String, teamId: String?, expiry: <Error class: unknown class>, defaultCipherSuite: MLSCiphersuite): E2EIClient

Enroll Wire E2EIdentity Client for E2EI before MLSClient Initialization

Link copied to clipboard
open suspend override fun proteusClient(): ProteusClient
Link copied to clipboard
open suspend override fun registerCrl(url: String, crl: JsonRawData): CrlRegistration

Register Certificate Revocations List for an url for E2EI

Link copied to clipboard
open suspend override fun registerIntermediateCa(pem: CertificateChain)

Register Intermediate CA for E2EI

Link copied to clipboard
open suspend override fun registerTrustAnchors(pem: CertificateChain)

Register ACME-CA certificates for E2EI

Link copied to clipboard
suspend fun transaction(name: String, block: suspend (<Error class: unknown class>) -> Unit): <Error class: unknown class>