commonMain.at.asitplus.wallet.cor.Initializer.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of certificateofresidence-jvm Show documentation
Show all versions of certificateofresidence-jvm Show documentation
Use data representing Certificates of Residence as a SD JWT Credential
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,
)
}
}