toSecKey

fun CryptoPublicKey.toSecKey(): KmmResult<Unit>


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

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