toSecKey

fun CryptoPublicKey.toSecKey(): KmmResult<OwnedCFValue<SecKeyRef>>(source)


fun CryptoPrivateKey.WithPublicKey<*>.toSecKey(): KmmResult<OwnedCFValue<SecKeyRef>>(source)

Converts this privateKey into a SecKeyRef, making it usable on iOS