commonMain.at.asitplus.wallet.por.Initializer.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powerofrepresentation-jvm Show documentation
Show all versions of powerofrepresentation-jvm Show documentation
Use data representing Power of Representations as a SD JWT Credential
package at.asitplus.wallet.por
import at.asitplus.wallet.lib.LibraryInitializer
object Initializer {
/**
* A reference to this class is enough to trigger the init block
*/
init {
initWithVcLib()
}
/**
* This has to be called first, before anything first, to load the
* relevant classes of this library into the base implementations of vclib
*/
fun initWithVcLib() {
LibraryInitializer.registerExtensionLibrary(
credentialScheme = PowerOfRepresentationScheme,
)
}
}