protected override void CopyBuilder(Amqp.ConnectionFactory copy)
        {
            base.CopyBuilder(copy);

            copy.SSL.Protocols = connectionBuilder.SSL.Protocols;
            copy.SSL.CheckCertificateRevocation = connectionBuilder.SSL.CheckCertificateRevocation;

            if (connectionBuilder.SSL.ClientCertificates != null)
            {
                copy.SSL.ClientCertificates = new X509CertificateCollection(connectionBuilder.SSL.ClientCertificates);
            }
        }
Example #2
0
 internal TransportContext(ConnectionFactory connectionFactory)
 {
     factory           = connectionFactory;
     connectionBuilder = factory.Factory as Amqp.ConnectionFactory;
     connectionBuilder.SASL.Profile = Amqp.Sasl.SaslProfile.Anonymous;
 }