Documentation/Source/eric5.Helpviewer.SslInfoWidget.html

changeset 1427
09d6731b73ad
child 2374
f78ee0e8f96c
equal deleted inserted replaced
1425:dedba69cb847 1427:09d6731b73ad
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric5.Helpviewer.SslInfoWidget</title>
6 <style>
7 body {
8 background: #EDECE6;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #85774A; }
14 h2 { color: white; background: #85774A; }
15 h3 { color: white; background: #9D936E; }
16 h4 { color: white; background: #9D936E; }
17
18 a { color: #BA6D36; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Helpviewer.SslInfoWidget</h1>
24 <p>
25 Module implementing a widget to show SSL certificate infos.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#SslInfoWidget">SslInfoWidget</a></td>
35 <td>Class implementing a widget to show SSL certificate infos.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="SslInfoWidget" ID="SslInfoWidget"></a>
44 <h2>SslInfoWidget</h2>
45 <p>
46 Class implementing a widget to show SSL certificate infos.
47 </p>
48 <h3>Derived from</h3>
49 QWidget, Ui_SslInfoWidget
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>None</td></tr>
53 </table>
54 <h3>Class Methods</h3>
55 <table>
56 <tr><td>None</td></tr>
57 </table>
58 <h3>Methods</h3>
59 <table>
60 <tr>
61 <td><a href="#SslInfoWidget.__init__">SslInfoWidget</a></td>
62 <td>Constructor</td>
63 </tr><tr>
64 <td><a href="#SslInfoWidget.__certificateString">__certificateString</a></td>
65 <td>Private method to prepare some text for display.</td>
66 </tr><tr>
67 <td><a href="#SslInfoWidget.__formatHexString">__formatHexString</a></td>
68 <td>Private method to format a hex string for display.</td>
69 </tr><tr>
70 <td><a href="#SslInfoWidget.__hasExpired">__hasExpired</a></td>
71 <td>Private method to check for a certificate expiration.</td>
72 </tr><tr>
73 <td><a href="#SslInfoWidget.__serialNumber">__serialNumber</a></td>
74 <td>Private slot to format the certificate serial number.</td>
75 </tr><tr>
76 <td><a href="#SslInfoWidget.showCertificate">showCertificate</a></td>
77 <td>Public method to show the SSL certificate information.</td>
78 </tr>
79 </table>
80 <h3>Static Methods</h3>
81 <table>
82 <tr><td>None</td></tr>
83 </table>
84 <a NAME="SslInfoWidget.__init__" ID="SslInfoWidget.__init__"></a>
85 <h4>SslInfoWidget (Constructor)</h4>
86 <b>SslInfoWidget</b>(<i>parent=None</i>)
87 <p>
88 Constructor
89 </p><dl>
90 <dt><i>parent</i></dt>
91 <dd>
92 reference to the parent widget (QWidget)
93 </dd>
94 </dl><a NAME="SslInfoWidget.__certificateString" ID="SslInfoWidget.__certificateString"></a>
95 <h4>SslInfoWidget.__certificateString</h4>
96 <b>__certificateString</b>(<i>txt</i>)
97 <p>
98 Private method to prepare some text for display.
99 </p><dl>
100 <dt><i>txt</i></dt>
101 <dd>
102 text to be displayed (string)
103 </dd>
104 </dl><dl>
105 <dt>Returns:</dt>
106 <dd>
107 prepared text (string)
108 </dd>
109 </dl><a NAME="SslInfoWidget.__formatHexString" ID="SslInfoWidget.__formatHexString"></a>
110 <h4>SslInfoWidget.__formatHexString</h4>
111 <b>__formatHexString</b>(<i>hexString</i>)
112 <p>
113 Private method to format a hex string for display.
114 </p><dl>
115 <dt><i>hexString</i></dt>
116 <dd>
117 hex string to be formatted (string)
118 </dd>
119 </dl><dl>
120 <dt>Returns:</dt>
121 <dd>
122 formatted string (string)
123 </dd>
124 </dl><a NAME="SslInfoWidget.__hasExpired" ID="SslInfoWidget.__hasExpired"></a>
125 <h4>SslInfoWidget.__hasExpired</h4>
126 <b>__hasExpired</b>(<i>effectiveDate, expiryDate</i>)
127 <p>
128 Private method to check for a certificate expiration.
129 </p><dl>
130 <dt><i>effectiveDate</i></dt>
131 <dd>
132 date the certificate becomes effective (QDateTime)
133 </dd><dt><i>expiryDate</i></dt>
134 <dd>
135 date the certificate expires (QDateTime)
136 </dd>
137 </dl><dl>
138 <dt>Returns:</dt>
139 <dd>
140 flag indicating the expiration status (boolean)
141 </dd>
142 </dl><a NAME="SslInfoWidget.__serialNumber" ID="SslInfoWidget.__serialNumber"></a>
143 <h4>SslInfoWidget.__serialNumber</h4>
144 <b>__serialNumber</b>(<i>cert</i>)
145 <p>
146 Private slot to format the certificate serial number.
147 </p><dl>
148 <dt><i>cert</i></dt>
149 <dd>
150 reference to the SSL certificate (QSslCertificate)
151 </dd>
152 </dl><dl>
153 <dt>Returns:</dt>
154 <dd>
155 formated serial number (string)
156 </dd>
157 </dl><a NAME="SslInfoWidget.showCertificate" ID="SslInfoWidget.showCertificate"></a>
158 <h4>SslInfoWidget.showCertificate</h4>
159 <b>showCertificate</b>(<i>certificate</i>)
160 <p>
161 Public method to show the SSL certificate information.
162 </p><dl>
163 <dt><i>certificate</i></dt>
164 <dd>
165 reference to the SSL certificate (QSslCertificate)
166 </dd>
167 </dl>
168 <div align="right"><a href="#top">Up</a></div>
169 <hr />
170 </body></html>

eric ide

mercurial