
Package ca.uhn.fhir.rest.client.tls
Class TlsAuthenticationSvc
java.lang.Object
ca.uhn.fhir.rest.client.tls.TlsAuthenticationSvc
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic HostnameVerifiercreateHostnameVerifier(Optional<ca.uhn.fhir.tls.TrustStoreInfo> theTrustStoreInfo) static KeyStorecreateKeyStore(ca.uhn.fhir.tls.BaseStoreInfo theStoreInfo) static SSLContextcreateSslContext(ca.uhn.fhir.tls.TlsAuthentication theTlsAuthentication) static X509TrustManagercreateTrustManager(Optional<ca.uhn.fhir.tls.TrustStoreInfo> theTrustStoreInfo) static voidvalidateKeyStoreExists(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)
-