12345module juptune.data.x509.store;
Result x509LoadDefaultCertificates(
X509CertificateStore store
);
Loads the platform's default certificates into the given store.
If this function throws X509StoreError.noDefaultCertificatesFound, it's safe to ignore this result and continue using the provided store, as effectively nothing happened.
Anything that File.openForReadingcan.
Anything that X509CertificateStore.loadBundleFromPemcan.
X509StoreError.noDefaultCertificatesFoundif no default certificates could be found.
A Resultindicating if an error occurred or not.