58 <h3>Methods</h3> |
58 <h3>Methods</h3> |
59 <table> |
59 <table> |
60 <tr> |
60 <tr> |
61 <td><a href="#SslInfoDialog.__init__">SslInfoDialog</a></td> |
61 <td><a href="#SslInfoDialog.__init__">SslInfoDialog</a></td> |
62 <td>Constructor</td> |
62 <td>Constructor</td> |
63 </tr><tr> |
|
64 <td><a href="#SslInfoDialog.__certificateString">__certificateString</a></td> |
|
65 <td>Private method to prepare some text for display.</td> |
|
66 </tr><tr> |
|
67 <td><a href="#SslInfoDialog.__formatHexString">__formatHexString</a></td> |
|
68 <td>Private method to format a hex string for display.</td> |
|
69 </tr><tr> |
|
70 <td><a href="#SslInfoDialog.__hasExpired">__hasExpired</a></td> |
|
71 <td>Private method to check for a certificate expiration.</td> |
|
72 </tr><tr> |
|
73 <td><a href="#SslInfoDialog.__serialNumber">__serialNumber</a></td> |
|
74 <td>Private slot to format the certificate serial number.</td> |
|
75 </tr> |
63 </tr> |
76 </table> |
64 </table> |
77 <h3>Static Methods</h3> |
65 <h3>Static Methods</h3> |
78 <table> |
66 <table> |
79 <tr><td>None</td></tr> |
67 <tr><td>None</td></tr> |
89 reference to the SSL certificate (QSslCertificate) |
77 reference to the SSL certificate (QSslCertificate) |
90 </dd><dt><i>parent</i></dt> |
78 </dd><dt><i>parent</i></dt> |
91 <dd> |
79 <dd> |
92 reference to the parent widget (QWidget) |
80 reference to the parent widget (QWidget) |
93 </dd> |
81 </dd> |
94 </dl><a NAME="SslInfoDialog.__certificateString" ID="SslInfoDialog.__certificateString"></a> |
|
95 <h4>SslInfoDialog.__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="SslInfoDialog.__formatHexString" ID="SslInfoDialog.__formatHexString"></a> |
|
110 <h4>SslInfoDialog.__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="SslInfoDialog.__hasExpired" ID="SslInfoDialog.__hasExpired"></a> |
|
125 <h4>SslInfoDialog.__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="SslInfoDialog.__serialNumber" ID="SslInfoDialog.__serialNumber"></a> |
|
143 <h4>SslInfoDialog.__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> |
82 </dl> |
158 <div align="right"><a href="#top">Up</a></div> |
83 <div align="right"><a href="#top">Up</a></div> |
159 <hr /> |
84 <hr /> |
160 </body></html> |
85 </body></html> |