public void setTlsClientParameters(TLSClientParameters params) {
        this.tlsClientParameters = params;
        if (this.tlsClientParameters != null) {
            if (LOG.isLoggable(Level.FINE)) {
                LOG.log(Level.FINE, "Conduit '" + getConduitName()
                    + "' has been (re) configured for TLS "
                    + "keyManagers " + Arrays.toString(tlsClientParameters.getKeyManagers())
                    + "trustManagers " + Arrays.toString(tlsClientParameters.getTrustManagers())
                    + "secureRandom " + tlsClientParameters.getSecureRandom());
            }
            CertificateConstraintsType constraints = params.getCertConstraints();
            if (constraints != null) {
                certConstraints = CertConstraintsJaxBUtils.createCertConstraints(constraints);
            }
        } else {
            if (LOG.isLoggable(Level.FINE)) {
                LOG.log(Level.FINE, "Conduit '" + getConduitName()
                    + "' has been (re)configured for plain http.");
            }
        }
    }
public void setTlsClientParameters ( TLSClientParameters params ) { this . tlsClientParameters = params ; if ( this . tlsClientParameters != null ) { if ( LOG . isLoggable ( Level . FINE ) ) { LOG . log ( Level . FINE , "Conduit '" + getConduitName ( ) + "' has been (re) configured for TLS " + "keyManagers " + Arrays . toString ( tlsClientParameters . getKeyManagers ( ) ) + "trustManagers " + Arrays . toString ( tlsClientParameters . getTrustManagers ( ) ) + "secureRandom " + tlsClientParameters . getSecureRandom ( ) ) ; } CertificateConstraintsType constraints = params . getCertConstraints ( ) ; if ( constraints != null ) { certConstraints = CertConstraintsJaxBUtils . createCertConstraints ( constraints ) ; } } else { if ( LOG . isLoggable ( Level . FINE ) ) { LOG . log ( Level . FINE , "Conduit '" + getConduitName ( ) + "' has been (re)configured for plain http." ) ; } } }
This method sets the TLS Client Parameters for this HTTPConduit.
Using this method overrides any TLS Client Parameters that is configured
for this HTTPConduit.