All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.at.asitplus.wallet.cor.Initializer.kt Maven / Gradle / Ivy

The newest version!
package at.asitplus.wallet.cor

import at.asitplus.wallet.lib.LibraryInitializer

object Initializer {

    /**
     * A reference to this class is enough to trigger the init block
     */
    init {
        initWithVCK()
    }

    /**
     * This has to be called first, before anything first, to load the
     * relevant classes of this library into the base implementations of VC-K
     */
    fun initWithVCK() {
        LibraryInitializer.registerExtensionLibrary(
            credentialScheme = CertificateOfResidenceScheme,
        )
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy