[Android][libraries] Throw PNSE for PersistKeySet flags (#57494)
authorMitchell Hwang <16830051+mdh1418@users.noreply.github.com>
Tue, 17 Aug 2021 18:06:02 +0000 (14:06 -0400)
committerGitHub <noreply@github.com>
Tue, 17 Aug 2021 18:06:02 +0000 (14:06 -0400)
commitb1c6deacd8753431217caabbcc4a158ca0fce768
treea4ee9357926572291e9695f915aaff7aa64a2d15
parent57839c4c8a28006aacae49a1ddf8e9239fdc7edb
[Android][libraries] Throw PNSE for PersistKeySet flags (#57494)

* [Android][libraries] Throw PNSE for Exportable and PersistKeySet flags

* Ignore exportable flag

Co-authored-by: Mitchell Hwang <mitchell.hwang@microsoft.com>
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Android/AndroidCertificatePal.cs