toCryptoPublicKey

open override fun toCryptoPublicKey(): KmmResult<CryptoPublicKey>(source)

Return

a KmmResult wrapped CryptoPublicKey equivalent if conversion is possible (i.e. if all key params are set) or the first error. More details in either CoseKeyParams.RsaParams.toCryptoPublicKey, CoseKeyParams.EcYBoolParams.toCryptoPublicKey or CoseKeyParams.EcYByteArrayParams.toCryptoPublicKey