Documentation/Source/eric5.E5Network.E5SslInfoWidget.html

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

eric ide

mercurial