diff --git a/tink/src/iosMain/kotlin/io/github/ryunen344/tink/util/KClass.kt b/tink/src/iosMain/kotlin/io/github/ryunen344/tink/util/KClass.kt new file mode 100644 index 00000000..15e48fb8 --- /dev/null +++ b/tink/src/iosMain/kotlin/io/github/ryunen344/tink/util/KClass.kt @@ -0,0 +1,31 @@ +package io.github.ryunen344.tink.util + +import io.github.ryunen344.tink.aead.Aead +import io.github.ryunen344.tink.daead.DeterministicAead +import io.github.ryunen344.tink.hybrid.HybridDecrypt +import io.github.ryunen344.tink.hybrid.HybridEncrypt +import io.github.ryunen344.tink.mac.Mac +import io.github.ryunen344.tink.signature.PublicKeySign +import io.github.ryunen344.tink.signature.PublicKeyVerify +import kotlin.reflect.KClass + +val Aead.kclass: KClass + get() = Aead::class + +val DeterministicAead.kclass: KClass + get() = DeterministicAead::class + +val HybridDecrypt.kclass: KClass + get() = HybridDecrypt::class + +val HybridEncrypt.kclass: KClass + get() = HybridEncrypt::class + +val Mac.kclass: KClass + get() = Mac::class + +val PublicKeySign.kclass: KClass + get() = PublicKeySign::class + +val PublicKeyVerify.kclass: KClass + get() = PublicKeyVerify::class