Closed hfossli closed 7 years ago
No, you are right, they do not work. That array is a dump of all constants for SecKeyAlgorithm and then I iterate over them to find those that are supported.
Check the function named supportedAlgorithms in Utils.swift
Sorry, totally lacking coffee. Seems fine!
Hey, I've just checked out the latest master and getting this error:
Thanks for letting me know. Fixing this by merging the demo project changes.
Fixed on master. There's some breaking changes on the API level. Will have to bump major version number on next release. I hope it is easier to have control of sha method now.
I note the RSA algorithms in allAlgorithms - is that deliberate? Do they work with an EC key?