Package ca.uhn.fhir.rest.client.tls
Class TlsAuthenticationSvc
java.lang.Object
ca.uhn.fhir.rest.client.tls.TlsAuthenticationSvc
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HostnameVerifier
createHostnameVerifier
(Optional<ca.uhn.fhir.tls.TrustStoreInfo> theTrustStoreInfo) static KeyStore
createKeyStore
(ca.uhn.fhir.tls.BaseStoreInfo theStoreInfo) static SSLContext
createSslContext
(ca.uhn.fhir.tls.TlsAuthentication theTlsAuthentication) static X509TrustManager
createTrustManager
(Optional<ca.uhn.fhir.tls.TrustStoreInfo> theTrustStoreInfo) static void
validateKeyStoreExists
(InputStream theInputStream)
-
Method Details
-
createSslContext
public static SSLContext createSslContext(@Nonnull ca.uhn.fhir.tls.TlsAuthentication theTlsAuthentication) -
createKeyStore
-
validateKeyStoreExists
-
createTrustManager
public static X509TrustManager createTrustManager(Optional<ca.uhn.fhir.tls.TrustStoreInfo> theTrustStoreInfo) -
createHostnameVerifier
public static HostnameVerifier createHostnameVerifier(Optional<ca.uhn.fhir.tls.TrustStoreInfo> theTrustStoreInfo)
-