CoreCryptoCentralImpl
class CoreCryptoCentralImpl(cc: <Error class: unknown class>, rootDir: String, database: <Error class: unknown class>) : CoreCryptoCentral
Constructors
Functions
Link copied to clipboard
open suspend override fun addPkiIntermediateCertificate(pem: CertificateChain): <Error class: unknown class>
Link copied to clipboard
open suspend override fun addPkiTrustAnchors(pemBundle: CertificateChain): <Error class: unknown class>
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
open suspend override fun configurePkiEnvironment(hooks: PkiEnvironmentHooks): <Error class: unknown class>
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
open suspend override fun mlsClient(clientId: CryptoQualifiedClientId, defaultCipherSuite: MLSCiphersuite, mlsTransporter: MLSTransporter, epochObserver: MLSEpochObserver, coroutineScope: <Error class: unknown class>): MLSClient
Link copied to clipboard
Link copied to clipboard
open suspend override fun startX509CredentialAcquisition(config: X509CredentialAcquisitionConfig, existingCredentialRef: CryptoCredentialRef?): CryptoCredential
Starts an X509 acquisition and keeps it alive while PkiEnvironmentHooks.authenticate performs authentication. existingCredentialRef remains valid after this call.
Link copied to clipboard