Class NativeTrustedCertificates


  • public class NativeTrustedCertificates
    extends Object
    • Constructor Detail

      • NativeTrustedCertificates

        public NativeTrustedCertificates()
    • Method Detail

      • getCustomOsSpecificTrustedCertificates

        public static Collection<X509Certificate> getCustomOsSpecificTrustedCertificates()
        Get custom trusted certificates from the operating system. Uses platform-specific APIs. Does not fail, only logs to java util logging. On some systems (currently, Linux) may return an entire set of trusted certificates.

        To get more logging on user's machine enable FINE logging level for org.jetbrains.nativecerts category.

        Returns:
        custom trusted certificates collection or an empty collection in case of failure