CoreCryptoCentral
Functions
Link copied to clipboard
Link copied to clipboard
Adds every certificate from pemBundle that is not already installed. Existing trust anchors are never removed.
Link copied to clipboard
Check all installed X509 credentials for expiration and revocation.
Link copied to clipboard
Creates and installs a PKI environment backed by the same encrypted database as Core Crypto.
Link copied to clipboard
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
Link copied to clipboard
Persists credential without taking ownership of it.
Link copied to clipboard
abstract suspend fun mlsClient(clientId: CryptoQualifiedClientId, defaultCipherSuite: MLSCiphersuite, mlsTransporter: MLSTransporter, epochObserver: MLSEpochObserver, coroutineScope: <Error class: unknown class>): MLSClient
Link copied to clipboard
Link copied to clipboard
abstract suspend fun startX509CredentialAcquisition(config: X509CredentialAcquisitionConfig, existingCredentialRef: CryptoCredentialRef? = null): CryptoCredential
Starts an X509 acquisition and keeps it alive while PkiEnvironmentHooks.authenticate performs authentication. existingCredentialRef remains valid after this call.