You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor and optimize Windows certificate store #5539 adds a certificate store cache to the Windows certificate store so that when a root is used repeatedly the caller gets a shared copy f the certificate rather than a newly reparsed one. This avoids both parsing overhead and reduces memory consumption.
Now Certificate_Store directly offers contains as a function which can be overridden. The default implementation is find-all + a linear comparison, which is not very efficient.
There are probably other minor things too (eg missing kSecAttrSerialNumber encoding, if solved, would allow perhaps faster searching)
Two major ones are
Certificate_Storedirectly offerscontainsas a function which can be overridden. The default implementation is find-all + a linear comparison, which is not very efficient.There are probably other minor things too (eg missing
kSecAttrSerialNumberencoding, if solved, would allow perhaps faster searching)