java.lang.Object
org.jetbrains.nativecerts.mac.SecurityFrameworkUtil
Get trusted certificates stored in corresponding keychains via Security frameworks APIs.
for the other implementations, see root_cgo_darwin.go in Go and trust_store_mac.cc in Chromium
In the future it would be better to implement
In the future it would be better to implement
X509TrustManager on SecTrustEvaluateWithError instead
of getting the trust chain manually. It's not yet investigated whether it is possible at all to integrate it into
the SSL framework of JVM.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic List<X509Certificate>Get trusted roots backed into macOS (system domain)static @NotNull List<X509Certificate>getTrustedCertificates(boolean systemDomain) static List<X509Certificate>Get trusted roots installed on admin and user level (domain)static booleanisTrustedRoot(SecurityFramework.SecCertificateRef certificateRef)
-
Field Details
-
SERVER_POLICY_PROPERTY
- See Also:
-
-
Method Details
-
getTrustedRoots
Get trusted roots installed on admin and user level (domain) -
getSystemTrustedRoots
Get trusted roots backed into macOS (system domain) -
getTrustedCertificates
-
isTrustedRoot
-