DatabaseClientFactory.SecurityContextCertificateAuthContext (String certFile, String certPassword, X509TrustManager trustManager)CertificateAuthContext (String certFile, String certPassword, X509TrustManager trustManager, String sslProtocol)CertificateAuthContext (String certFile, X509TrustManager trustManager)CertificateAuthContext (String certFile, X509TrustManager trustManager, String sslProtocol)CertificateAuthContext (SSLContext context, DatabaseClientFactory.SSLHostnameVerifier verifier,
X509TrustManager trustManager)CertificateAuthContext (SSLContext context, X509TrustManager trustManager)voidwithSSLContext (SSLContext context, X509TrustManager trustManager)context - the SSLContext with which we initialize
the CertificateAuthContexttrustManager - the X509TrustManager object which
is responsible for deciding if a credential should be trusted or
not.context - the SSLContext with which we initialize
the CertificateAuthContextverifier - a callback for checking host namestrustManager - the X509TrustManager object which
is responsible for deciding if a credential should be trusted or
not.certFile - the p12 file which contains the
client's private key and the client's certificate chaintrustManager - the X509TrustManager object which
is responsible for deciding if a credential should be trusted or
not.CertificateException - if any of the
certificates in the certFile cannot be loadedUnrecoverableKeyException - if the
certFile has an export passwordKeyManagementException - if initializing
the SSLContext with the KeyManager failsIOException - if there is an I/O or
format problem with the keystore data, if a password is required
but not given, or if the given password was incorrect or if the
certFile path is invalid or if the file is not found If the error
is due to a wrong password, the cause of the IOException should be
an UnrecoverableKeyException.certFile - the p12 file which contains the
client's private key and the client's certificate chaintrustManager - the X509TrustManager object which
is responsible for deciding if a credential should be trusted or
not.sslProtocol - the version of the SSL protocol to
use.CertificateException - if any of the
certificates in the certFile cannot be loadedUnrecoverableKeyException - if the
certFile has an export passwordKeyManagementException - if initializing
the SSLContext with the KeyManager failsIOException - if there is an I/O or
format problem with the keystore data, if a password is required
but not given, or if the given password was incorrect or if the
certFile path is invalid or if the file is not found If the error
is due to a wrong password, the cause of the IOException should be
an UnrecoverableKeyException.certFile - the p12 file which contains the
client's private key and the client's certificate chaintrustManager - the X509TrustManager object which
is responsible for deciding if a credential should be trusted or
not.certPassword - the export password of the p12
fileCertificateException - if any of the
certificates in the certFile cannot be loadedUnrecoverableKeyException - if the
certFile has an export passwordKeyManagementException - if initializing
the SSLContext with the KeyManager failsIOException - if there is an I/O or
format problem with the keystore data, if a password is required
but not given, or if the given password was incorrect or if the
certFile path is invalid or if the file is not found If the error
is due to a wrong password, the cause of the IOException should be
an UnrecoverableKeyException.certFile - the p12 file which contains the
client's private key and the client's certificate chaintrustManager - the X509TrustManager object which
is responsible for deciding if a credential should be trusted or
not.certPassword - the export password of the p12
filesslProtocol - the version of the SSL protocol to
use.CertificateException - if any of the
certificates in the certFile cannot be loadedUnrecoverableKeyException - if the
certFile has an export passwordKeyManagementException - if initializing
the SSLContext with the KeyManager failsIOException - if there is an I/O or
format problem with the keystore data, if a password is required
but not given, or if the given password was incorrect or if the
certFile path is invalid or if the file is not found If the error
is due to a wrong password, the cause of the IOException should be
an UnrecoverableKeyException.DatabaseClientFactory.SecurityContext
withSSLHostnameVerifier in
interface DatabaseClientFactory.SecurityContextverifier - the host verifierDatabaseClientFactory.SecurityContextgetSSLContext in
interface DatabaseClientFactory.SecurityContext
getSSLHostnameVerifier in
interface DatabaseClientFactory.SecurityContextDatabaseClientFactory.SecurityContext
setSSLHostnameVerifier in
interface DatabaseClientFactory.SecurityContextverifier - the host verifiergetTrustManager in
interface DatabaseClientFactory.SecurityContextDatabaseClientFactory.SecurityContext
withSSLContext in interface DatabaseClientFactory.SecurityContextcontext - - the SSLContext object required for the
SSL connectiontrustManager - - X509TrustManager with which we
initialize the SSLContextCopyright (c) 2010-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.