eric6/Documentation/Source/eric6.E5Network.E5SslCertificatesInfoWidget.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.E5Network.E5SslCertificatesInfoWidget</h1> 23 <h1>eric6.E5Network.E5SslCertificatesInfoWidget</h1>
24
23 <p> 25 <p>
24 Module implementing a widget to show SSL certificate infos. 26 Module implementing a widget to show SSL certificate infos.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#E5SslCertificatesInfoWidget">E5SslCertificatesInfoWidget</a></td> 38 <td><a href="#E5SslCertificatesInfoWidget">E5SslCertificatesInfoWidget</a></td>
34 <td>Class implementing a widget to show SSL certificate infos.</td> 39 <td>Class implementing a widget to show SSL certificate infos.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
38 <table> 43
39 <tr><td>None</td></tr> 44 <table>
40 </table> 45 <tr><td>None</td></tr>
41 <hr /><hr /> 46 </table>
47 <hr />
48 <hr />
42 <a NAME="E5SslCertificatesInfoWidget" ID="E5SslCertificatesInfoWidget"></a> 49 <a NAME="E5SslCertificatesInfoWidget" ID="E5SslCertificatesInfoWidget"></a>
43 <h2>E5SslCertificatesInfoWidget</h2> 50 <h2>E5SslCertificatesInfoWidget</h2>
51
44 <p> 52 <p>
45 Class implementing a widget to show SSL certificate infos. 53 Class implementing a widget to show SSL certificate infos.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QWidget, Ui_E5SslCertificatesInfoWidget 56 QWidget, Ui_E5SslCertificatesInfoWidget
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>None</td></tr> 60 <tr><td>None</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
58 <table> 68
69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#E5SslCertificatesInfoWidget.__init__">E5SslCertificatesInfoWidget</a></td> 72 <td><a href="#E5SslCertificatesInfoWidget.__init__">E5SslCertificatesInfoWidget</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#E5SslCertificatesInfoWidget.__certificateString">__certificateString</a></td> 76 <td><a href="#E5SslCertificatesInfoWidget.__certificateString">__certificateString</a></td>
64 <td>Private method to prepare some text for display.</td> 77 <td>Private method to prepare some text for display.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#E5SslCertificatesInfoWidget.__formatHexString">__formatHexString</a></td> 80 <td><a href="#E5SslCertificatesInfoWidget.__formatHexString">__formatHexString</a></td>
67 <td>Private method to format a hex string for display.</td> 81 <td>Private method to format a hex string for display.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#E5SslCertificatesInfoWidget.__hasExpired">__hasExpired</a></td> 84 <td><a href="#E5SslCertificatesInfoWidget.__hasExpired">__hasExpired</a></td>
70 <td>Private method to check for a certificate expiration.</td> 85 <td>Private method to check for a certificate expiration.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#E5SslCertificatesInfoWidget.__serialNumber">__serialNumber</a></td> 88 <td><a href="#E5SslCertificatesInfoWidget.__serialNumber">__serialNumber</a></td>
73 <td>Private slot to format the certificate serial number.</td> 89 <td>Private slot to format the certificate serial number.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#E5SslCertificatesInfoWidget.__showCertificate">__showCertificate</a></td> 92 <td><a href="#E5SslCertificatesInfoWidget.__showCertificate">__showCertificate</a></td>
76 <td>Private method to show the SSL certificate information.</td> 93 <td>Private method to show the SSL certificate information.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#E5SslCertificatesInfoWidget.on_chainComboBox_activated">on_chainComboBox_activated</a></td> 96 <td><a href="#E5SslCertificatesInfoWidget.on_chainComboBox_activated">on_chainComboBox_activated</a></td>
79 <td>Private slot to show the certificate info for the selected entry.</td> 97 <td>Private slot to show the certificate info for the selected entry.</td>
80 </tr><tr> 98 </tr>
99 <tr>
81 <td><a href="#E5SslCertificatesInfoWidget.showCertificate">showCertificate</a></td> 100 <td><a href="#E5SslCertificatesInfoWidget.showCertificate">showCertificate</a></td>
82 <td>Public method to show the SSL certificate information.</td> 101 <td>Public method to show the SSL certificate information.</td>
83 </tr><tr> 102 </tr>
103 <tr>
84 <td><a href="#E5SslCertificatesInfoWidget.showCertificateChain">showCertificateChain</a></td> 104 <td><a href="#E5SslCertificatesInfoWidget.showCertificateChain">showCertificateChain</a></td>
85 <td>Public method to show the SSL certificates of a certificate chain.</td> 105 <td>Public method to show the SSL certificates of a certificate chain.</td>
86 </tr> 106 </tr>
87 </table> 107 </table>
88 <h3>Static Methods</h3> 108 <h3>Static Methods</h3>
89 <table> 109
90 <tr><td>None</td></tr> 110 <table>
91 </table> 111 <tr><td>None</td></tr>
112 </table>
113
92 <a NAME="E5SslCertificatesInfoWidget.__init__" ID="E5SslCertificatesInfoWidget.__init__"></a> 114 <a NAME="E5SslCertificatesInfoWidget.__init__" ID="E5SslCertificatesInfoWidget.__init__"></a>
93 <h4>E5SslCertificatesInfoWidget (Constructor)</h4> 115 <h4>E5SslCertificatesInfoWidget (Constructor)</h4>
94 <b>E5SslCertificatesInfoWidget</b>(<i>parent=None</i>) 116 <b>E5SslCertificatesInfoWidget</b>(<i>parent=None</i>)
117
95 <p> 118 <p>
96 Constructor 119 Constructor
97 </p><dl> 120 </p>
121 <dl>
122
98 <dt><i>parent</i></dt> 123 <dt><i>parent</i></dt>
99 <dd> 124 <dd>
100 reference to the parent widget (QWidget) 125 reference to the parent widget (QWidget)
101 </dd> 126 </dd>
102 </dl><a NAME="E5SslCertificatesInfoWidget.__certificateString" ID="E5SslCertificatesInfoWidget.__certificateString"></a> 127 </dl>
128 <a NAME="E5SslCertificatesInfoWidget.__certificateString" ID="E5SslCertificatesInfoWidget.__certificateString"></a>
103 <h4>E5SslCertificatesInfoWidget.__certificateString</h4> 129 <h4>E5SslCertificatesInfoWidget.__certificateString</h4>
104 <b>__certificateString</b>(<i>txt</i>) 130 <b>__certificateString</b>(<i>txt</i>)
131
105 <p> 132 <p>
106 Private method to prepare some text for display. 133 Private method to prepare some text for display.
107 </p><dl> 134 </p>
135 <dl>
136
108 <dt><i>txt</i></dt> 137 <dt><i>txt</i></dt>
109 <dd> 138 <dd>
110 text to be displayed (string) 139 text to be displayed (string)
111 </dd> 140 </dd>
112 </dl><dl> 141 </dl>
142 <dl>
113 <dt>Returns:</dt> 143 <dt>Returns:</dt>
114 <dd> 144 <dd>
115 prepared text (string) 145 prepared text (string)
116 </dd> 146 </dd>
117 </dl><a NAME="E5SslCertificatesInfoWidget.__formatHexString" ID="E5SslCertificatesInfoWidget.__formatHexString"></a> 147 </dl>
148 <a NAME="E5SslCertificatesInfoWidget.__formatHexString" ID="E5SslCertificatesInfoWidget.__formatHexString"></a>
118 <h4>E5SslCertificatesInfoWidget.__formatHexString</h4> 149 <h4>E5SslCertificatesInfoWidget.__formatHexString</h4>
119 <b>__formatHexString</b>(<i>hexString</i>) 150 <b>__formatHexString</b>(<i>hexString</i>)
151
120 <p> 152 <p>
121 Private method to format a hex string for display. 153 Private method to format a hex string for display.
122 </p><dl> 154 </p>
155 <dl>
156
123 <dt><i>hexString</i></dt> 157 <dt><i>hexString</i></dt>
124 <dd> 158 <dd>
125 hex string to be formatted (string) 159 hex string to be formatted (string)
126 </dd> 160 </dd>
127 </dl><dl> 161 </dl>
162 <dl>
128 <dt>Returns:</dt> 163 <dt>Returns:</dt>
129 <dd> 164 <dd>
130 formatted string (string) 165 formatted string (string)
131 </dd> 166 </dd>
132 </dl><a NAME="E5SslCertificatesInfoWidget.__hasExpired" ID="E5SslCertificatesInfoWidget.__hasExpired"></a> 167 </dl>
168 <a NAME="E5SslCertificatesInfoWidget.__hasExpired" ID="E5SslCertificatesInfoWidget.__hasExpired"></a>
133 <h4>E5SslCertificatesInfoWidget.__hasExpired</h4> 169 <h4>E5SslCertificatesInfoWidget.__hasExpired</h4>
134 <b>__hasExpired</b>(<i>effectiveDate, expiryDate</i>) 170 <b>__hasExpired</b>(<i>effectiveDate, expiryDate</i>)
171
135 <p> 172 <p>
136 Private method to check for a certificate expiration. 173 Private method to check for a certificate expiration.
137 </p><dl> 174 </p>
175 <dl>
176
138 <dt><i>effectiveDate</i></dt> 177 <dt><i>effectiveDate</i></dt>
139 <dd> 178 <dd>
140 date the certificate becomes effective (QDateTime) 179 date the certificate becomes effective (QDateTime)
141 </dd><dt><i>expiryDate</i></dt> 180 </dd>
181 <dt><i>expiryDate</i></dt>
142 <dd> 182 <dd>
143 date the certificate expires (QDateTime) 183 date the certificate expires (QDateTime)
144 </dd> 184 </dd>
145 </dl><dl> 185 </dl>
186 <dl>
146 <dt>Returns:</dt> 187 <dt>Returns:</dt>
147 <dd> 188 <dd>
148 flag indicating the expiration status (boolean) 189 flag indicating the expiration status (boolean)
149 </dd> 190 </dd>
150 </dl><a NAME="E5SslCertificatesInfoWidget.__serialNumber" ID="E5SslCertificatesInfoWidget.__serialNumber"></a> 191 </dl>
192 <a NAME="E5SslCertificatesInfoWidget.__serialNumber" ID="E5SslCertificatesInfoWidget.__serialNumber"></a>
151 <h4>E5SslCertificatesInfoWidget.__serialNumber</h4> 193 <h4>E5SslCertificatesInfoWidget.__serialNumber</h4>
152 <b>__serialNumber</b>(<i>cert</i>) 194 <b>__serialNumber</b>(<i>cert</i>)
195
153 <p> 196 <p>
154 Private slot to format the certificate serial number. 197 Private slot to format the certificate serial number.
155 </p><dl> 198 </p>
199 <dl>
200
156 <dt><i>cert</i></dt> 201 <dt><i>cert</i></dt>
157 <dd> 202 <dd>
158 reference to the SSL certificate (QSslCertificate) 203 reference to the SSL certificate (QSslCertificate)
159 </dd> 204 </dd>
160 </dl><dl> 205 </dl>
206 <dl>
161 <dt>Returns:</dt> 207 <dt>Returns:</dt>
162 <dd> 208 <dd>
163 formated serial number (string) 209 formated serial number (string)
164 </dd> 210 </dd>
165 </dl><a NAME="E5SslCertificatesInfoWidget.__showCertificate" ID="E5SslCertificatesInfoWidget.__showCertificate"></a> 211 </dl>
212 <a NAME="E5SslCertificatesInfoWidget.__showCertificate" ID="E5SslCertificatesInfoWidget.__showCertificate"></a>
166 <h4>E5SslCertificatesInfoWidget.__showCertificate</h4> 213 <h4>E5SslCertificatesInfoWidget.__showCertificate</h4>
167 <b>__showCertificate</b>(<i>certificate</i>) 214 <b>__showCertificate</b>(<i>certificate</i>)
215
168 <p> 216 <p>
169 Private method to show the SSL certificate information. 217 Private method to show the SSL certificate information.
170 </p><dl> 218 </p>
219 <dl>
220
171 <dt><i>certificate</i></dt> 221 <dt><i>certificate</i></dt>
172 <dd> 222 <dd>
173 reference to the SSL certificate (QSslCertificate) 223 reference to the SSL certificate (QSslCertificate)
174 </dd> 224 </dd>
175 </dl><a NAME="E5SslCertificatesInfoWidget.on_chainComboBox_activated" ID="E5SslCertificatesInfoWidget.on_chainComboBox_activated"></a> 225 </dl>
226 <a NAME="E5SslCertificatesInfoWidget.on_chainComboBox_activated" ID="E5SslCertificatesInfoWidget.on_chainComboBox_activated"></a>
176 <h4>E5SslCertificatesInfoWidget.on_chainComboBox_activated</h4> 227 <h4>E5SslCertificatesInfoWidget.on_chainComboBox_activated</h4>
177 <b>on_chainComboBox_activated</b>(<i>index</i>) 228 <b>on_chainComboBox_activated</b>(<i>index</i>)
229
178 <p> 230 <p>
179 Private slot to show the certificate info for the selected entry. 231 Private slot to show the certificate info for the selected entry.
180 </p><dl> 232 </p>
233 <dl>
234
181 <dt><i>index</i></dt> 235 <dt><i>index</i></dt>
182 <dd> 236 <dd>
183 number of the certificate in the certificate chain 237 number of the certificate in the certificate chain
184 (integer) 238 (integer)
185 </dd> 239 </dd>
186 </dl><a NAME="E5SslCertificatesInfoWidget.showCertificate" ID="E5SslCertificatesInfoWidget.showCertificate"></a> 240 </dl>
241 <a NAME="E5SslCertificatesInfoWidget.showCertificate" ID="E5SslCertificatesInfoWidget.showCertificate"></a>
187 <h4>E5SslCertificatesInfoWidget.showCertificate</h4> 242 <h4>E5SslCertificatesInfoWidget.showCertificate</h4>
188 <b>showCertificate</b>(<i>certificate</i>) 243 <b>showCertificate</b>(<i>certificate</i>)
244
189 <p> 245 <p>
190 Public method to show the SSL certificate information. 246 Public method to show the SSL certificate information.
191 </p><dl> 247 </p>
248 <dl>
249
192 <dt><i>certificate</i></dt> 250 <dt><i>certificate</i></dt>
193 <dd> 251 <dd>
194 reference to the SSL certificate (QSslCertificate) 252 reference to the SSL certificate (QSslCertificate)
195 </dd> 253 </dd>
196 </dl><a NAME="E5SslCertificatesInfoWidget.showCertificateChain" ID="E5SslCertificatesInfoWidget.showCertificateChain"></a> 254 </dl>
255 <a NAME="E5SslCertificatesInfoWidget.showCertificateChain" ID="E5SslCertificatesInfoWidget.showCertificateChain"></a>
197 <h4>E5SslCertificatesInfoWidget.showCertificateChain</h4> 256 <h4>E5SslCertificatesInfoWidget.showCertificateChain</h4>
198 <b>showCertificateChain</b>(<i>certificateChain</i>) 257 <b>showCertificateChain</b>(<i>certificateChain</i>)
258
199 <p> 259 <p>
200 Public method to show the SSL certificates of a certificate chain. 260 Public method to show the SSL certificates of a certificate chain.
201 </p><dl> 261 </p>
262 <dl>
263
202 <dt><i>certificateChain</i></dt> 264 <dt><i>certificateChain</i></dt>
203 <dd> 265 <dd>
204 list od SSL certificates 266 list od SSL certificates
205 (list of QSslCertificate) 267 (list of QSslCertificate)
206 </dd> 268 </dd>

eric ide

mercurial