CoreCryptoCentral

Functions

Link copied to clipboard
abstract suspend 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
abstract suspend fun mlsClient(clientId: CryptoQualifiedClientId, allowedCipherSuites: List<MLSCiphersuite>, defaultCipherSuite: MLSCiphersuite, mlsTransporter: MLSTransporter, epochObserver: MLSEpochObserver, coroutineScope: <Error class: unknown class>): MLSClient
abstract suspend 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
abstract suspend 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
abstract suspend fun proteusClient(): ProteusClient
Link copied to clipboard
abstract suspend fun registerCrl(url: String, crl: JsonRawData): CrlRegistration

Register Certificate Revocations List for an url for E2EI

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

Register Intermediate CA for E2EI

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

Register ACME-CA certificates for E2EI