src/net/java/sip/communicator/impl/protocol/jabber/LoginByClientCertificateStrategy.java
/**
     * Creates the SSLContext for the XMPP connection configured with a
     * customized TrustManager and a KeyManager based on the selected client
     * certificate.
     *
     * @param cs  certificate service to retrieve the
     *                            SSL context
     * @param trustManager Trust manager to use for the context
     * @return Configured and initialized SSL Context
     * @throws GeneralSecurityException
     */
Creates the SSLContext for the XMPP connection configured with a
customized TrustManager and a KeyManager based on the selected client
certificate.

@param cs  certificate service to retrieve the
SSL context
@param trustManager Trust manager to use for the context
@return Configured and initialized SSL Context
@throws GeneralSecurityException
Creates the SSLContext for the XMPP connection configured with a customized TrustManager and a KeyManager based on the selected client certificate . @param cs certificate service to retrieve the SSL context @param trustManager Trust manager to use for the context @return Configured and initialized SSL Context @throws GeneralSecurityException
public SSLContext createSslContext(CertificateService cs,
        X509ExtendedTrustManager trustManager)
        throws GeneralSecurityException
    {
        String certConfigName = accountID.getAccountPropertyString(
            ProtocolProviderFactory.CLIENT_TLS_CERTIFICATE);
        return cs.getSSLContext(certConfigName, trustManager);
    }
public SSLContext createSslContext ( CertificateService cs , X509ExtendedTrustManager trustManager ) throws GeneralSecurityException { String certConfigName = accountID . getAccountPropertyString ( ProtocolProviderFactory . CLIENT_TLS_CERTIFICATE ) ; return cs . getSSLContext ( certConfigName , trustManager ) ; }
Creates the SSLContext for the XMPP connection configured with a
 customized TrustManager and a KeyManager based on the selected client
 certificate.
Creates the SSLContext for the XMPP connection configured with a customized TrustManager and a KeyManager based on the selected client certificate .