toSecKey

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

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