java.lang.Object
org.jetbrains.nativecerts.NativeTrustedCertificates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<X509Certificate>Get custom trusted certificates from the operating system.
-
Constructor Details
-
NativeTrustedCertificates
public NativeTrustedCertificates()
-
-
Method Details
-
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
-