Package org.jetbrains.nativecerts
Class NativeTrustedCertificates
- java.lang.Object
-
- org.jetbrains.nativecerts.NativeTrustedCertificates
-
public class NativeTrustedCertificates extends Object
-
-
Constructor Summary
Constructors Constructor Description NativeTrustedCertificates()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Collection<X509Certificate>getCustomOsSpecificTrustedCertificates()Get custom trusted certificates from the operating system.
-
-
-
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.nativecertscategory.- Returns:
- custom trusted certificates collection or an empty collection in case of failure
-
-