commonMain.at.asitplus.wallet.cor.Initializer.kt Maven / Gradle / Ivy
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,
)
}
}