@@ -18,8 +18,8 @@ public BusDetails(
1818 int port ,
1919 bool sslEnabled = false ,
2020 string sslServerName = "" ,
21- string sslCertPath = "" ,
22- string sslCertPassphrase = "" ,
21+ string sslCertificatePath = "" ,
22+ string sslCertificatePassphrase = "" ,
2323 SslProtocols sslProtocol = SslProtocols . Default ,
2424 bool sslAllowUntrustedServerCertificate = false )
2525 {
@@ -30,32 +30,65 @@ public BusDetails(
3030 Port = port ;
3131 SslEnabled = sslEnabled ;
3232 SslServerName = sslServerName ;
33- SslCertPath = sslCertPath ;
34- SslCertPassphrase = sslCertPassphrase ;
33+ SslCertificatePath = sslCertificatePath ;
34+ SslCertificatePassphrase = sslCertificatePassphrase ;
3535 SslProtocol = sslProtocol ;
3636 SslAllowUntrustedServerCertificate = sslAllowUntrustedServerCertificate ;
3737 }
3838
39+ /// <summary>
40+ /// Rabbit Mq user.
41+ /// </summary>
3942 public string Username { get ; set ; }
4043
44+ /// <summary>
45+ /// Rabbit Mq password for user.
46+ /// </summary>
4147 public string Password { get ; set ; }
4248
49+ /// <summary>
50+ /// Rabbit Mq server's address.
51+ /// </summary>
4352 public string Host { get ; set ; }
4453
54+ /// <summary>
55+ /// Rabbit Mq virtual host to connect to.
56+ /// </summary>
4557 public string VirtualHost { get ; set ; }
4658
59+ /// <summary>
60+ /// Rabbit Mq server's port.
61+ /// </summary>
4762 public int Port { get ; set ; }
4863
64+ /// <summary>
65+ /// To enable SSL.
66+ /// </summary>
4967 public bool SslEnabled { get ; set ; }
5068
69+ /// <summary>
70+ /// Server's Common Name. It's indicated in the CN field of the server's certificate.
71+ /// </summary>
5172 public string SslServerName { get ; set ; }
5273
53- public string SslCertPath { get ; set ; }
74+ /// <summary>
75+ /// Path to the client's certificate.
76+ /// </summary>
77+ public string SslCertificatePath { get ; set ; }
5478
55- public string SslCertPassphrase { get ; set ; }
79+ /// <summary>
80+ /// Passphrase for the client's certificate if it has one.
81+ /// </summary>
82+ public string SslCertificatePassphrase { get ; set ; }
5683
84+ /// <summary>
85+ /// SSL protocol to use.
86+ /// </summary>
5787 public SslProtocols SslProtocol { get ; set ; }
5888
89+ /// <summary>
90+ /// To accept untrusted (e.g self-signed) server certificates. Only use this in Dev environment.
91+ /// </summary>
5992 public bool SslAllowUntrustedServerCertificate { get ; set ; }
6093
6194 public BusDetails Clone ( )
@@ -68,8 +101,8 @@ public BusDetails Clone()
68101 Port ,
69102 SslEnabled ,
70103 SslServerName ,
71- SslCertPath ,
72- SslCertPassphrase ,
104+ SslCertificatePath ,
105+ SslCertificatePassphrase ,
73106 SslProtocol ,
74107 SslAllowUntrustedServerCertificate ) ;
75108 }
0 commit comments