-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark some S.S.C.Algorithms APIs as unsupported on ios/tvos #49762
Mark some S.S.C.Algorithms APIs as unsupported on ios/tvos #49762
Conversation
Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq, @GrabYourPitchforks |
src/libraries/Common/src/System/Security/Cryptography/ECDiffieHellmanSecurityTransforms.cs
Outdated
Show resolved
Hide resolved
...raphy.X509Certificates/src/System/Security/Cryptography/X509Certificates/X509Certificate2.cs
Outdated
Show resolved
Hide resolved
3d459d1
to
cd4e553
Compare
...s/System.Security.Cryptography.Algorithms/src/System.Security.Cryptography.Algorithms.csproj
Outdated
Show resolved
Hide resolved
...s/System.Security.Cryptography.Algorithms/src/System.Security.Cryptography.Algorithms.csproj
Outdated
Show resolved
Hide resolved
6a77a33
to
c64f827
Compare
c64f827
to
a5b2bfa
Compare
...s/System.Security.Cryptography.Algorithms/src/System.Security.Cryptography.Algorithms.csproj
Outdated
Show resolved
Hide resolved
...ryptography.X509Certificates/src/Internal/Cryptography/Pal.OSX/AppleCertificatePal.Pkcs12.cs
Outdated
Show resolved
Hide resolved
...m.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.OSX/CertificatePal.cs
Outdated
Show resolved
Hide resolved
...raphy.X509Certificates/src/System/Security/Cryptography/X509Certificates/X509Certificate2.cs
Outdated
Show resolved
Hide resolved
a5b2bfa
to
8b3fafd
Compare
c632c47
to
9f08ef2
Compare
src/libraries/Common/src/System/Security/Cryptography/EccSecurityTransforms.cs
Show resolved
Hide resolved
bee5bac
to
e714512
Compare
e714512
to
2461b34
Compare
…ive_SecKeychainCreate, AppleCryptoNative_SecKeychainDelete, and AppleCryptoNative_SetKeychainNeverLock
…tOaep, AppleCryptoNative_RsaEncryptPkcs, AppleCryptoNative_RsaDecryptOaep, and AppleCryptoNative_RsaDecryptPkcs
…nerateSignature, AppleCryptoNative_GenerateSignatureWithHashAlgorithm, AppleCryptoNative_VerifySignature, AppleCryptoNative_VerifySignatureWithHashAlgorithm, and AppleCryptoNative_SecKeyExport
…d calls in non-public types
…ityTransforms) methods as unsupported
ce89593
to
86c8865
Compare
…ted API (ExportParameters method)
86c8865
to
2777fe2
Compare
Looks like some of these APIs will actually work after @filipnavara's #51620 so we should wait for that to land and then update this one. |
Please hold on with this. I have pretty much the whole S.S.C.Algorithms working on iOS (main...filipnavara:ios-crypto-003) and I'll clean it up and start submitting as individual PRs for review. |
The respective S.S.C.Algorithms APIs were enabled in other PR so this work is no longer needed and I'm closing it. |
#47910
The affected APIs :
I tried re-enabling some native part (e.g. RSA operations) but it seems to be more time consuming/ requiring more experience and outside of the bound of the current task for annotating.
I had to use warning suppression in managed code (mostly in private/internal classes/methods) where the unsupported APIs are invoked in order to fix the build.
Also, I excluded the unsupported methods from the build on iOS/tvOS by adding
Interop.*.Mobile.cs
files.