CertStore_GetCertificateCount function
Header: #include <applibs/certstore.h>
Gets the number of certificates installed on the device.
ssize_t CertStore_GetCertificateCount(void);
Errors
Returns -1 if an error is encountered and sets errno
to the error value.
- EACCES: the operation isn't allowed because the CertStore capability isn't set in the application manifest.
- EAGAIN: the OS certstore component isn't ready yet.
Any other errno
may also be specified; such errors aren't deterministic and there's no guarantee that the same behavior will be retained through system updates.
Return value
Returns the number of certificates installed on the device, or -1 for failure, in which case errno
is set to the error value.
Application manifest requirements
The application manifest must include the CertStore capability.
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre